Class WindowsDesktopSSO
- java.lang.Object
-
- com.sun.identity.authentication.spi.AMLoginModule
-
- com.sun.identity.authentication.modules.windowsdesktopsso.WindowsDesktopSSO
-
- All Implemented Interfaces:
LoginModule
public class WindowsDesktopSSO extends AMLoginModule
-
-
Field Summary
-
Fields inherited from class com.sun.identity.authentication.spi.AMLoginModule
amCache, auditor, currentState
-
-
Constructor Summary
Constructors Constructor Description WindowsDesktopSSO()Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcreateUpdateKrb5ConfigFile()voiddestroyModuleState()TODO-JAVADOCPrincipalgetPrincipal()Returns principal of the authenticated user.protected List<String>getUpdatedKrb5ConfigLines(List<String> lines)voidinit(Subject subject, Map sharedState, Map options)Initialize parameters.voidnullifyUsedVars()TODO-JAVADOCintprocess(Callback[] callbacks, int state)Processes the authentication request.-
Methods inherited from class com.sun.identity.authentication.spi.AMLoginModule
abort, clearInfoText, commit, createIdentity, forceCallbacksInit, getAMIdentityRepository, getAttribute, getAuditEntryDetail, getAuthenticatedPrincipals, getAuthLevel, getCallback, getCallback, getCallbackHandler, getCurrentState, getFailCount, getHttpServletRequest, getHttpServletResponse, getInfoText, getLocale, getLoginLocale, getLoginState, getMaximumFailCount, getNewUserIDs, getNumberOfStates, getOrgProfile, getOrgServiceTemplate, getPwdKey, getRequestOrg, getServiceConfig, getSessionId, getSSOSession, getUserAliasList, getUserKey, getUserProfile, getUserSessionProperty, getUserSessions, incrementFailCount, initialize, isAccountLocked, isDynamicProfileCreationEnabled, isRequired, isSessionQuotaReached, isSharedStateEnabled, isSuperAdmin, isUseFirstPassEnabled, isValidUserEntry, login, logout, replaceCallback, replaceHeader, resetCallback, resetCurrentState, setAuthLevel, setFailureID, setForceCallbacksRead, setLoginFailureURL, setLoginSuccessURL, setModuleErrorTemplate, setOrg, setSharedStateEnabled, setUserAttributes, setUserSessionProperty, storeUsername, storeUsernamePasswd, substituteHeader, substituteInfoText, validatePassword, validateUserName
-
-
-
-
Method Detail
-
init
public void init(Subject subject, Map sharedState, Map options)
Initialize parameters.- Specified by:
initin classAMLoginModule- Parameters:
subject-sharedState-options-
-
getPrincipal
public Principal getPrincipal()
Returns principal of the authenticated user.- Specified by:
getPrincipalin classAMLoginModule- Returns:
- Principal of the authenticated user.
-
process
public int process(Callback[] callbacks, int state) throws AuthLoginException
Processes the authentication request.- Specified by:
processin classAMLoginModule- Parameters:
callbacks-state-- Returns:
- -1 as succeeded; 0 as failed.
- Throws:
AuthLoginException- upon any failure.
-
destroyModuleState
public void destroyModuleState()
TODO-JAVADOC- Overrides:
destroyModuleStatein classAMLoginModule
-
nullifyUsedVars
public void nullifyUsedVars()
TODO-JAVADOC- Overrides:
nullifyUsedVarsin classAMLoginModule
-
createUpdateKrb5ConfigFile
protected void createUpdateKrb5ConfigFile()
-
-