00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 #ifndef COH_DEFAULT_IDENTITY_ASSERTER_HPP
00017 #define COH_DEFAULT_IDENTITY_ASSERTER_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/IdentityAsserter.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 
00038 class DefaultIdentityAsserter
00039     : public class_spec<DefaultIdentityAsserter,
00040         extends<Object>,
00041         implements<IdentityAsserter> >
00042     {
00043     friend class factory<DefaultIdentityAsserter>;
00044 
00045     
00046 
00047     public:
00048 
00049 
00050 
00051         virtual Subject::View assertIdentity(Object::View vToken,
00052                 Service::View vService) const;
00053 
00054 
00055     
00056 
00057     public:
00058 
00059 
00060 
00061         static DefaultIdentityAsserter::Handle getInstance();
00062     };
00063 
00064 COH_CLOSE_NAMESPACE2
00065 
00066 #endif // COH_DEFAULT_IDENTITY_ASSERTER_HPP