Class PamLoginModule
- java.lang.Object
-
- com.sun.enterprise.security.BasePasswordLoginModule
-
- com.sun.appserv.security.AppservPasswordLoginModule
-
- com.sun.enterprise.security.ee.auth.login.PamLoginModule
-
- All Implemented Interfaces:
LoginModule
public class PamLoginModule extends AppservPasswordLoginModule
This is the main LoginModule for PAM realm that invokes the calls to libpam4j classes to authenticate the given username and password- Author:
- Nithya Subramanian
-
-
Field Summary
-
Fields inherited from class com.sun.enterprise.security.BasePasswordLoginModule
_commitSucceeded, _currentRealm, _groupsList, _options, _passwd, _password, _sharedState, _subject, _succeeded, _username, _userPrincipal, LOGGER, sm
-
-
Constructor Summary
Constructors Constructor Description PamLoginModule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
authenticateUser()
Perform authentication decision.-
Methods inherited from class com.sun.enterprise.security.BasePasswordLoginModule
abort, commit, commitUserAuthentication, extractCredentials, getCurrentRealm, getGroupsList, getPassword, getPasswordChar, getRealm, getSubject, getUsername, getUserPrincipal, initialize, isCommitSucceeded, isSucceeded, login, logout, setLoginModuleForAuthentication
-
-
-
-
Method Detail
-
authenticateUser
protected void authenticateUser() throws LoginException
Description copied from class:BasePasswordLoginModule
Perform authentication decision. Method returns silently on success and returns a LoginException on failure.- Specified by:
authenticateUser
in classBasePasswordLoginModule
- Throws:
LoginException
- on authentication failure.
-
-