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
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.jetty.client.api.Authentication
authenticate
-
Constructor Details
-
AbstractAuthentication
-
-
Method Details
-
getType
-
getURI
-
getRealm
-
matches
Description copied from interface:AuthenticationMatchesAuthentications based on the given parameters- Specified by:
matchesin interfaceAuthentication- Parameters:
type- theAuthenticationtype such as "Basic" or "Digest"uri- the request URIrealm- the authentication realm as provided in theWWW-Authenticateresponse header- Returns:
- true if this authentication matches, false otherwise
-
matchesURI
-