Class AbstractAuthenticationHandler
java.lang.Object
org.apache.hc.client5.testing.auth.AbstractAuthenticationHandler
- All Implemented Interfaces:
AuthenticationHandler<String>
- Direct Known Subclasses:
BasicAuthenticationHandler
,BearerAuthenticationHandler
abstract class AbstractAuthenticationHandler
extends Object
implements AuthenticationHandler<String>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal String
(package private) abstract String
decodeChallenge
(String challenge) final String
extractAuthToken
(String challengeResponse) (package private) abstract String
-
Constructor Details
-
AbstractAuthenticationHandler
AbstractAuthenticationHandler()
-
-
Method Details
-
getSchemeName
-
challenge
- Specified by:
challenge
in interfaceAuthenticationHandler<String>
-
decodeChallenge
-
extractAuthToken
public final String extractAuthToken(String challengeResponse) throws org.apache.hc.core5.http.HttpException - Specified by:
extractAuthToken
in interfaceAuthenticationHandler<String>
- Throws:
org.apache.hc.core5.http.HttpException
-