OW_NAMESPACE::NonAuthenticatingAuthenticator Class Reference

#include <OW_NonAuthenticatingAuthenticator.hpp>

Inheritance diagram for OW_NAMESPACE::NonAuthenticatingAuthenticator:

Inheritance graph
[legend]
Collaboration diagram for OW_NAMESPACE::NonAuthenticatingAuthenticator:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 NonAuthenticatingAuthenticator ()
 Allocate a new ListenerAuthenticator (auth module used by a CIM Listener product).
virtual ~NonAuthenticatingAuthenticator ()

Protected Member Functions

virtual bool doAuthenticate (String &userName, const String &info, String &details, OperationContext &context)
 Authenticates a user.
virtual void doInit (ServiceEnvironmentIFCRef)
 Called when authenticator is loaded Exception is thrown because other classes which derive from this may need to throw exceptions in init().

Detailed Description

Definition at line 44 of file OW_NonAuthenticatingAuthenticator.hpp.


Constructor & Destructor Documentation

OW_NAMESPACE::NonAuthenticatingAuthenticator::NonAuthenticatingAuthenticator  ) 
 

Allocate a new ListenerAuthenticator (auth module used by a CIM Listener product).

Definition at line 43 of file OW_NonAuthenticatingAuthenticator.cpp.

OW_NAMESPACE::NonAuthenticatingAuthenticator::~NonAuthenticatingAuthenticator  )  [virtual]
 

Definition at line 47 of file OW_NonAuthenticatingAuthenticator.cpp.


Member Function Documentation

bool OW_NAMESPACE::NonAuthenticatingAuthenticator::doAuthenticate String userName,
const String info,
String details,
OperationContext context
[protected, virtual]
 

Authenticates a user.

Parameters:
userName The name of the of the user being authenticated
info The authentication credentials
details An out parameter used to provide information as to why the authentication failed
context An operation context. .
Returns:
True if user is authenticated

Implements OW_NAMESPACE::AuthenticatorIFC.

Definition at line 52 of file OW_NonAuthenticatingAuthenticator.cpp.

References context, OW_NAMESPACE::OperationContext::setStringData(), OW_NAMESPACE::OperationContext::USER_NAME, and OW_NAMESPACE::OperationContext::USER_PASSWD.

void OW_NAMESPACE::NonAuthenticatingAuthenticator::doInit ServiceEnvironmentIFCRef   )  [protected, virtual]
 

Called when authenticator is loaded Exception is thrown because other classes which derive from this may need to throw exceptions in init().

Reimplemented from OW_NAMESPACE::AuthenticatorIFC.

Definition at line 61 of file OW_NonAuthenticatingAuthenticator.cpp.


The documentation for this class was generated from the following files:
Generated on Thu Feb 9 09:12:16 2006 for openwbem by  doxygen 1.4.6