Class AuthenticationPlugin

java.lang.Object
com.sun.identity.authentication.spi.AMLoginModule
org.gatein.sso.opensso.plugin.AuthenticationPlugin
All Implemented Interfaces:
LoginModule

public class AuthenticationPlugin extends com.sun.identity.authentication.spi.AMLoginModule
Author:
Sohil Shah
  • Field Summary

    Fields inherited from class com.sun.identity.authentication.spi.AMLoginModule

    amCache
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    void
    init(Subject subject, Map sharedState, Map options)
     
    int
    process(Callback[] callbacks, int state)
     

    Methods inherited from class com.sun.identity.authentication.spi.AMLoginModule

    abort, commit, createIdentity, destroyModuleState, forceCallbacksInit, getAMIdentityRepository, getAttribute, getAuthLevel, getCallback, getCallback, getCallbackHandler, getCurrentState, getFailCount, getHttpServletRequest, getHttpServletResponse, getLocale, getLoginLocale, getLoginState, getNewUserIDs, getNumberOfStates, getOrgProfile, getOrgServiceTemplate, getPersistentCookieOn, getPwdKey, getRequestOrg, getServiceConfig, getSessionId, getSSOSession, getUserKey, getUserProfile, getUserSessionProperty, initialize, isDynamicProfileCreationEnabled, isRequired, isSharedStateEnabled, isSuperAdmin, isUseFirstPassEnabled, isValidUserEntry, login, logout, nullifyUsedVars, replaceCallback, replaceHeader, resetCallback, setAuthLevel, setFailureID, setForceCallbacksRead, setLoginFailureURL, setLoginSuccessURL, setModuleErrorTemplate, setOrg, setPersistentCookieOn, setUserAttributes, setUserSessionProperty, storeUsernamePasswd, validatePassword, validateUserName

    Methods inherited from class java.lang.Object

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

    • AuthenticationPlugin

      public AuthenticationPlugin()
  • Method Details

    • init

      public void init(Subject subject, Map sharedState, Map options)
      Specified by:
      init in class com.sun.identity.authentication.spi.AMLoginModule
    • process

      public int process(Callback[] callbacks, int state) throws com.sun.identity.authentication.spi.AuthLoginException
      Specified by:
      process in class com.sun.identity.authentication.spi.AMLoginModule
      Throws:
      com.sun.identity.authentication.spi.AuthLoginException
    • getPrincipal

      public Principal getPrincipal()
      Specified by:
      getPrincipal in class com.sun.identity.authentication.spi.AMLoginModule