public class ServletFormAuthenticationMechanism extends FormAuthenticationMechanism
AuthenticationMechanism.AuthenticationMechanismOutcome, AuthenticationMechanism.ChallengeResult
DEFAULT_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, sendChallenge
public ServletFormAuthenticationMechanism(String name, String loginPage, String errorPage)
protected Integer servePage(HttpServerExchange exchange, String location)
servePage
in class FormAuthenticationMechanism
protected void storeInitialLocation(HttpServerExchange exchange)
storeInitialLocation
in class FormAuthenticationMechanism
protected void handleRedirectBack(HttpServerExchange exchange)
handleRedirectBack
in class FormAuthenticationMechanism
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.