version 1.2, 2001/12/13 14:53:49
|
version 1.3, 2001/12/24 02:23:02
|
|
|
/** | /** |
This class keeps the authentication information of a connection | This class keeps the authentication information of a connection |
persistent until the connection is destroyed. | persistent until the connection is destroyed. |
*/ |
|
| |
|
REVIEW: how is this information tied to the connection? |
|
|
|
REVIEW: may not be general enough for implementing other authentication |
|
schemes. |
|
|
|
REVIEW: need explanation of how this class works. |
|
*/ |
class PEGASUS_COMMON_LINKAGE AuthenticationInfo | class PEGASUS_COMMON_LINKAGE AuthenticationInfo |
{ | { |
public: | public: |
|
|
*/ | */ |
Uint32 getAuthStatus() const { return _authStatus; } | Uint32 getAuthStatus() const { return _authStatus; } |
| |
|
// REVIEW: use Status type instead of Uint32. |
|
|
/** | /** |
Set the authentication status of the request | Set the authentication status of the request |
*/ | */ |
void setAuthStatus(Uint32 status); | void setAuthStatus(Uint32 status); |
| |
|
// REVIEW: comments which just parrot the name of the method are not |
|
// useful and should be removed. |
|
|
/** | /** |
Get the authenticated user name | Get the authenticated user name |
*/ | */ |
|
|
| |
private: | private: |
| |
|
// REVIEW: use Status type instead of Uint32. |
|
|
Uint32 _authStatus; | Uint32 _authStatus; |
| |
String _authUser; | String _authUser; |
|
|
String _authSecret; | String _authSecret; |
| |
Boolean _privileged; | Boolean _privileged; |
|
|
}; | }; |
| |
PEGASUS_NAMESPACE_END | PEGASUS_NAMESPACE_END |