io.undertow.security.api.AuthenticationMechanism
public class ServletFormAuthenticationMechanism
extends io.undertow.security.impl.FormAuthenticationMechanism
Modifier and Type | Class | Description |
---|---|---|
static class |
ServletFormAuthenticationMechanism.Factory |
Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
SAVE_ORIGINAL_REQUEST |
Constructor | Description |
---|---|
ServletFormAuthenticationMechanism(io.undertow.server.handlers.form.FormParserFactory formParserFactory,
java.lang.String name,
java.lang.String loginPage,
java.lang.String errorPage) |
|
ServletFormAuthenticationMechanism(io.undertow.server.handlers.form.FormParserFactory formParserFactory,
java.lang.String name,
java.lang.String loginPage,
java.lang.String errorPage,
io.undertow.security.idm.IdentityManager identityManager) |
|
ServletFormAuthenticationMechanism(io.undertow.server.handlers.form.FormParserFactory formParserFactory,
java.lang.String name,
java.lang.String loginPage,
java.lang.String errorPage,
io.undertow.security.idm.IdentityManager identityManager,
boolean saveOriginalRequest) |
|
ServletFormAuthenticationMechanism(io.undertow.server.handlers.form.FormParserFactory formParserFactory,
java.lang.String name,
java.lang.String loginPage,
java.lang.String errorPage,
java.lang.String postLocation) |
|
ServletFormAuthenticationMechanism(java.lang.String name,
java.lang.String loginPage,
java.lang.String errorPage) |
Deprecated.
|
ServletFormAuthenticationMechanism(java.lang.String name,
java.lang.String loginPage,
java.lang.String errorPage,
java.lang.String postLocation) |
Deprecated.
|
Modifier and Type | Method | Description |
---|---|---|
protected void |
handleRedirectBack(io.undertow.server.HttpServerExchange exchange) |
|
protected java.lang.Integer |
servePage(io.undertow.server.HttpServerExchange exchange,
java.lang.String location) |
|
protected void |
storeInitialLocation(io.undertow.server.HttpServerExchange exchange) |
|
protected void |
storeInitialLocation(io.undertow.server.HttpServerExchange exchange,
byte[] bytes,
int contentLength) |
This method doesn't save content of request but instead uses data from parameter.
|
public static final java.lang.String SAVE_ORIGINAL_REQUEST
@Deprecated public ServletFormAuthenticationMechanism(java.lang.String name, java.lang.String loginPage, java.lang.String errorPage)
@Deprecated public ServletFormAuthenticationMechanism(java.lang.String name, java.lang.String loginPage, java.lang.String errorPage, java.lang.String postLocation)
public ServletFormAuthenticationMechanism(io.undertow.server.handlers.form.FormParserFactory formParserFactory, java.lang.String name, java.lang.String loginPage, java.lang.String errorPage, java.lang.String postLocation)
public ServletFormAuthenticationMechanism(io.undertow.server.handlers.form.FormParserFactory formParserFactory, java.lang.String name, java.lang.String loginPage, java.lang.String errorPage)
public ServletFormAuthenticationMechanism(io.undertow.server.handlers.form.FormParserFactory formParserFactory, java.lang.String name, java.lang.String loginPage, java.lang.String errorPage, io.undertow.security.idm.IdentityManager identityManager)
public ServletFormAuthenticationMechanism(io.undertow.server.handlers.form.FormParserFactory formParserFactory, java.lang.String name, java.lang.String loginPage, java.lang.String errorPage, io.undertow.security.idm.IdentityManager identityManager, boolean saveOriginalRequest)
protected java.lang.Integer servePage(io.undertow.server.HttpServerExchange exchange, java.lang.String location)
servePage
in class io.undertow.security.impl.FormAuthenticationMechanism
protected void storeInitialLocation(io.undertow.server.HttpServerExchange exchange)
storeInitialLocation
in class io.undertow.security.impl.FormAuthenticationMechanism
protected void storeInitialLocation(io.undertow.server.HttpServerExchange exchange, byte[] bytes, int contentLength)
exchange
- bytes
- contentLength
- protected void handleRedirectBack(io.undertow.server.HttpServerExchange exchange)
handleRedirectBack
in class io.undertow.security.impl.FormAuthenticationMechanism
Copyright © 2018. All rights reserved.