#include <OW_UserInfo.hpp>
Collaboration diagram for OW_NAMESPACE::UserInfo:
Public Member Functions | |
UserInfo (const String &userName) | |
Create a new UserInfo object. | |
UserInfo (const UserInfo &arg) | |
UserInfo & | operator= (const UserInfo &arg) |
String | getUserName () const |
bool | getInternal () const |
Private Member Functions | |
UserInfo () | |
Create a new UserInfo object that access rights will not be checked on. | |
void | setInternal () |
Set this UserInfo object to internal. | |
Private Attributes | |
String | m_userName |
The user name associated with this UserInfo object. | |
bool | m_internal |
Internal flags. | |
Friends | |
class | OperationContext |
class | AccessMgr |
This is information is retreived at the time the user authenticates to the CIMOM. If an UserInfo object contains a user name, then read/write request will be verified against the access rights of that user. If an UserInfo object does NOT contain a user name and the m_internal flag is set, then access rights are not checked on read/write operations. Only select components of the CIMOM are allowed to construct this type of an UserInfo object. Invariants:
Definition at line 59 of file OW_UserInfo.hpp.
|
Create a new UserInfo object.
Definition at line 43 of file OW_UserInfo.cpp. |
|
Definition at line 46 of file OW_UserInfo.cpp. |
|
Create a new UserInfo object that access rights will not be checked on. This method is private so only friend class are allowed to create this type of UserInfo object. Definition at line 58 of file OW_UserInfo.cpp. |
|
Definition at line 61 of file OW_UserInfo.cpp. References m_internal. Referenced by OW_NAMESPACE::SimpleAuthorizer2::checkAccess(). |
|
Definition at line 56 of file OW_UserInfo.cpp. References m_userName. |
|
Definition at line 49 of file OW_UserInfo.cpp. References m_internal, and m_userName. |
|
Set this UserInfo object to internal.
Definition at line 63 of file OW_UserInfo.cpp. References m_internal. |
|
Definition at line 99 of file OW_UserInfo.hpp. |
|
Definition at line 98 of file OW_UserInfo.hpp. |
|
Internal flags. If true access rights are not checked. Definition at line 93 of file OW_UserInfo.hpp. Referenced by OW_NAMESPACE::AccessMgr::checkAccess(), getInternal(), operator=(), and setInternal(). |
|
The user name associated with this UserInfo object.
Definition at line 91 of file OW_UserInfo.hpp. Referenced by getUserName(), and operator=(). |