OW_NAMESPACE::AIXAuthentication Class Reference

This is a very simple wrapper around the AIX authorize routines. More...

Inheritance diagram for OW_NAMESPACE::AIXAuthentication:

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

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

This is a very simple wrapper around the AIX authorize routines.

If you want details on the authenticate function, visit http://post.doit.wisc.edu/library/aix51/usr/share/man/info/en_US/a_doc_lib/libs/basetrf1/authenticate.htm or google for aix authenticate subroutine.

Definition at line 64 of file OW_AIXAuthentication.cpp.


Member Function Documentation

bool OW_NAMESPACE::AIXAuthentication::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 87 of file OW_AIXAuthentication.cpp.

References OW_NAMESPACE::String::empty().

void OW_NAMESPACE::AIXAuthentication::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 167 of file OW_AIXAuthentication.cpp.

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


Member Data Documentation

String OW_NAMESPACE::AIXAuthentication::m_allowedUsers [private]
 

Definition at line 83 of file OW_AIXAuthentication.cpp.

Referenced by doInit().


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