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.
|
parseWWWAuthenticateHeader
public static final String schemeName
public String getAuthorization(String requestUri, String WWWAuthenticate, Map<String,Object> userProperties) throws AuthenticationException
Authenticator
getAuthorization
in class Authenticator
requestUri
- The request URIWWWAuthenticate
- The server auth challengeuserProperties
- The user informationAuthenticationException
- When an error occurspublic String getSchemeName()
Authenticator
getSchemeName
in class Authenticator
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.