version 1.26, 2007/05/25 18:35:13
|
version 1.27, 2007/08/22 07:43:37
|
|
|
PEGASUS_NAMESPACE_BEGIN | PEGASUS_NAMESPACE_BEGIN |
| |
const String AuthenticationInfoRep::AUTH_TYPE_SSL = "SSL"; | const String AuthenticationInfoRep::AUTH_TYPE_SSL = "SSL"; |
|
const String AuthenticationInfoRep::AUTH_TYPE_ZOS_LOCAL_DOMIAN_SOCKET = "LDS"; |
|
const String AuthenticationInfoRep::AUTH_TYPE_ZOS_ATTLS = "ATTLS"; |
| |
AuthenticationInfoRep::AuthenticationInfoRep(Boolean flag) | AuthenticationInfoRep::AuthenticationInfoRep(Boolean flag) |
: _connectionAuthenticated(false), | : _connectionAuthenticated(false), |
|
|
PEG_METHOD_EXIT(); | PEG_METHOD_EXIT(); |
} | } |
| |
|
#ifdef PEGASUS_OS_ZOS |
|
|
|
// The connection user is for z/OS only. |
|
// On z/OS Unix Local Domain Sockets and sockets |
|
// protected by AT-TLS are able to get the user ID of |
|
// the connected user. |
|
// This information is needed for later authentication |
|
// steps. |
|
|
|
void AuthenticationInfoRep::setConnectionUser(const String& userName) |
|
{ |
|
PEG_METHOD_ENTER( |
|
TRC_AUTHENTICATION, "AuthenticationInfoRep::setConnectionUser()"); |
|
|
|
_connectionUser = userName; |
|
|
|
PEG_METHOD_EXIT(); |
|
} |
|
#endif |
|
|
void AuthenticationInfoRep::setAuthenticatedUser(const String& userName) | void AuthenticationInfoRep::setAuthenticatedUser(const String& userName) |
{ | { |
PEG_METHOD_ENTER( | PEG_METHOD_ENTER( |