version 1.15, 2007/08/22 07:43:38
|
version 1.15.2.1, 2007/09/12 23:56:25
|
|
|
const String& authHeader, | const String& authHeader, |
AuthenticationInfo* authInfo); | AuthenticationInfo* authInfo); |
| |
|
#ifdef PEGASUS_ENABLE_LOCAL_AUTHENTICATION |
|
|
/** Authenticates the requests from Local connections. | /** Authenticates the requests from Local connections. |
@param authHeader String containing the Authorization header | @param authHeader String containing the Authorization header |
@param authInfo Reference to AuthenticationInfo object that holds the | @param authInfo Reference to AuthenticationInfo object that holds the |
|
|
const String& authHeader, | const String& authHeader, |
AuthenticationInfo* authInfo); | AuthenticationInfo* authInfo); |
| |
|
#endif /* PEGASUS_ENABLE_LOCAL_AUTHENTICATION */ |
|
|
/** Validates whether the user is a valid user for requests | /** Validates whether the user is a valid user for requests |
from HTTP connections. | from HTTP connections. |
@param userName name of the user | @param userName name of the user |
|
|
*/ | */ |
Boolean validateUserForHttpAuth (const String& userName); | Boolean validateUserForHttpAuth (const String& userName); |
| |
|
#ifdef PEGASUS_ENABLE_LOCAL_AUTHENTICATION |
|
|
/** Constructs the Pegasus Local authentication challenge header. | /** Constructs the Pegasus Local authentication challenge header. |
@param authHeader String containing the Authorization header | @param authHeader String containing the Authorization header |
@param authInfo reference to AuthenticationInfo object that holds the | @param authInfo reference to AuthenticationInfo object that holds the |
|
|
const String& authHeader, | const String& authHeader, |
AuthenticationInfo* authInfo); | AuthenticationInfo* authInfo); |
| |
|
#endif /* PEGASUS_ENABLE_LOCAL_AUTHENTICATION */ |
|
|
/** Constructs the HTTP authentication challenge header. | /** Constructs the HTTP authentication challenge header. |
@return String containing the authentication challenge | @return String containing the authentication challenge |
*/ | */ |
|
|
| |
private: | private: |
| |
|
#ifdef PEGASUS_ENABLE_LOCAL_AUTHENTICATION |
Authenticator* _getLocalAuthHandler(); | Authenticator* _getLocalAuthHandler(); |
|
Authenticator* _localAuthHandler; |
|
#endif |
| |
Authenticator* _getHttpAuthHandler(); | Authenticator* _getHttpAuthHandler(); |
|
|
Authenticator* _localAuthHandler; |
|
Authenticator* _httpAuthHandler; | Authenticator* _httpAuthHandler; |
String _httpAuthType; | String _httpAuthType; |
|
|
}; | }; |
| |
PEGASUS_NAMESPACE_END | PEGASUS_NAMESPACE_END |
| |
#endif /* Pegasus_AuthenticationManager_h */ | #endif /* Pegasus_AuthenticationManager_h */ |
|
|