00001
00002
00003
00004
00005
00006
00007 #ifndef COH_SUBJECT_HPP
00008 #define COH_SUBJECT_HPP
00009
00010 #include "coherence/lang.ns"
00011
00012 #include "coherence/util/Set.hpp"
00013 #include "coherence/security/RunAsBlock.hpp"
00014 #include "coherence/security/Principal.hpp"
00015
00016 COH_OPEN_NAMESPACE3(coherence,security,auth)
00017
00018 using coherence::util::Set;
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028 class COH_EXPORT Subject
00029 : public interface_spec<Subject>
00030 {
00031
00032
00033 public:
00034
00035
00036
00037
00038
00039 virtual Set::View getPrincipals() const = 0;
00040 };
00041
00042 COH_CLOSE_NAMESPACE3
00043
00044 #endif // COH_SUBJECT_HPP