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(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.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(javax.servlet.http.HttpServletRequest request,
DefaultLoginCredentials creds)
Extracts the credentials from the given
HttpServletRequest and populate the DefaultLoginCredentials with them. |
boolean |
postAuthentication(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Performs any post-authentication logic regarding of the authentication result.
|
void extractCredential(javax.servlet.http.HttpServletRequest request,
DefaultLoginCredentials creds)
Extracts the credentials from the given HttpServletRequest and populate the DefaultLoginCredentials with them.
request - creds - void challengeClient(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.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 - IOExceptionboolean postAuthentication(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws IOException
Performs any post-authentication logic regarding of the authentication result.
request - response - IOExceptionCopyright © 2013. All Rights Reserved.