public class FormAuthenticationScheme extends Object implements HTTPAuthenticationScheme
HTTPAuthenticationScheme that supports the Servlet Specification
FORM Authentication Scheme| Modifier and Type | Field and Description |
|---|---|
static String |
J_PASSWORD |
static String |
J_SECURITY_CHECK |
static String |
J_USERNAME |
static String |
SAVED_REQUEST |
static String |
STATE |
| Constructor and Description |
|---|
FormAuthenticationScheme(String realm,
String formLoginPage,
String formErrorPage) |
| Modifier and Type | Method and Description |
|---|---|
void |
challengeClient(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
extractCredential(javax.servlet.http.HttpServletRequest request,
DefaultLoginCredentials creds) |
void |
postAuthentication(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
public static final String J_SECURITY_CHECK
public static final String J_USERNAME
public static final String J_PASSWORD
public static final String SAVED_REQUEST
public static final String STATE
public void extractCredential(javax.servlet.http.HttpServletRequest request,
DefaultLoginCredentials creds)
extractCredential in interface HTTPAuthenticationSchemepublic void challengeClient(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws IOException
challengeClient in interface HTTPAuthenticationSchemeIOExceptionpublic void postAuthentication(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws IOException
postAuthentication in interface HTTPAuthenticationSchemeIOExceptionCopyright © 2013. All Rights Reserved.