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
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.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     

    Fields inherited from class org.exoplatform.services.security.jaas.AbstractLoginModule

    callbackHandler, options, realmName, sharedState, subject
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    boolean
     
    protected org.exoplatform.services.log.Log
     
    protected void
    handleCredentialsRemoving(jakarta.servlet.http.HttpServletRequest request)
    Remove credentials of authenticated user from AuthenticationRegistry.
    protected static boolean
     
    boolean
     
    boolean
     

    Methods inherited from class org.exoplatform.services.security.jaas.AbstractLoginModule

    afterInitialize, getContainer, initialize

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait