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. 
 

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(java.lang.String realm)
          Get the Credentials for the given authentication realm.
 Credentials HttpState.getProxyCredentials(java.lang.String realm)
          Get the Credentials for the proxy with the given authentication realm.
 

Methods in org.apache.commons.httpclient with parameters of type Credentials
 void HttpClient.startSession(java.lang.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(java.lang.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(java.net.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(java.lang.String realm, Credentials credentials)
          Set the Credentials for the given authentication realm.
 void HttpState.setProxyCredentials(java.lang.String realm, Credentials credentials)
          Set the for the proxy with the given authentication realm.
 



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