org.eclipse.jetty.security.authentication
类 SpnegoAuthenticator

java.lang.Object
  继承者 org.eclipse.jetty.security.authentication.LoginAuthenticator
      继承者 org.eclipse.jetty.security.authentication.SpnegoAuthenticator
所有已实现的接口:
Authenticator

public class SpnegoAuthenticator
extends LoginAuthenticator


嵌套类摘要
 
从接口 org.eclipse.jetty.security.Authenticator 继承的嵌套类/接口
Authenticator.AuthConfiguration, Authenticator.Factory
 
字段摘要
 
从类 org.eclipse.jetty.security.authentication.LoginAuthenticator 继承的字段
_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(ServletRequest request, ServletResponse response, boolean mandatory, Authentication.User validatedUser)
           
 Authentication validateRequest(ServletRequest request, ServletResponse response, boolean mandatory)
          Validate a response
 
从类 org.eclipse.jetty.security.authentication.LoginAuthenticator 继承的方法
getLoginService, login, renewSession, setConfiguration
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

SpnegoAuthenticator

public SpnegoAuthenticator()

SpnegoAuthenticator

public SpnegoAuthenticator(String authMethod)
Allow for a custom authMethod value to be set for instances where SPENGO may not be appropriate

参数:
authMethod -
方法详细信息

getAuthMethod

public String getAuthMethod()
返回:
The name of the authentication method

validateRequest

public Authentication validateRequest(ServletRequest request,
                                      ServletResponse response,
                                      boolean mandatory)
                               throws ServerAuthException
从接口 Authenticator 复制的描述
Validate a response

参数:
request - The request
response - The response
mandatory - True if authentication is mandatory.
返回:
An Authentication. If Authentication is successful, this will be a 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

secureResponse

public boolean secureResponse(ServletRequest request,
                              ServletResponse response,
                              boolean mandatory,
                              Authentication.User validatedUser)
                       throws ServerAuthException
返回:
true if response is secure
抛出:
ServerAuthException


Copyright © 2013. All Rights Reserved.