Class AppservPasswordLoginModule

java.lang.Object
com.sun.enterprise.security.BasePasswordLoginModule
com.sun.appserv.security.AppservPasswordLoginModule
All Implemented Interfaces:
LoginModule

public abstract class AppservPasswordLoginModule extends com.sun.enterprise.security.BasePasswordLoginModule
Abstract base class for password-based login modules.

Most login modules receive a username and password from the client (possibly through HTTP BASIC auth, or FORM, or other mechanism) and then make (or delegate) an authentication decision based on this data. This class provides common methods for such password-based login modules.

Subclasses need to implement the authenticateUser() method and later call commitUserAuthentication().

  • Field Summary

    Fields inherited from class com.sun.enterprise.security.BasePasswordLoginModule

    _commitSucceeded, _currentRealm, _groupsList, _logger, _options, _passwd, _password, _sharedState, _subject, _succeeded, _username, _userPrincipal, sm
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Methods inherited from class com.sun.enterprise.security.BasePasswordLoginModule

    abort, authenticateUser, commit, commitUserAuthentication, extractCredentials, getCurrentRealm, getGroupsList, getPassword, getPasswordChar, getRealm, getSubject, getUsername, getUserPrincipal, initialize, isCommitSucceeded, isSucceeded, login, logout

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AppservPasswordLoginModule

      public AppservPasswordLoginModule()