Package org.gatein.sso.opensso.plugin
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
-
-
Constructor Summary
Constructors Constructor Description AuthenticationPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrincipalgetPrincipal()voidinit(Subject subject, Map sharedState, Map options)intprocess(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
-
-
-
-
Method Detail
-
init
public void init(Subject subject, Map sharedState, Map options)
- Specified by:
initin classcom.sun.identity.authentication.spi.AMLoginModule
-
process
public int process(Callback[] callbacks, int state) throws com.sun.identity.authentication.spi.AuthLoginException
- Specified by:
processin classcom.sun.identity.authentication.spi.AMLoginModule- Throws:
com.sun.identity.authentication.spi.AuthLoginException
-
getPrincipal
public Principal getPrincipal()
- Specified by:
getPrincipalin classcom.sun.identity.authentication.spi.AMLoginModule
-
-