version 1.11.30.1, 2007/01/05 00:32:34
|
version 1.12, 2007/03/02 19:00:44
|
|
|
// | // |
//============================================================================== | //============================================================================== |
// | // |
// Author: Nag Boranna, Hewlett-Packard Company(nagaraja_boranna@hp.com) |
|
// |
|
// Modified By: |
|
// Sushma Fernandes, Hewlett-Packard Company(sushma_fernandes@hp.com) |
|
// |
|
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
| |
#ifndef Pegasus_SecureLocalAuthenticator_h | #ifndef Pegasus_SecureLocalAuthenticator_h |
|
|
sent by the client. | sent by the client. |
@param secretKept String containing the authentication secret that | @param secretKept String containing the authentication secret that |
was sent to client as part of the challenge. | was sent to client as part of the challenge. |
@param sessionKey session key assigned by the executor. |
|
@return true on successful authentication, false otherwise | @return true on successful authentication, false otherwise |
*/ | */ |
Boolean authenticate( | Boolean authenticate( |
const String& userName, | const String& userName, |
const String& secretReceived, | const String& secretReceived, |
const String& secretKept, |
const String& secretKept); |
SessionKey& sessionKey); |
|
| |
/** | /** |
Verify whether the user is valid. | Verify whether the user is valid. |
|
|
/** Construct and return the Peagaus Local authentication challenge header | /** Construct and return the Peagaus Local authentication challenge header |
@param authType String containing the authentication type | @param authType String containing the authentication type |
@param userName String containing the user name | @param userName String containing the user name |
@param challenge String to store the authentication challenge secret |
@param secret String to store the authentication secret |
@return A string containing the authentication challenge header. | @return A string containing the authentication challenge header. |
*/ | */ |
String getAuthResponseHeader( | String getAuthResponseHeader( |
const String& authType, | const String& authType, |
const String& userName, | const String& userName, |
String& challenge); |
String& secret); |
}; | }; |
| |
| |