org.apache.http.client.CredentialsProvider |
Known Indirect Subclasses |
Abstract credentials provider that maintains a collection of user credentials.
Implementations of this interface must be thread-safe. Access to shared data must be synchronized as methods of this interface may be executed from multiple threads.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Clears all credentials.
| |||||||||||
Get the
credentials for the given authentication scope. | |||||||||||
Sets the
credentials for the given authentication
scope. |
Get the credentials
for the given authentication scope.
authscope | the authentication scope |
---|
Sets the credentials
for the given authentication
scope. Any previous credentials for the given scope will be overwritten.
authscope | the authentication scope |
---|---|
credentials | the authentication credentials
for the given scope. |