version 1.3.12.2, 2003/08/14 11:55:42
|
version 1.4, 2003/08/02 18:51:46
|
|
|
// | // |
// Author: Nag Boranna, Hewlett-Packard Company(nagaraja_boranna@hp.com) | // Author: Nag Boranna, Hewlett-Packard Company(nagaraja_boranna@hp.com) |
// | // |
// Modified By: Jair Santos, Hewlett-Packard Company(jair.santos@hp.com) |
// Modified By: |
// | // |
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
| |
|
|
#include <Pegasus/Common/Sharable.h> | #include <Pegasus/Common/Sharable.h> |
#include <Pegasus/Common/Linkage.h> | #include <Pegasus/Common/Linkage.h> |
| |
|
|
#ifdef PEGASUS_KERBEROS_AUTHENTICATION | #ifdef PEGASUS_KERBEROS_AUTHENTICATION |
#include <Pegasus/Common/CIMKerberosSecurityAssociation.h> |
#include "CIMKerberosSecurityAssociation.h" |
#endif | #endif |
| |
PEGASUS_NAMESPACE_BEGIN | PEGASUS_NAMESPACE_BEGIN |
|
|
| |
void setAuthenticatedUser(const String& userName); | void setAuthenticatedUser(const String& userName); |
| |
String getAuthenticatedPassword() const |
|
{ |
|
return _authPassword; |
|
} |
|
|
|
void setAuthenticatedPassword(const String& password); |
|
|
|
String getAuthChallenge() const | String getAuthChallenge() const |
{ | { |
return _authChallenge; | return _authChallenge; |
|
|
{ | { |
return _securityAssoc; | return _securityAssoc; |
} | } |
|
|
void setSecurityAssociation(); |
|
#endif | #endif |
| |
private: | private: |
|
|
AuthenticationInfoRep& operator=(const AuthenticationInfoRep& x); | AuthenticationInfoRep& operator=(const AuthenticationInfoRep& x); |
| |
String _authUser; | String _authUser; |
String _authPassword; |
|
String _authChallenge; | String _authChallenge; |
String _authSecret; | String _authSecret; |
Boolean _privileged; | Boolean _privileged; |