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