version 1.14.8.3, 2013/11/21 17:59:46
|
version 1.15, 2013/05/28 12:34:24
|
|
|
#ifndef Pegasus_SecureBasicAuthenticator_h | #ifndef Pegasus_SecureBasicAuthenticator_h |
#define Pegasus_SecureBasicAuthenticator_h | #define Pegasus_SecureBasicAuthenticator_h |
| |
#ifndef PEGASUS_PAM_AUTHENTICATION |
|
# include <Pegasus/Security/UserManager/UserManager.h> | # include <Pegasus/Security/UserManager/UserManager.h> |
#endif |
|
| |
#include "BasicAuthenticator.h" | #include "BasicAuthenticator.h" |
| |
|
|
@param password String containing the user password | @param password String containing the user password |
@param authInfo AuthenticationInfo holding ALL request specific | @param authInfo AuthenticationInfo holding ALL request specific |
authentication information | authentication information |
@return AuthenticationStatus holding http status code and error detail |
@return true on successful authentication, false otherwise |
*/ | */ |
AuthenticationStatus authenticate( |
Boolean authenticate( |
const String& userName, | const String& userName, |
const String& password, | const String& password, |
AuthenticationInfo* authInfo); | AuthenticationInfo* authInfo); |
|
|
@param userName String containing the user name | @param userName String containing the user name |
@param authInfo reference to AuthenticationInfo object that holds the | @param authInfo reference to AuthenticationInfo object that holds the |
authentication information for the given connection. | authentication information for the given connection. |
@return AuthenticationStatus holding http status code and error detail |
@return true on successful validation, false otherwise |
*/ | */ |
AuthenticationStatus validateUser( |
Boolean validateUser( |
const String& userName, | const String& userName, |
AuthenticationInfo* authInfo); | AuthenticationInfo* authInfo); |
| |
|
|
#endif // end PEGASUS_OS_ZOS | #endif // end PEGASUS_OS_ZOS |
| |
String _realm; | String _realm; |
#ifndef PEGASUS_PAM_AUTHENTICATION |
|
UserManager* _userManager; | UserManager* _userManager; |
#endif |
|
}; | }; |
| |
PEGASUS_NAMESPACE_END | PEGASUS_NAMESPACE_END |