version 1.27, 2006/09/29 17:38:12
|
version 1.31, 2006/11/10 18:14:57
|
|
|
return _rep->getAuthType(); | return _rep->getAuthType(); |
} | } |
| |
|
/** |
|
Set the IP address to the specified IP address |
|
@param string containing the IP address |
|
*/ |
|
void setIpAddress(const String& ipAddress) |
|
{ |
|
_checkRep(); |
|
_rep->setIpAddress(ipAddress); |
|
} |
|
|
|
/** |
|
Get the IP address of the connection |
|
|
|
NOTE: The IP address is for debug use only. |
|
It should not be used for authentication purposes. |
|
|
|
@return string containing the IP address |
|
*/ |
|
String getIpAddress() const |
|
{ |
|
_checkRep(); |
|
return _rep->getIpAddress(); |
|
} |
|
|
|
|
#ifdef PEGASUS_KERBEROS_AUTHENTICATION | #ifdef PEGASUS_KERBEROS_AUTHENTICATION |
/** Get the CIM Security Association | /** Get the CIM Security Association |
@return a pointer to the CIM Security Association | @return a pointer to the CIM Security Association |
|
|
} | } |
#endif | #endif |
| |
//PEP187 |
|
Array<SSLCertificateInfo*> getClientCertificateChain() | Array<SSLCertificateInfo*> getClientCertificateChain() |
{ | { |
_checkRep(); | _checkRep(); |
return _rep->getClientCertificateChain(); | return _rep->getClientCertificateChain(); |
} | } |
| |
//PEP187 |
|
void setClientCertificateChain(Array<SSLCertificateInfo*> clientCertificate) | void setClientCertificateChain(Array<SSLCertificateInfo*> clientCertificate) |
{ | { |
_checkRep(); | _checkRep(); |
_rep->setClientCertificateChain(clientCertificate); | _rep->setClientCertificateChain(clientCertificate); |
} | } |
| |
|
/** Set flag to show that isRemotePrivilegedUserAccess check has been done |
|
this function should only be used by OpenPegasus AuthenticationHandlers |
|
*/ |
|
void setRemotePrivilegedUserAccessChecked() |
|
{ |
|
_checkRep(); |
|
_rep->setRemotePrivilegedUserAccessChecked(); |
|
} |
|
|
|
/** Indicates whether the isRemotePrivilegedUserAccess check has been |
|
performed. This method should only be used by OpenPegasus |
|
AuthenticationHandlers |
|
*/ |
|
Boolean getRemotePrivilegedUserAccessChecked() |
|
{ |
|
_checkRep(); |
|
return _rep->getRemotePrivilegedUserAccessChecked(); |
|
} |
|
|
private: | private: |
| |
AuthenticationInfo(AuthenticationInfoRep* rep) : _rep(rep) | AuthenticationInfo(AuthenticationInfoRep* rep) : _rep(rep) |