Class JettyAuthenticator

java.lang.Object
org.eclipse.jetty.security.authentication.LoginAuthenticator
org.codice.ddf.pax.web.jetty.JettyAuthenticator
All Implemented Interfaces:
org.eclipse.jetty.security.Authenticator

public class JettyAuthenticator extends org.eclipse.jetty.security.authentication.LoginAuthenticator
  • 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
    Modifier and Type
    Field
    Description
    static final String
     

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

    _identityService, _loginService
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    protected org.osgi.framework.BundleContext
     
    void
    removeSecurityFilter(org.osgi.framework.ServiceReference<org.codice.ddf.platform.filter.SecurityFilter> securityFilterServiceReference)
     
    boolean
    secureResponse(javax.servlet.ServletRequest req, javax.servlet.ServletResponse res, boolean mandatory, org.eclipse.jetty.server.Authentication.User validatedUser)
     
    void
    setConfiguration(org.eclipse.jetty.security.Authenticator.AuthConfiguration configuration)
     
    org.eclipse.jetty.server.Authentication
    validateRequest(javax.servlet.ServletRequest servletRequest, javax.servlet.ServletResponse servletResponse, boolean mandatory)
     

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

    getLoginService, login, logout, prepareRequest, renewSession

    Methods inherited from class java.lang.Object

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

  • Constructor Details

    • JettyAuthenticator

      public JettyAuthenticator()
  • 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()
    • validateRequest

      public org.eclipse.jetty.server.Authentication validateRequest(javax.servlet.ServletRequest servletRequest, javax.servlet.ServletResponse servletResponse, boolean mandatory) throws org.eclipse.jetty.security.ServerAuthException
      Throws:
      org.eclipse.jetty.security.ServerAuthException
    • getContext

      @Nullable protected org.osgi.framework.BundleContext getContext()
    • removeSecurityFilter

      public void removeSecurityFilter(org.osgi.framework.ServiceReference<org.codice.ddf.platform.filter.SecurityFilter> securityFilterServiceReference)
    • secureResponse

      public boolean secureResponse(javax.servlet.ServletRequest req, javax.servlet.ServletResponse res, boolean mandatory, org.eclipse.jetty.server.Authentication.User validatedUser)