org.eclipse.jetty.security.authentication
public class SpnegoAuthenticator extends LoginAuthenticator
Authenticator.AuthConfiguration, Authenticator.Factory
_deferred, _identityService, _loginService, SESSION_SECURED
Constructor and Description |
---|
SpnegoAuthenticator() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAuthMethod() |
boolean |
secureResponse(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
boolean mandatory,
Authentication.User validatedUser) |
Authentication |
validateRequest(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
boolean mandatory)
Validate a response
|
getLoginService, renewSessionOnAuthentication, setConfiguration
public java.lang.String getAuthMethod()
public Authentication validateRequest(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, boolean mandatory) throws ServerAuthException
Authenticator
request
- The requestresponse
- The responsemandatory
- True if authentication is mandatory.Authentication.User
. If a response has
been sent by the Authenticator (which can be done for both successful and unsuccessful authentications), then the result will
implement Authentication.ResponseSent
. If Authentication is not manditory, then a
Authentication.Deferred
may be returned.ServerAuthException
public boolean secureResponse(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, boolean mandatory, Authentication.User validatedUser) throws ServerAuthException
ServerAuthException
Copyright © 2016. All Rights Reserved.