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