OW_NAMESPACE::ClientAuthCBIFC Class Reference
An abstract base class used to provide a callback for retrieving a username and password.
More...
#include <OW_ClientAuthCBIFC.hpp>
Inheritance diagram for OW_NAMESPACE::ClientAuthCBIFC:
[legend]Collaboration diagram for OW_NAMESPACE::ClientAuthCBIFC:
[legend]List of all members.
Detailed Description
An abstract base class used to provide a callback for retrieving a username and password.
If no username/password is provided in the URL, and the cimom returns a Unauthorized, this will be called so the client can repeat the request with authentication credentials.
Definition at line 53 of file OW_ClientAuthCBIFC.hpp.
Constructor & Destructor Documentation
OW_NAMESPACE::ClientAuthCBIFC::~ClientAuthCBIFC |
( |
|
) |
[virtual] |
|
Member Function Documentation
virtual bool OW_NAMESPACE::ClientAuthCBIFC::getCredentials |
( |
const String & |
realm, |
|
|
String & |
name, |
|
|
String & |
passwd, |
|
|
const String & |
details |
|
) |
[pure virtual] |
|
|
The callback that is executed to retrieve the username and password.
- Parameters:
-
| realm | A string describing the server or area within the server for which the client needs access (typically a URL). |
| name | A out param String&. The function should assign a valid user name here. "" is not a valid user name. |
| passwd | Similar to "name". The callback assigns the password here. |
- Returns:
- true means the http client should retry the request with the provided name/password. false means a valid name/password were not obtained by the callback, and to http client has no reason to retry the request.
|
The documentation for this class was generated from the following files:
Generated on Thu Feb 9 09:15:11 2006 for openwbem by
1.4.6