Authentications and Authentication.Result s.
| Modifier and Type | Method and Description |
|---|---|
| public void | addAuthentication(Authentication
the authentication)Authentication to addAdd the |
| public void | addAuthenticationResult(Authentication.
the resultAuthentication. to addAdd the |
| public void | |
| public void | |
| public Authentication | Returns: the authentication that matches the given parameters, or nullthe type, URI Authentication type such as "Basic" or "Digest"the request URI uri, String the authentication realm realm)Returns the authentication that matches the given type (for example, "Basic" or "Digest"), the given request URI and the given realm. |
| public Authentication. | Returns: theAuthentication. that matches the given URI, or nullthe request URI uri)Returns an |
| public default boolean | Returns: false if there are no stored authentication results, true if there may be some.
|
| public void | removeAuthentication(Authentication
the authentication)Authentication to removeRemove an Authentication. |
| public void | removeAuthenticationResult(Authentication.
the resultAuthentication. to removeRemove and Authentication Result |
| addAuthentication | back to summary |
|---|---|
| public void addAuthentication(Authentication authentication) Add the
| |
| addAuthenticationResult | back to summary |
|---|---|
| public void addAuthenticationResult(Authentication. Add the
| |
| clearAuthenticationResults | back to summary |
|---|---|
| public void clearAuthenticationResults() Removes all authentication results stored | |
| clearAuthentications | back to summary |
|---|---|
| public void clearAuthentications() Removes all | |
| findAuthentication | back to summary |
|---|---|
| public Authentication findAuthentication(String type, URI uri, String realm) Returns the authentication that matches the given type (for example, "Basic" or "Digest"), the given request URI and the given realm. If no such authentication can be found, returns null.
| |
| findAuthenticationResult | back to summary |
|---|---|
| public Authentication. Returns an
| |
| hasAuthenticationResults | back to summary |
|---|---|
public default boolean hasAuthenticationResults()
| |
| removeAuthentication | back to summary |
|---|---|
| public void removeAuthentication(Authentication authentication) Remove an Authentication.
| |
| removeAuthenticationResult | back to summary |
|---|---|
| public void removeAuthenticationResult(Authentication. Remove and Authentication Result
| |