public class ServletFormAuthenticationMechanism extends FormAuthenticationMechanism
AuthenticationMechanism.AuthenticationMechanismOutcome, AuthenticationMechanism.ChallengeResultDEFAULT_POST_LOCATION, LOCATION_COOKIE| Constructor and Description |
|---|
ServletFormAuthenticationMechanism(String name,
String loginPage,
String errorPage) |
ServletFormAuthenticationMechanism(String name,
String loginPage,
String errorPage,
String postLocation) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
handleRedirectBack(HttpServerExchange exchange) |
protected Integer |
servePage(HttpServerExchange exchange,
String location) |
protected void |
storeInitialLocation(HttpServerExchange exchange) |
authenticate, runFormAuth, sendChallengepublic ServletFormAuthenticationMechanism(String name, String loginPage, String errorPage)
protected Integer servePage(HttpServerExchange exchange, String location)
servePage in class FormAuthenticationMechanismprotected void storeInitialLocation(HttpServerExchange exchange)
storeInitialLocation in class FormAuthenticationMechanismprotected void handleRedirectBack(HttpServerExchange exchange)
handleRedirectBack in class FormAuthenticationMechanismCopyright © 2013 JBoss by Red Hat. All Rights Reserved.