public class ServletFormAuthenticationMechanism extends FormAuthenticationMechanism
Modifier and Type | Class and Description |
---|---|
static class |
ServletFormAuthenticationMechanism.Factory |
AuthenticationMechanism.AuthenticationMechanismOutcome, AuthenticationMechanism.ChallengeResult
Modifier and Type | Field and Description |
---|---|
static String |
SAVE_ORIGINAL_REQUEST |
DEFAULT_POST_LOCATION, LOCATION_ATTRIBUTE
Constructor and Description |
---|
ServletFormAuthenticationMechanism(FormParserFactory formParserFactory,
String name,
String loginPage,
String errorPage) |
ServletFormAuthenticationMechanism(FormParserFactory formParserFactory,
String name,
String loginPage,
String errorPage,
IdentityManager identityManager) |
ServletFormAuthenticationMechanism(FormParserFactory formParserFactory,
String name,
String loginPage,
String errorPage,
IdentityManager identityManager,
boolean saveOriginalRequest) |
ServletFormAuthenticationMechanism(FormParserFactory formParserFactory,
String name,
String loginPage,
String errorPage,
String postLocation) |
ServletFormAuthenticationMechanism(String name,
String loginPage,
String errorPage)
Deprecated.
|
ServletFormAuthenticationMechanism(String name,
String loginPage,
String errorPage,
String postLocation)
Deprecated.
|
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 static final String SAVE_ORIGINAL_REQUEST
@Deprecated public ServletFormAuthenticationMechanism(String name, String loginPage, String errorPage)
@Deprecated public ServletFormAuthenticationMechanism(String name, String loginPage, String errorPage, String postLocation)
public ServletFormAuthenticationMechanism(FormParserFactory formParserFactory, String name, String loginPage, String errorPage, String postLocation)
public ServletFormAuthenticationMechanism(FormParserFactory formParserFactory, String name, String loginPage, String errorPage)
public ServletFormAuthenticationMechanism(FormParserFactory formParserFactory, String name, String loginPage, String errorPage, IdentityManager identityManager)
public ServletFormAuthenticationMechanism(FormParserFactory formParserFactory, String name, String loginPage, String errorPage, IdentityManager identityManager, boolean saveOriginalRequest)
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 © 2017 JBoss by Red Hat. All rights reserved.