Package org.eclipse.jetty.client.util
Class AbstractAuthentication
- java.lang.Object
-
- org.eclipse.jetty.client.util.AbstractAuthentication
-
- All Implemented Interfaces:
Authentication
- Direct Known Subclasses:
BasicAuthentication
,DigestAuthentication
,SPNEGOAuthentication
@Deprecated(since="2021-05-27") public abstract class AbstractAuthentication extends java.lang.Object implements Authentication
Deprecated.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eclipse.jetty.client.api.Authentication
Authentication.HeaderInfo, Authentication.Result
-
-
Field Summary
-
Fields inherited from interface org.eclipse.jetty.client.api.Authentication
ANY_REALM
-
-
Constructor Summary
Constructors Constructor Description AbstractAuthentication(java.net.URI uri, java.lang.String realm)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.String
getRealm()
Deprecated.abstract java.lang.String
getType()
Deprecated.java.net.URI
getURI()
Deprecated.boolean
matches(java.lang.String type, java.net.URI uri, java.lang.String realm)
Deprecated.MatchesAuthentication
s based on the given parametersstatic boolean
matchesURI(java.net.URI uri1, java.net.URI uri2)
Deprecated.-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.jetty.client.api.Authentication
authenticate
-
-
-
-
Method Detail
-
getType
public abstract java.lang.String getType()
Deprecated.
-
getURI
public java.net.URI getURI()
Deprecated.
-
getRealm
public java.lang.String getRealm()
Deprecated.
-
matches
public boolean matches(java.lang.String type, java.net.URI uri, java.lang.String realm)
Deprecated.Description copied from interface:Authentication
MatchesAuthentication
s based on the given parameters- Specified by:
matches
in interfaceAuthentication
- Parameters:
type
- theAuthentication
type such as "Basic" or "Digest"uri
- the request URIrealm
- the authentication realm as provided in theWWW-Authenticate
response header- Returns:
- true if this authentication matches, false otherwise
-
matchesURI
public static boolean matchesURI(java.net.URI uri1, java.net.URI uri2)
Deprecated.
-
-