public abstract class AbstractAuthentication extends Object implements Authentication
Authentication.HeaderInfo, Authentication.Result| Constructor and Description |
|---|
AbstractAuthentication(URI uri,
String realm) |
| Modifier and Type | Method and Description |
|---|---|
String |
getRealm() |
abstract String |
getType() |
URI |
getURI() |
boolean |
matches(String type,
URI uri,
String realm)
Matches
Authentications based on the given parameters |
static boolean |
matchesURI(URI uri1,
URI uri2) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitauthenticatepublic abstract String getType()
public URI getURI()
public String getRealm()
public boolean matches(String type, URI uri, String realm)
AuthenticationAuthentications based on the given parametersmatches in interface Authenticationtype - the Authentication type such as "Basic" or "Digest"uri - the request URIrealm - the authentication realm as provided in the WWW-Authenticate response headerCopyright © 1995-2019 Webtide. All Rights Reserved.