#include <OW_AuthManager.hpp>
Inheritance diagram for OW_NAMESPACE::AuthManager:
Public Member Functions | |
AuthManager () | |
~AuthManager () | |
virtual String | getName () const |
Every service may have a name. | |
virtual void | init (const ServiceEnvironmentIFCRef &env) |
init() will be called to give the derived class an opportunity to initialize itself. | |
virtual void | shutdown () |
The service must shutdown completely before returning from this function. | |
bool | authenticate (String &userName, const String &info, String &details, OperationContext &context) |
Private Attributes | |
AuthenticatorIFCRef | m_authenticator |
Definition at line 44 of file OW_AuthManager.hpp.
|
Definition at line 59 of file OW_AuthManager.cpp. |
|
Definition at line 64 of file OW_AuthManager.cpp. |
|
Definition at line 124 of file OW_AuthManager.cpp. References context, and m_authenticator. |
|
Every service may have a name. The name is used to calculate dependencies, other services can return the name from getDependencies(), to instruct the cimom about which order to start and shutdown all the services. The default is to have no name, in that case, no other service can depend on it. Reimplemented from OW_NAMESPACE::ServiceIFC. Definition at line 69 of file OW_AuthManager.cpp. References OW_NAMESPACE::ServiceIFCNames::AuthManager. |
|
init() will be called to give the derived class an opportunity to initialize itself. Do not create threads which interact with the environment until start() is called. During the loading/initializing phase, the environment is single-threaded.
Implements OW_NAMESPACE::ServiceIFC. Definition at line 75 of file OW_AuthManager.cpp. References OW_NAMESPACE::ConfigOpts::AUTHENTICATION_MODULE_opt, OW_NAMESPACE::COMPONENT_NAME, env, OW_NAMESPACE::Exception::getMessage(), logger, m_authenticator, OW_DEFAULT_AUTHENTICATION_MODULE, OW_LOG_FATAL_ERROR, OW_LOG_INFO, OW_THROW, OW_NAMESPACE::SharedLibraryReference< T >::setNull(), and OW_NAMESPACE::Exception::type(). |
|
The service must shutdown completely before returning from this function. All copies of the service environment or objects obtained from it should be set to 0 to avoid circular reference counts. Implements OW_NAMESPACE::ServiceIFC. Definition at line 137 of file OW_AuthManager.cpp. References m_authenticator, and OW_NAMESPACE::SharedLibraryReference< T >::setNull(). |
|
Definition at line 55 of file OW_AuthManager.hpp. Referenced by authenticate(), init(), and shutdown(). |