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