public class SpnegoAuthenticator extends LoginAuthenticator
Authenticator.AuthConfiguration, Authenticator.Factory_identityService, _loginService| 构造器和说明 |
|---|
SpnegoAuthenticator() |
SpnegoAuthenticator(String authMethod)
Allow for a custom authMethod value to be set for instances where SPENGO may not be appropriate
|
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getAuthMethod() |
boolean |
secureResponse(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
boolean mandatory,
org.eclipse.jetty.server.Authentication.User validatedUser)
is response secure
|
org.eclipse.jetty.server.Authentication |
validateRequest(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
boolean mandatory)
Validate a request
|
getLoginService, login, prepareRequest, renewSession, setConfigurationpublic SpnegoAuthenticator()
public SpnegoAuthenticator(String authMethod)
authMethod - the auth methodpublic String getAuthMethod()
public org.eclipse.jetty.server.Authentication validateRequest(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
boolean mandatory)
throws ServerAuthException
Authenticatorrequest - 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 - if unable to validate requestpublic boolean secureResponse(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
boolean mandatory,
org.eclipse.jetty.server.Authentication.User validatedUser)
throws ServerAuthException
Authenticatorrequest - the requestresponse - the responsemandatory - if security is mandatorvalidatedUser - the user that was validatedServerAuthException - if unable to test responseCopyright © 2017. All rights reserved.