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
-
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
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.jetty.client.api.Authentication
authenticate
-
Constructor Details
-
AbstractAuthentication
-
-
Method Details
-
getType
-
getURI
-
getRealm
-
matches
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
-