org.eclipse.jetty.server
接口 Authentication.Deferred

所有超级接口:
Authentication
所有已知实现类:
DeferredAuthentication
正在封闭接口:
Authentication

public static interface Authentication.Deferred
extends Authentication

A deferred authentication with methods to progress the authentication process.


嵌套类摘要
 
从接口 org.eclipse.jetty.server.Authentication 继承的嵌套类/接口
Authentication.Challenge, Authentication.Deferred, Authentication.Failure, Authentication.ResponseSent, Authentication.SendSuccess, Authentication.User, Authentication.Wrapped
 
字段摘要
 
从接口 org.eclipse.jetty.server.Authentication 继承的字段
NOT_CHECKED, SEND_CONTINUE, SEND_FAILURE, SEND_SUCCESS, UNAUTHENTICATED
 
方法摘要
 Authentication authenticate(ServletRequest request)
          Authenticate if possible without sending a challenge.
 Authentication authenticate(ServletRequest request, ServletResponse response)
          Authenticate and possibly send a challenge.
 Authentication login(String username, Object password, ServletRequest request)
          Login with the LOGIN authenticator
 

方法详细信息

authenticate

Authentication authenticate(ServletRequest request)
Authenticate if possible without sending a challenge. This is used to check credentials that have been sent for non-manditory authentication.

返回:
The new Authentication state.

authenticate

Authentication authenticate(ServletRequest request,
                            ServletResponse response)
Authenticate and possibly send a challenge. This is used to initiate authentication for previously non-manditory authentication.

返回:
The new Authentication state.

login

Authentication login(String username,
                     Object password,
                     ServletRequest request)
Login with the LOGIN authenticator

参数:
username -
password -
返回:
The new Authentication state


Copyright © 2013. All Rights Reserved.