OW_NAMESPACE::LinuxPAMAuthenticationCL Class Reference

Inheritance diagram for OW_NAMESPACE::LinuxPAMAuthenticationCL:

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

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
String m_libexecdir

Detailed Description

Definition at line 51 of file OW_LinuxPAMAuthenticationCL.cpp.


Member Function Documentation

bool OW_NAMESPACE::LinuxPAMAuthenticationCL::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 75 of file OW_LinuxPAMAuthenticationCL.cpp.

References OW_NAMESPACE::String::empty().

void OW_NAMESPACE::LinuxPAMAuthenticationCL::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 121 of file OW_LinuxPAMAuthenticationCL.cpp.

References env, OW_NAMESPACE::ConfigOpts::LIBEXECDIR_opt, m_allowedUsers, m_libexecdir, OW_DEFAULT_OWLIBEXECDIR, and OW_NAMESPACE::ConfigOpts::PAM_ALLOWED_USERS_opt.


Member Data Documentation

String OW_NAMESPACE::LinuxPAMAuthenticationCL::m_allowedUsers [private]
 

Definition at line 70 of file OW_LinuxPAMAuthenticationCL.cpp.

Referenced by doInit().

String OW_NAMESPACE::LinuxPAMAuthenticationCL::m_libexecdir [private]
 

Definition at line 71 of file OW_LinuxPAMAuthenticationCL.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