Class DefaultAdminConsoleAuthenticator

java.lang.Object
org.alfresco.repo.security.authentication.external.DefaultAdminConsoleAuthenticator
All Implemented Interfaces:
ActivateableBean, AdminConsoleAuthenticator

public class DefaultAdminConsoleAuthenticator extends Object implements AdminConsoleAuthenticator, ActivateableBean
A default AdminConsoleAuthenticator implementation. Returns null to request a basic auth challenge.
  • Constructor Details

    • DefaultAdminConsoleAuthenticator

      public DefaultAdminConsoleAuthenticator()
  • Method Details

    • getAdminConsoleUser

      public String getAdminConsoleUser(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)
      Description copied from interface: AdminConsoleAuthenticator
      Gets an externally authenticated user ID from the HTTP Admin Console webscript request.
      Specified by:
      getAdminConsoleUser in interface AdminConsoleAuthenticator
      Parameters:
      request - the request
      response - the response
      Returns:
      the user ID or null if the user is unauthenticated
    • requestAuthentication

      public void requestAuthentication(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)
      Description copied from interface: AdminConsoleAuthenticator
      Requests an authentication.
      Specified by:
      requestAuthentication in interface AdminConsoleAuthenticator
      Parameters:
      request - the request
      response - the response
    • isActive

      public boolean isActive()
      Description copied from interface: ActivateableBean
      Determines whether this bean is active.
      Specified by:
      isActive in interface ActivateableBean
      Returns:
      true if this bean is active