| Modifier and Type | Class and Description |
|---|---|
| public static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| public static final AuthenticationMechanismFactory | |
| private static final SessionListener | |
| private final boolean | |
| public static final String | |
| private final boolean | |
| private final Set | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| public | ServletFormAuthenticationMechanism(final String name, final String loginPage, final String errorPage)
Deprecated
|
| public | ServletFormAuthenticationMechanism(final String name, final String loginPage, final String errorPage, final String postLocation)
Deprecated
|
| 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)
|
| Modifier and Type | Method and Description |
|---|---|
| protected void | handleRedirectBack(final HttpServerExchange exchange)
Overrides io.
|
| protected Integer | servePage(final HttpServerExchange exchange, final String location)
Overrides io.
|
| protected void | storeInitialLocation(final HttpServerExchange exchange)
Overrides io.
|
| protected void | storeInitialLocation(final HttpServerExchange exchange, byte[] bytes, int contentLength)
This method doesn't save content of request but instead uses data from parameter. |
| defaultPage | back to summary |
|---|---|
| private final String defaultPage | |
| FACTORY | back to summary |
|---|---|
| public static final AuthenticationMechanismFactory FACTORY | |
| LISTENER | back to summary |
|---|---|
| private static final SessionListener LISTENER | |
| overrideInitial | back to summary |
|---|---|
| private final boolean overrideInitial | |
| SAVE_ORIGINAL_REQUEST | back to summary |
|---|---|
| public static final String SAVE_ORIGINAL_REQUEST | |
| saveOriginalRequest | back to summary |
|---|---|
| private final boolean saveOriginalRequest | |
| seenSessionManagers | back to summary |
|---|---|
| private final Set<SessionManager> seenSessionManagers | |
| SESSION_KEY | back to summary |
|---|---|
| private static final String SESSION_KEY | |
| ServletFormAuthenticationMechanism | back to summary |
|---|---|
| public ServletFormAuthenticationMechanism(final String name, final String loginPage, final String errorPage)
Deprecated
| |
| ServletFormAuthenticationMechanism | back to summary |
|---|---|
| public ServletFormAuthenticationMechanism(final String name, final String loginPage, final String errorPage, final String postLocation)
Deprecated
| |
| ServletFormAuthenticationMechanism | back to summary |
|---|---|
| public ServletFormAuthenticationMechanism(FormParserFactory formParserFactory, String name, String loginPage, String errorPage, String postLocation) | |
| ServletFormAuthenticationMechanism | back to summary |
|---|---|
| public ServletFormAuthenticationMechanism(FormParserFactory formParserFactory, String name, String loginPage, String errorPage) | |
| ServletFormAuthenticationMechanism | back to summary |
|---|---|
| public ServletFormAuthenticationMechanism(FormParserFactory formParserFactory, String name, String loginPage, String errorPage, IdentityManager identityManager) | |
| ServletFormAuthenticationMechanism | back to summary |
|---|---|
| public ServletFormAuthenticationMechanism(FormParserFactory formParserFactory, String name, String loginPage, String errorPage, IdentityManager identityManager, boolean saveOriginalRequest) | |
| ServletFormAuthenticationMechanism | back to summary |
|---|---|
| public ServletFormAuthenticationMechanism(FormParserFactory formParserFactory, String name, String loginPage, String errorPage, String defaultPage, boolean overrideInitial, IdentityManager identityManager, boolean saveOriginalRequest) | |
| handleRedirectBack | back to summary |
|---|---|
| protected void handleRedirectBack(final HttpServerExchange exchange) Overrides io.
| |
| servePage | back to summary |
|---|---|
| protected Integer servePage(final HttpServerExchange exchange, final String location) Overrides io.
| |
| storeInitialLocation | back to summary |
|---|---|
| protected void storeInitialLocation(final HttpServerExchange exchange) Overrides io.
| |
| storeInitialLocation | back to summary |
|---|---|
| protected void storeInitialLocation(final HttpServerExchange exchange, byte[] bytes, int contentLength) This method doesn't save content of request but instead uses data from parameter. This should be used in case that data from request was already read and therefore it is not possible to save them. | |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public AuthenticationMechanism | create(String
The name under which this factory was registered mechanismName, IdentityManager the IdentityManager instance asscociated with the deployment identityManager, FormParserFactory Parser to create a form data parser for a given request. formParserFactory, Map<String, String> The properties properties)Overrides default io. Creates an authentication mechanism that needs access to the deployment IdentityManager and specified properties |
| Factory | back to summary |
|---|---|
| public Factory(IdentityManager identityManager)
Deprecated
| |
| Factory | back to summary |
|---|---|
| public Factory() | |
| create | back to summary |
|---|---|
| public AuthenticationMechanism create(String mechanismName, IdentityManager identityManager, FormParserFactory formParserFactory, Map<String, String> properties) Overrides default io. Doc from io. Creates an authentication mechanism that needs access to the deployment IdentityManager and specified properties
| |
| Modifier and Type | Field and Description |
|---|---|
| private int |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public int | getStatus()
Overrides jakarta. Implements jakarta. The default behaviour of this method is to call |
| public void | setStatus(int
the status code sc)Overrides jakarta. Implements jakarta. The default behavior of this method is to call setStatus(int sc) on the wrapped response object. |
| status | back to summary |
|---|---|
| private int status | |
| FormResponseWrapper | back to summary |
|---|---|
| private FormResponseWrapper(final HttpServletResponse wrapped) | |
| getStatus | back to summary |
|---|---|
| public int getStatus() Overrides jakarta. Implements jakarta. Doc from jakarta. The default behaviour of this method is to call
| |
| setStatus | back to summary |
|---|---|
| public void setStatus(int sc) Overrides jakarta. Implements jakarta. Doc from jakarta. The default behavior of this method is to call setStatus(int sc) on the wrapped response object.
| |