Class HttpHeaderProvider

java.lang.Object
io.goobi.viewer.model.security.authentication.HttpAuthenticationProvider
io.goobi.viewer.model.security.authentication.HttpHeaderProvider
All Implemented Interfaces:
IAuthenticationProvider

public class HttpHeaderProvider extends HttpAuthenticationProvider
Authentication provider that authenticates users by reading a user identifier from an HTTP request header (or parameter), then looking up or creating the corresponding User account.
  • Field Details

  • Constructor Details

    • HttpHeaderProvider

      public HttpHeaderProvider(String name, String label, String url, String image, long timeoutMillis, String parameterType, String parameterName)
      Parameters:
      name - unique provider name/identifier
      label - display label shown in the UI
      url - redirect URL for the authentication endpoint
      image - path to the provider icon image
      timeoutMillis - maximum wait time in milliseconds for the login response
      parameterType - type of the incoming parameter (e.g. "header")
      parameterName - name of the header or request parameter carrying the user identifier
  • Method Details