Class 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Principal getPrincipal()  
      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
    • Constructor Detail

      • AuthenticationPlugin

        public AuthenticationPlugin()
    • Method Detail

      • 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