接口 org.eclipse.jetty.client.security.Authentication
的使用

使用 Authentication 的软件包
org.eclipse.jetty.client   
org.eclipse.jetty.client.security   
 

org.eclipse.jetty.clientAuthentication 的使用
 

返回 Authenticationorg.eclipse.jetty.client 中的方法
 Authentication HttpDestination.getProxyAuthentication()
           
 Authentication HttpClient.getProxyAuthentication()
           
 

参数类型为 Authenticationorg.eclipse.jetty.client 中的方法
 void HttpDestination.addAuthorization(String pathSpec, Authentication authorization)
           
 void HttpDestination.setProxyAuthentication(Authentication authentication)
           
 void HttpClient.setProxyAuthentication(Authentication authentication)
           
 

org.eclipse.jetty.client.securityAuthentication 的使用
 

实现 Authenticationorg.eclipse.jetty.client.security 中的类
 class BasicAuthentication
          Sets authentication headers for BASIC authentication challenges
 class DigestAuthentication
           
 class ProxyAuthorization
          Sets proxy authentication headers for BASIC authentication challenges
 



Copyright © 2013. All Rights Reserved.