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

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Deprecated.
     

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

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

    Constructors
    Constructor
    Description
    Deprecated.
     
  • Method Summary

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

    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
  • Field Details

  • Constructor Details

    • PortalLoginModule

      public PortalLoginModule()
      Deprecated.
  • Method Details

    • login

      public boolean login() throws LoginException
      Deprecated.
      Throws:
      LoginException
      See Also:
    • commit

      public boolean commit() throws LoginException
      Deprecated.
      Throws:
      LoginException
      See Also:
    • abort

      public boolean abort() throws LoginException
      Deprecated.
      Throws:
      LoginException
      See Also:
    • logout

      public boolean logout() throws LoginException
      Deprecated.
      Throws:
      LoginException
      See Also:
    • getLogger

      protected org.exoplatform.services.log.Log getLogger()
      Deprecated.
      Specified by:
      getLogger in class org.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