Package dev.dsf.common.auth
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
ConstructorsConstructorDescriptionDelegatingAuthenticator(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 TypeMethodDescriptionvoidlogout(jakarta.servlet.ServletRequest request) voidprepareRequest(jakarta.servlet.ServletRequest request) booleansecureResponse(jakarta.servlet.ServletRequest request, jakarta.servlet.ServletResponse response, boolean mandatory, org.eclipse.jetty.server.Authentication.User validatedUser) voidsetConfiguration(org.eclipse.jetty.security.Authenticator.AuthConfiguration configuration) org.eclipse.jetty.server.AuthenticationvalidateRequest(jakarta.servlet.ServletRequest request, jakarta.servlet.ServletResponse response, boolean mandatory) Methods inherited from class org.eclipse.jetty.security.authentication.LoginAuthenticator
getLoginService, login, renewSession
-
Constructor Details
-
DelegatingAuthenticator
public 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 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
- Specified by:
getAuthMethodin interfaceorg.eclipse.jetty.security.Authenticator
-
prepareRequest
public void prepareRequest(jakarta.servlet.ServletRequest request) - Specified by:
prepareRequestin interfaceorg.eclipse.jetty.security.Authenticator- Overrides:
prepareRequestin classorg.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:
validateRequestin interfaceorg.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:
secureResponsein interfaceorg.eclipse.jetty.security.Authenticator- Throws:
org.eclipse.jetty.security.ServerAuthException
-
logout
public void logout(jakarta.servlet.ServletRequest request) - Overrides:
logoutin classorg.eclipse.jetty.security.authentication.LoginAuthenticator
-