Uses of Interface
org.apache.commons.httpclient.Credentials

Packages that use Credentials
org.apache.commons.httpclient Classes and interfaces supporting the client side of the HTTP protocol. 
org.apache.commons.httpclient.auth Provides implementation of various authentication schemes as well as utility classes that can be used to authenticate HTTP requests. 
 

Uses of Credentials in org.apache.commons.httpclient
 

Classes in org.apache.commons.httpclient that implement Credentials
 class NTCredentials
          Credentials for use with the NTLM authentication scheme which requires additional information.
 class UsernamePasswordCredentials
          Username and password Credentials.
 

Methods in org.apache.commons.httpclient that return Credentials
 Credentials HttpState.getCredentials(String realm, String host)
          Get the credentials for the given authentication realm on the given host.
 Credentials HttpState.getCredentials(String realm)
          Deprecated. This method does not distinguish between realms on different servers with the same name. Use HttpState.getCredentials(String, String) instead.
 Credentials HttpState.getProxyCredentials(String realm)
          Deprecated. This method does not distinguish between realms on different hosts. Use HttpState.getProxyCredentials(String, String) instead.
 Credentials HttpState.getProxyCredentials(String realm, String proxyHost)
          Get the credentials for the proxy host with the given authentication realm.
 

Methods in org.apache.commons.httpclient with parameters of type Credentials
 void HttpState.setCredentials(String realm, Credentials credentials)
          Deprecated. This method does not distinguish between realms with the same name on different hosts. Use HttpState.setCredentials(String, String, Credentials) instead.
 void HttpState.setCredentials(String realm, String host, Credentials credentials)
          Sets the credentials for the given authentication realm on the given host.
 void HttpState.setProxyCredentials(String realm, Credentials credentials)
          Deprecated. This method does not differentiate between realms with the same name on different servers. Use HttpState.setProxyCredentials(String, String, Credentials) instead.
 void HttpState.setProxyCredentials(String realm, String proxyHost, Credentials credentials)
          Sets the credentials for the given proxy authentication realm on the given proxy host.
 void HttpClient.startSession(String host, int port, Credentials creds)
          Deprecated. use HostConfiguration and HttpState
 void HttpClient.startSession(String host, int port, Credentials creds, boolean https)
          Deprecated. use HostConfiguration and HttpState
 void HttpClient.startSession(URL url, Credentials creds)
          Deprecated. use HostConfiguration and HttpState
 

Uses of Credentials in org.apache.commons.httpclient.auth
 

Methods in org.apache.commons.httpclient.auth with parameters of type Credentials
 String DigestScheme.authenticate(Credentials credentials, String method, String uri)
          Produces a digest authorization string for the given set of Credentials, method name and URI.
 String AuthScheme.authenticate(Credentials credentials, String method, String uri)
          Produces an authorization string for the given set of Credentials, method name and URI using the given authentication scheme.
 String NTLMScheme.authenticate(Credentials credentials, String method, String uri)
          Produces NTLM authorization string for the given set of Credentials.
 String BasicScheme.authenticate(Credentials credentials, String method, String uri)
          Produces basic authorization string for the given set of Credentials.
 



Copyright © 2001-2004 Apache Software Foundation. All Rights Reserved.