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 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 -
Method Summary
Modifier and TypeMethodDescriptiongetRealm()
Deprecated.abstract String
getType()
Deprecated.getURI()
Deprecated.boolean
Deprecated.MatchesAuthentication
s based on the given parametersstatic boolean
matchesURI
(URI uri1, 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
-
Constructor Details
-
AbstractAuthentication
Deprecated.
-
-
Method Details
-
getType
Deprecated. -
getURI
Deprecated. -
getRealm
Deprecated. -
matches
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
Deprecated.
-