OW_NAMESPACE::LinuxPAMAuthentication Class Reference

Inheritance diagram for OW_NAMESPACE::LinuxPAMAuthentication:

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

Collaboration graph
[legend]
List of all members.

Private Member Functions

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


Private Attributes

String m_allowedUsers

Detailed Description

Definition at line 88 of file OW_PAMAuthentication.cpp.


Member Function Documentation

bool OW_NAMESPACE::LinuxPAMAuthentication::doAuthenticate String userName,
const String info,
String details,
OperationContext context
[private, 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.
Returns:
True if user is authenticated

Implements OW_NAMESPACE::AuthenticatorIFC.

Definition at line 113 of file OW_PAMAuthentication.cpp.

References OW_NAMESPACE::String::empty().

void OW_NAMESPACE::LinuxPAMAuthentication::doInit ServiceEnvironmentIFCRef  env  )  [private, virtual]
 

Called when authenticator is loaded

Exceptions:
Any exception may be thrown because other classes which derive from this may need to throw exceptions in init().

Reimplemented from OW_NAMESPACE::AuthenticatorIFC.

Definition at line 327 of file OW_PAMAuthentication.cpp.

References env, m_allowedUsers, and OW_NAMESPACE::ConfigOpts::PAM_ALLOWED_USERS_opt.


Member Data Documentation

String OW_NAMESPACE::LinuxPAMAuthentication::m_allowedUsers [private]
 

Definition at line 108 of file OW_PAMAuthentication.cpp.

Referenced by doInit().


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