public abstract class Authenticator extends Object
Constructor and Description |
---|
Authenticator() |
Modifier and Type | Method and Description |
---|---|
abstract String |
getAuthorization(String requestUri,
String WWWAuthenticate,
Map<String,Object> UserProperties)
Generate the authentication header that will be sent to the server.
|
abstract String |
getSchemeName()
Get the authentication method.
|
Map<String,String> |
parseWWWAuthenticateHeader(String WWWAuthenticate)
Utility method to parse the authentication header.
|
public abstract String getAuthorization(String requestUri, String WWWAuthenticate, Map<String,Object> UserProperties) throws AuthenticationException
requestUri
- The request URIWWWAuthenticate
- The server auth challengeUserProperties
- The user informationAuthenticationException
- When an error occurspublic abstract String getSchemeName()
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.