00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #ifndef COH_DEFAULT_IDENTITY_TRANSFORMER_HPP
00017 #define COH_DEFAULT_IDENTITY_TRANSFORMER_HPP
00018
00019 #include "coherence/lang.ns"
00020
00021 #include "coherence/net/Service.hpp"
00022 #include "coherence/security/auth/Subject.hpp"
00023 #include "coherence/security/IdentityTransformer.hpp"
00024
00025 COH_OPEN_NAMESPACE2(coherence,security)
00026
00027 using coherence::security::auth::Subject;
00028 using coherence::net::Service;
00029
00030
00031
00032
00033
00034
00035
00036
00037 class DefaultIdentityTransformer
00038 : public class_spec<DefaultIdentityTransformer,
00039 extends<Object>,
00040 implements<IdentityTransformer> >
00041 {
00042 friend class factory<DefaultIdentityTransformer>;
00043
00044
00045
00046 public:
00047
00048
00049
00050 virtual Object::View transformIdentity(Subject::View vSubject,
00051 Service::View vService) const;
00052
00053
00054
00055
00056 public:
00057
00058
00059
00060 static DefaultIdentityTransformer::Handle getInstance();
00061 };
00062
00063 COH_CLOSE_NAMESPACE2
00064
00065 #endif // COH_DEFAULT_IDENTITY_TRANSFORMER_HPP