HttpAuthenticationStorepublic interface AuthenticationStore
Authentications and Authentication.Results.| Modifier and Type | Method | Description |
|---|---|---|
void |
addAuthentication(Authentication authentication) |
|
void |
addAuthenticationResult(Authentication.Result result) |
|
void |
clearAuthenticationResults() |
Removes all authentication results stored
|
void |
clearAuthentications() |
Removes all
Authentications stored |
Authentication |
findAuthentication(java.lang.String type,
java.net.URI uri,
java.lang.String realm) |
Returns the authentication that matches the given type (for example, "Basic" or "Digest"),
the given request URI and the given realm.
|
Authentication.Result |
findAuthenticationResult(java.net.URI uri) |
Returns an
Authentication.Result that matches the given URI, or null if no
Authentication.Results match the given URI. |
void |
removeAuthentication(Authentication authentication) |
|
void |
removeAuthenticationResult(Authentication.Result result) |
void addAuthentication(Authentication authentication)
authentication - the Authentication to addvoid removeAuthentication(Authentication authentication)
authentication - the Authentication to removevoid clearAuthentications()
Authentications storedAuthentication findAuthentication(java.lang.String type, java.net.URI uri, java.lang.String realm)
type - the Authentication type such as "Basic" or "Digest"uri - the request URIrealm - the authentication realmvoid addAuthenticationResult(Authentication.Result result)
result - the Authentication.Result to addvoid removeAuthenticationResult(Authentication.Result result)
result - the Authentication.Result to removevoid clearAuthenticationResults()
Authentication.Result findAuthenticationResult(java.net.URI uri)
Authentication.Result that matches the given URI, or null if no
Authentication.Results match the given URI.uri - the request URIAuthentication.Result that matches the given URI, or nullCopyright © 1995–2017 Webtide. All rights reserved.