00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014 #ifndef TAO_SL2_QOP_POLICY_H
00015 #define TAO_SL2_QOP_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 class QOPPolicy
00052 : public virtual SecurityLevel2::QOPPolicy,
00053 public virtual TAO_Local_RefCounted_Object
00054 {
00055 public:
00056
00057
00058 QOPPolicy (::Security::QOP qop);
00059
00060
00061
00062
00063
00064 virtual CORBA::PolicyType policy_type (void);
00065
00066 virtual CORBA::Policy_ptr copy (void);
00067
00068 virtual void destroy (void);
00069
00070
00071
00072
00073 virtual ::Security::QOP qop (void);
00074
00075 protected:
00076
00077
00078
00079
00080
00081
00082 ~QOPPolicy (void);
00083
00084 private:
00085
00086
00087
00088 ::Security::QOP const qop_;
00089
00090 };
00091
00092 }
00093 }
00094
00095 TAO_END_VERSIONED_NAMESPACE_DECL
00096
00097 #include "ace/post.h"
00098
00099 #endif