public class HttpAuthenticationStore extends Object implements AuthenticationStore
| Constructor and Description |
|---|
HttpAuthenticationStore() |
| 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) |
public void addAuthentication(Authentication authentication)
addAuthentication in interface AuthenticationStoreauthentication - the Authentication to addpublic void removeAuthentication(Authentication authentication)
removeAuthentication in interface AuthenticationStoreauthentication - the Authentication to removepublic void clearAuthentications()
AuthenticationStoreAuthentications storedclearAuthentications in interface AuthenticationStorepublic Authentication findAuthentication(String type, URI uri, String realm)
AuthenticationStorefindAuthentication in interface AuthenticationStoretype - the Authentication type such as "Basic" or "Digest"uri - the request URIrealm - the authentication realmpublic void addAuthenticationResult(Authentication.Result result)
addAuthenticationResult in interface AuthenticationStoreresult - the Authentication.Result to addpublic void removeAuthenticationResult(Authentication.Result result)
removeAuthenticationResult in interface AuthenticationStoreresult - the Authentication.Result to removepublic void clearAuthenticationResults()
AuthenticationStoreclearAuthenticationResults in interface AuthenticationStorepublic Authentication.Result findAuthenticationResult(URI uri)
AuthenticationStoreAuthentication.Result that matches the given URI, or null if no
Authentication.Results match the given URI.findAuthenticationResult in interface AuthenticationStoreuri - the request URIAuthentication.Result that matches the given URI, or nullCopyright © 1995-2015 Webtide. All Rights Reserved.