Package org.exoplatform.web.security
Class PortalLoginModule
java.lang.Object
org.exoplatform.services.security.jaas.AbstractLoginModule
org.exoplatform.web.security.PortalLoginModule
- All Implemented Interfaces:
LoginModule
public class PortalLoginModule
extends org.exoplatform.services.security.jaas.AbstractLoginModule
Deprecated.
Cluster authentication is now handled by PortalClusteredSSOSupportValve and
this login module is no longer used. Likely will be removed in the future.
A login module implementation that is used to handle reauthentication of client with same HTTP session on various cluster
nodes. After login of user on cluster node is attribute "authenticatedCredentials" added to HTTP session in method
commit(). Other cluster nodes can than read these credentials in method login(), and can reuse them to
relogin.- Version:
- $Revision$
- Author:
- Julien Viet
-
Field Summary
FieldsFields inherited from class org.exoplatform.services.security.jaas.AbstractLoginModule
callbackHandler, options, realmName, sharedState, subject -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanabort()Deprecated.booleancommit()Deprecated.protected org.exoplatform.services.log.LogDeprecated.protected voidhandleCredentialsRemoving(jakarta.servlet.http.HttpServletRequest request) Deprecated.Remove credentials of authenticated user from AuthenticationRegistry.protected static booleanDeprecated.booleanlogin()Deprecated.booleanlogout()Deprecated.Methods inherited from class org.exoplatform.services.security.jaas.AbstractLoginModule
afterInitialize, getContainer, initialize
-
Field Details
-
AUTHENTICATED_CREDENTIALS
Deprecated.- See Also:
-
-
Constructor Details
-
PortalLoginModule
public PortalLoginModule()Deprecated.
-
-
Method Details
-
login
Deprecated.- Throws:
LoginException- See Also:
-
commit
Deprecated.- Throws:
LoginException- See Also:
-
abort
Deprecated.- Throws:
LoginException- See Also:
-
logout
Deprecated.- Throws:
LoginException- See Also:
-
getLogger
protected org.exoplatform.services.log.Log getLogger()Deprecated.- Specified by:
getLoggerin classorg.exoplatform.services.security.jaas.AbstractLoginModule
-
isClusteredSSO
protected static boolean isClusteredSSO()Deprecated. -
handleCredentialsRemoving
protected void handleCredentialsRemoving(jakarta.servlet.http.HttpServletRequest request) Deprecated.Remove credentials of authenticated user from AuthenticationRegistry.- Parameters:
request- httpRequest
-