public class DigestAuthenticator extends Authenticator
| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
schemeName |
| Constructor | Description |
|---|---|
DigestAuthenticator() |
| Modifier and Type | Method | 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-2018 Apache Software Foundation. All Rights Reserved.