Class DelegatingAuthenticator

java.lang.Object
org.eclipse.jetty.security.authentication.LoginAuthenticator
dev.dsf.common.auth.DelegatingAuthenticator
All Implemented Interfaces:
org.eclipse.jetty.security.Authenticator

public class DelegatingAuthenticator extends org.eclipse.jetty.security.authentication.LoginAuthenticator implements org.eclipse.jetty.security.Authenticator
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.eclipse.jetty.security.Authenticator

    org.eclipse.jetty.security.Authenticator.AuthConfiguration, org.eclipse.jetty.security.Authenticator.Factory
  • Field Summary

    Fields inherited from class org.eclipse.jetty.security.authentication.LoginAuthenticator

    _identityService, _loginService
  • Constructor Summary

    Constructors
    Constructor
    Description
    DelegatingAuthenticator(org.eclipse.jetty.server.session.SessionHandler sessionHandler, StatusPortAuthenticator statusPortAuthenticator, ClientCertificateAuthenticator clientCertificateAuthenticator, BearerTokenAuthenticator bearerTokenAuthenticator, org.eclipse.jetty.security.openid.OpenIdAuthenticator openIdAuthenticator, org.eclipse.jetty.security.openid.OpenIdLoginService openIdLoginService, BackChannelLogoutAuthenticator backChannelLogoutAuthenticator)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    void
    logout(jakarta.servlet.ServletRequest request)
     
    void
    prepareRequest(jakarta.servlet.ServletRequest request)
     
    boolean
    secureResponse(jakarta.servlet.ServletRequest request, jakarta.servlet.ServletResponse response, boolean mandatory, org.eclipse.jetty.server.Authentication.User validatedUser)
     
    void
    setConfiguration(org.eclipse.jetty.security.Authenticator.AuthConfiguration configuration)
     
    org.eclipse.jetty.server.Authentication
    validateRequest(jakarta.servlet.ServletRequest request, jakarta.servlet.ServletResponse response, boolean mandatory)
     

    Methods inherited from class org.eclipse.jetty.security.authentication.LoginAuthenticator

    getLoginService, login, renewSession

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • setConfiguration

      public void setConfiguration(org.eclipse.jetty.security.Authenticator.AuthConfiguration configuration)
      Specified by:
      setConfiguration in interface org.eclipse.jetty.security.Authenticator
      Overrides:
      setConfiguration in class org.eclipse.jetty.security.authentication.LoginAuthenticator
    • getAuthMethod

      public String getAuthMethod()
      Specified by:
      getAuthMethod in interface org.eclipse.jetty.security.Authenticator
    • prepareRequest

      public void prepareRequest(jakarta.servlet.ServletRequest request)
      Specified by:
      prepareRequest in interface org.eclipse.jetty.security.Authenticator
      Overrides:
      prepareRequest in class org.eclipse.jetty.security.authentication.LoginAuthenticator
    • validateRequest

      public org.eclipse.jetty.server.Authentication validateRequest(jakarta.servlet.ServletRequest request, jakarta.servlet.ServletResponse response, boolean mandatory) throws org.eclipse.jetty.security.ServerAuthException
      Specified by:
      validateRequest in interface org.eclipse.jetty.security.Authenticator
      Throws:
      org.eclipse.jetty.security.ServerAuthException
    • secureResponse

      public boolean secureResponse(jakarta.servlet.ServletRequest request, jakarta.servlet.ServletResponse response, boolean mandatory, org.eclipse.jetty.server.Authentication.User validatedUser) throws org.eclipse.jetty.security.ServerAuthException
      Specified by:
      secureResponse in interface org.eclipse.jetty.security.Authenticator
      Throws:
      org.eclipse.jetty.security.ServerAuthException
    • logout

      public void logout(jakarta.servlet.ServletRequest request)
      Overrides:
      logout in class org.eclipse.jetty.security.authentication.LoginAuthenticator