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
          Username and password Credentials.
 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.
 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 with the given authentication realm on the given host.
 

Methods in org.apache.commons.httpclient with parameters of type Credentials
 void HttpClient.startSession(String host, int port, Credentials creds)
          Deprecated. use hostConfiguration and httpState Sets the host, port, protocol(http) and credentials to be used when executing a method.
 void HttpClient.startSession(String host, int port, Credentials creds, boolean https)
          Deprecated. use hostConfiguration and httpState Sets the host, port, protocol and credentials to be used when executing a method.
 void HttpClient.startSession(URL url, Credentials creds)
          Deprecated. use hostConfiguration and httpState Sets the host, port, protocol and credentials to be used when executing a method.

Note that everything but the protocol, host and port of the given url is ignored.

 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, Credentials) instead.
 void HttpState.setCredentials(String realm, String host, Credentials credentials)
          Sets the credentials for realm on 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)
          Set the credentials for the proxy with the given authentication realm.
 

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-2003 Apache Software Foundation. All Rights Reserved.