Package org.codice.ddf.pax.web.jetty
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
FieldsFields inherited from class org.eclipse.jetty.security.authentication.LoginAuthenticator
_identityService, _loginService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.osgi.framework.BundleContextvoidremoveSecurityFilter(org.osgi.framework.ServiceReference<org.codice.ddf.platform.filter.SecurityFilter> securityFilterServiceReference) booleansecureResponse(javax.servlet.ServletRequest req, javax.servlet.ServletResponse res, boolean mandatory, org.eclipse.jetty.server.Authentication.User validatedUser) voidsetConfiguration(org.eclipse.jetty.security.Authenticator.AuthConfiguration configuration) org.eclipse.jetty.server.AuthenticationvalidateRequest(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
-
Field Details
-
DDF_AUTH_METHOD
- See Also:
-
-
Constructor Details
-
JettyAuthenticator
public JettyAuthenticator()
-
-
Method Details
-
setConfiguration
public void setConfiguration(org.eclipse.jetty.security.Authenticator.AuthConfiguration configuration) - Specified by:
setConfigurationin interfaceorg.eclipse.jetty.security.Authenticator- Overrides:
setConfigurationin classorg.eclipse.jetty.security.authentication.LoginAuthenticator
-
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)
-