public class SpnegoAuthenticator extends LoginAuthenticator
Authenticator.AuthConfiguration, Authenticator.Factory
_identityService, _loginService
Constructor and Description |
---|
SpnegoAuthenticator() |
SpnegoAuthenticator(String authMethod)
Allow for a custom authMethod value to be set for instances where SPENGO may not be appropriate
|
Modifier and Type | Method and Description |
---|---|
String |
getAuthMethod() |
boolean |
secureResponse(ServletRequest request,
ServletResponse response,
boolean mandatory,
Authentication.User validatedUser) |
Authentication |
validateRequest(ServletRequest request,
ServletResponse response,
boolean mandatory)
Validate a request
|
getLoginService, login, prepareRequest, renewSession, setConfiguration
public SpnegoAuthenticator()
public SpnegoAuthenticator(String authMethod)
authMethod
- public String getAuthMethod()
public Authentication validateRequest(ServletRequest request, 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(ServletRequest request, ServletResponse response, boolean mandatory, Authentication.User validatedUser) throws ServerAuthException
ServerAuthException
Copyright © 1995-2015 Webtide. All Rights Reserved.