public abstract class AbstractAuthentication extends java.lang.Object implements Authentication
Authentication.HeaderInfo, Authentication.ResultANY_REALM| Constructor and Description |
|---|
AbstractAuthentication(java.net.URI uri,
java.lang.String realm) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getRealm() |
abstract java.lang.String |
getType() |
java.net.URI |
getURI() |
boolean |
matches(java.lang.String type,
java.net.URI uri,
java.lang.String realm)
Matches
Authentications based on the given parameters |
static boolean |
matchesURI(java.net.URI uri1,
java.net.URI uri2) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitauthenticatepublic AbstractAuthentication(java.net.URI uri,
java.lang.String realm)
public abstract java.lang.String getType()
public java.net.URI getURI()
public java.lang.String getRealm()
public boolean matches(java.lang.String type,
java.net.URI uri,
java.lang.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 headerpublic static boolean matchesURI(java.net.URI uri1,
java.net.URI uri2)
Copyright © 1995–2022 Webtide. All rights reserved.