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
| 从类 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.