public class DigestAuthenticator extends Authenticator
| Modifier and Type | Field and Description |
|---|---|
static String |
schemeName |
| Constructor and Description |
|---|
DigestAuthenticator() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAuthorization(String requestUri,
String WWWAuthenticate,
Map<String,Object> userProperties)
Generate the authentication header that will be sent to the server.
|
String |
getSchemeName()
Get the authentication method.
|
parseWWWAuthenticateHeaderpublic static final String schemeName
public String getAuthorization(String requestUri, String WWWAuthenticate, Map<String,Object> userProperties) throws AuthenticationException
AuthenticatorgetAuthorization in class AuthenticatorrequestUri - The request URIWWWAuthenticate - The server auth challengeuserProperties - The user informationAuthenticationException - When an error occurspublic String getSchemeName()
AuthenticatorgetSchemeName in class AuthenticatorCopyright © 2000-2020 Apache Software Foundation. All Rights Reserved.