CredentialsProvider.
| Modifier and Type | Field and Description |
|---|---|
| private final ConcurrentHashMap |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public Credentials | getCredentials(final AuthScope authscope)
Implements org. credentials for the given authentication scope.
|
| private static Credentials | Returns: the credentialsthe credentials hash map map, final AuthScope authscope)Find matching |
| public void | setCredentials(final AuthScope authscope, final Credentials
the authentication credentials)credentials
for the given scope.Implements org. credentials for the given authentication
scope.
|
| public String |
| credMap | back to summary |
|---|---|
| private final ConcurrentHashMap<AuthScope, Credentials> credMap | |
| BasicCredentialsProvider | back to summary |
|---|---|
| public BasicCredentialsProvider() Default constructor. | |
| clear | back to summary |
|---|---|
| public void clear() Implements org. Doc from org. Clears all credentials.
| |
| getCredentials | back to summary |
|---|---|
| public Credentials getCredentials(final AuthScope authscope) Implements org. Doc from org. Get the
| |
| matchCredentials | back to summary |
|---|---|
| private static Credentials matchCredentials(final Map<AuthScope, Credentials> map, final AuthScope authscope) Find matching
| |
| setCredentials | back to summary |
|---|---|
| public void setCredentials(final AuthScope authscope, final Credentials credentials) Implements org. Doc from org. Sets the
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |