public class DigestAuthenticationScheme extends Object implements HTTPAuthenticationScheme
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_REALM_NAME |
static String |
REALM_NAME_INIT_PARAM |
| Constructor and Description |
|---|
DigestAuthenticationScheme(FilterConfig config) |
| Modifier and Type | Method and Description |
|---|---|
void |
challengeClient(HttpServletRequest request,
HttpServletResponse response)
Challenges the client if no credentials were supplied or the credentials were not extracted in order to continue with the authentication.
|
void |
extractCredential(HttpServletRequest request,
DefaultLoginCredentials creds)
Extracts the credentials from the given
HttpServletRequest and populate the DefaultLoginCredentials with them. |
boolean |
postAuthentication(HttpServletRequest request,
HttpServletResponse response)
Performs any post-authentication logic regarding of the authentication result.
|
public static final String REALM_NAME_INIT_PARAM
public static final String DEFAULT_REALM_NAME
public DigestAuthenticationScheme(FilterConfig config)
public void extractCredential(HttpServletRequest request, DefaultLoginCredentials creds)
HTTPAuthenticationSchemeExtracts the credentials from the given HttpServletRequest and populate the DefaultLoginCredentials with them.
extractCredential in interface HTTPAuthenticationSchemepublic void challengeClient(HttpServletRequest request, HttpServletResponse response) throws IOException
HTTPAuthenticationSchemeChallenges the client if no credentials were supplied or the credentials were not extracted in order to continue with the authentication.
challengeClient in interface HTTPAuthenticationSchemeIOExceptionpublic boolean postAuthentication(HttpServletRequest request, HttpServletResponse response) throws IOException
HTTPAuthenticationSchemePerforms any post-authentication logic regarding of the authentication result.
postAuthentication in interface HTTPAuthenticationSchemeIOExceptionCopyright © 2018 JBoss by Red Hat. All rights reserved.