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 AuthenticationMechanismFactory | FACTORY |
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(FormParserFactory formParserFactory, String name, String loginPage, String errorPage, String defaultPage, boolean overrideInitial, IdentityManager identityManager, boolean saveOriginalRequest) |
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) |
protected void | storeInitialLocation(HttpServerExchange exchange, byte[] bytes, int contentLength) This method doesn't save content of request but instead uses data from parameter. |
authenticate, runFormAuth, sendChallenge
public static final AuthenticationMechanismFactory FACTORY
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)
public ServletFormAuthenticationMechanism(FormParserFactory formParserFactory, String name, String loginPage, String errorPage, String defaultPage, boolean overrideInitial, 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 storeInitialLocation(HttpServerExchange exchange, byte[] bytes, int contentLength)
exchange
- bytes
- contentLength
- protected void handleRedirectBack(HttpServerExchange exchange)
handleRedirectBack
in class FormAuthenticationMechanism
Copyright © 2020 JBoss by Red Hat. All rights reserved.