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