00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014 #ifndef TAO_SL3_OBJECT_CREDENTIALS_POLICY_H
00015 #define TAO_SL3_OBJECT_CREDENTIALS_POLICY_H
00016
00017 #include "ace/pre.h"
00018 #include "orbsvcs/Security/security_export.h"
00019
00020 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00021 # pragma once
00022 #endif
00023
00024 #include "orbsvcs/SecurityLevel3C.h"
00025
00026 #include "tao/LocalObject.h"
00027
00028 #if defined(_MSC_VER)
00029 #pragma warning(push)
00030 #pragma warning(disable:4250)
00031 #endif
00032
00033
00034 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00035
00036 namespace TAO
00037 {
00038 namespace SL3
00039 {
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051 class ObjectCredentialsPolicy
00052 : public virtual SecurityLevel3::ObjectCredentialsPolicy,
00053 public virtual TAO_Local_RefCounted_Object
00054 {
00055 public:
00056
00057
00058 ObjectCredentialsPolicy (
00059 const SecurityLevel3::OwnCredentialsList & creds);
00060
00061
00062
00063
00064
00065
00066
00067
00068 virtual SecurityLevel3::OwnCredentialsList * creds_list ();
00069
00070 virtual CORBA::PolicyType policy_type (void);
00071
00072 virtual CORBA::Policy_ptr copy (void);
00073
00074 virtual void destroy (void);
00075
00076
00077 protected:
00078
00079
00080
00081
00082
00083
00084 ~ObjectCredentialsPolicy (void);
00085
00086 private:
00087
00088
00089 SecurityLevel3::OwnCredentialsList creds_list_;
00090
00091 };
00092
00093 }
00094
00095 }
00096
00097 TAO_END_VERSIONED_NAMESPACE_DECL
00098
00099 #if defined(_MSC_VER)
00100 #pragma warning(pop)
00101 #endif
00102
00103 #include "ace/post.h"
00104
00105 #endif