public interface AuthenticationStore
Authentications and Authentication.Results.| Modifier and Type | Method and 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(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.
|
Authentication.Result |
findAuthenticationResult(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(String type, URI uri, 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(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-2015 Webtide. All Rights Reserved.