接口 org.eclipse.jetty.server.Authentication
的使用

使用 Authentication 的软件包
org.eclipse.jetty.security   
org.eclipse.jetty.security.authentication   
org.eclipse.jetty.security.jaspi   
org.eclipse.jetty.server   
 

org.eclipse.jetty.securityAuthentication 的使用
 

实现 Authenticationorg.eclipse.jetty.security 中的类
 class UserAuthentication
           
 

返回 Authenticationorg.eclipse.jetty.security 中的方法
 Authentication Authenticator.validateRequest(ServletRequest request, ServletResponse response, boolean mandatory)
          Validate a response
 

org.eclipse.jetty.security.authenticationAuthentication 的使用
 

实现 Authenticationorg.eclipse.jetty.security.authentication 中的类
 class DeferredAuthentication
           
static class FormAuthenticator.FormAuthentication
          This Authentication represents a just completed Form authentication.
 class SessionAuthentication
           
 

返回 Authenticationorg.eclipse.jetty.security.authentication 中的方法
 Authentication DeferredAuthentication.authenticate(ServletRequest request)
           
 Authentication DeferredAuthentication.authenticate(ServletRequest request, ServletResponse response)
           
 Authentication DeferredAuthentication.login(String username, Object password, ServletRequest request)
           
 Authentication SpnegoAuthenticator.validateRequest(ServletRequest request, ServletResponse response, boolean mandatory)
           
 Authentication FormAuthenticator.validateRequest(ServletRequest req, ServletResponse res, boolean mandatory)
           
 Authentication DigestAuthenticator.validateRequest(ServletRequest req, ServletResponse res, boolean mandatory)
           
 Authentication ClientCertAuthenticator.validateRequest(ServletRequest req, ServletResponse res, boolean mandatory)
           
 Authentication BasicAuthenticator.validateRequest(ServletRequest req, ServletResponse res, boolean mandatory)
           
 

org.eclipse.jetty.security.jaspiAuthentication 的使用
 

返回 Authenticationorg.eclipse.jetty.security.jaspi 中的方法
 Authentication JaspiAuthenticator.validateRequest(JaspiMessageInfo messageInfo)
           
 Authentication JaspiAuthenticator.validateRequest(ServletRequest request, ServletResponse response, boolean mandatory)
           
 

参数类型为 Authenticationorg.eclipse.jetty.security.jaspi 中的方法
 boolean JaspiAuthenticator.secureResponse(JaspiMessageInfo messageInfo, Authentication validatedUser)
           
 

org.eclipse.jetty.serverAuthentication 的使用
 

org.eclipse.jetty.serverAuthentication 的子接口
static interface Authentication.Challenge
          An Authentication Challenge has been sent.
static interface Authentication.Deferred
          A deferred authentication with methods to progress the authentication process.
static interface Authentication.Failure
          An Authentication Failure has been sent.
static interface Authentication.ResponseSent
          Authentication Response sent state.
static interface Authentication.SendSuccess
           
static interface Authentication.User
          A successful Authentication with User information.
static interface Authentication.Wrapped
          A wrapped authentication with methods provide the wrapped request/response for use by the application
 

声明为 Authenticationorg.eclipse.jetty.server 中的字段
static Authentication Authentication.NOT_CHECKED
          Authentication not checked This convenience instance us for non mandatory authentication when no credentials are present to be checked.
static Authentication Authentication.SEND_CONTINUE
          Authentication challenge sent.
static Authentication Authentication.SEND_FAILURE
          Authentication failure sent.
static Authentication Authentication.SEND_SUCCESS
           
static Authentication Authentication.UNAUTHENTICATED
          Unauthenticated state.
 

返回 Authenticationorg.eclipse.jetty.server 中的方法
 Authentication Authentication.Deferred.authenticate(ServletRequest request)
          Authenticate if possible without sending a challenge.
 Authentication Authentication.Deferred.authenticate(ServletRequest request, ServletResponse response)
          Authenticate and possibly send a challenge.
 Authentication Request.getAuthentication()
          Get the authentication.
 Authentication Authentication.Deferred.login(String username, Object password, ServletRequest request)
          Login with the LOGIN authenticator
 

参数类型为 Authenticationorg.eclipse.jetty.server 中的方法
 void Request.setAuthentication(Authentication authentication)
          Set the authentication.
 



Copyright © 2013. All Rights Reserved.