public class DigestAuthenticator extends Authenticator
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
schemeName |
| Constructor and Description |
|---|
DigestAuthenticator() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
java.lang.String |
getSchemeName()
Get the authentication method.
|
parseWWWAuthenticateHeaderpublic static final java.lang.String schemeName
public java.lang.String getAuthorization(java.lang.String requestUri,
java.lang.String WWWAuthenticate,
java.util.Map<java.lang.String,java.lang.Object> userProperties)
throws AuthenticationException
AuthenticatorgetAuthorization in class AuthenticatorrequestUri - The request URIWWWAuthenticate - The server auth challengeuserProperties - The user informationAuthenticationException - When an error occurspublic java.lang.String getSchemeName()
AuthenticatorgetSchemeName in class AuthenticatorCopyright © 2000-2019 Apache Software Foundation. All Rights Reserved.