public interface HTTPAuthenticationScheme
Defines the methods that should be implemented by classes that provide implementations for the HTTP Authentication Schemes such as BASIC, FORM, DIGEST and CLIENT-CERT.
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.
|
void extractCredential(HttpServletRequest request, DefaultLoginCredentials creds)
Extracts the credentials from the given HttpServletRequest
and populate the DefaultLoginCredentials
with them.
request
- creds
- void challengeClient(HttpServletRequest request, HttpServletResponse response) throws IOException
Challenges the client if no credentials were supplied or the credentials were not extracted in order to continue with the authentication.
request
- response
- IOException
boolean postAuthentication(HttpServletRequest request, HttpServletResponse response) throws IOException
Performs any post-authentication logic regarding of the authentication result.
request
- response
- IOException
Copyright © 2018 JBoss by Red Hat. All rights reserved.