org.eclipse.jetty.security.authentication
类 DeferredAuthentication

java.lang.Object
  继承者 org.eclipse.jetty.security.authentication.DeferredAuthentication
所有已实现的接口:
Authentication, Authentication.Deferred

public class DeferredAuthentication
extends Object
implements Authentication.Deferred


嵌套类摘要
 
从接口 org.eclipse.jetty.server.Authentication 继承的嵌套类/接口
Authentication.Challenge, Authentication.Deferred, Authentication.Failure, Authentication.ResponseSent, Authentication.SendSuccess, Authentication.User, Authentication.Wrapped
 
字段摘要
protected  LoginAuthenticator _authenticator
           
 
从接口 org.eclipse.jetty.server.Authentication 继承的字段
NOT_CHECKED, SEND_CONTINUE, SEND_FAILURE, SEND_SUCCESS, UNAUTHENTICATED
 
构造方法摘要
DeferredAuthentication(LoginAuthenticator authenticator)
           
 
方法摘要
 Authentication authenticate(ServletRequest request)
          Authenticate if possible without sending a challenge.
 Authentication authenticate(ServletRequest request, ServletResponse response)
          Authenticate and possibly send a challenge.
 Object getPreviousAssociation()
           
static boolean isDeferred(HttpServletResponse response)
           
 Authentication login(String username, Object password, ServletRequest request)
          Login with the LOGIN authenticator
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

_authenticator

protected final LoginAuthenticator _authenticator
构造方法详细信息

DeferredAuthentication

public DeferredAuthentication(LoginAuthenticator authenticator)
方法详细信息

authenticate

public Authentication authenticate(ServletRequest request)
从接口 Authentication.Deferred 复制的描述
Authenticate if possible without sending a challenge. This is used to check credentials that have been sent for non-manditory authentication.

指定者:
接口 Authentication.Deferred 中的 authenticate
返回:
The new Authentication state.
另请参见:
Authentication.Deferred.authenticate(ServletRequest)

authenticate

public Authentication authenticate(ServletRequest request,
                                   ServletResponse response)
从接口 Authentication.Deferred 复制的描述
Authenticate and possibly send a challenge. This is used to initiate authentication for previously non-manditory authentication.

指定者:
接口 Authentication.Deferred 中的 authenticate
返回:
The new Authentication state.
另请参见:
Authentication.Deferred.authenticate(javax.servlet.ServletRequest, javax.servlet.ServletResponse)

login

public Authentication login(String username,
                            Object password,
                            ServletRequest request)
从接口 Authentication.Deferred 复制的描述
Login with the LOGIN authenticator

指定者:
接口 Authentication.Deferred 中的 login
返回:
The new Authentication state
另请参见:
org.eclipse.jetty.server.Authentication.Deferred#login(java.lang.String, java.lang.String)

getPreviousAssociation

public Object getPreviousAssociation()

isDeferred

public static boolean isDeferred(HttpServletResponse response)
参数:
response -
返回:
true if this response is from a deferred call to authenticate(ServletRequest)


Copyright © 2013. All Rights Reserved.