| Modifier and Type | Field and Description |
|---|---|
| public static final String | |
| private final String | |
| private final FormParserFactory | |
| private final IdentityManager | |
| public static final String | |
| private final String | |
| private final String | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public | |
| public | FormAuthenticationMechanism(final String name, final String loginPage, final String errorPage, final String postLocation)
|
| public | FormAuthenticationMechanism(final FormParserFactory formParserFactory, final String name, final String loginPage, final String errorPage)
|
| public | FormAuthenticationMechanism(final FormParserFactory formParserFactory, final String name, final String loginPage, final String errorPage, final IdentityManager identityManager)
|
| public | FormAuthenticationMechanism(final FormParserFactory formParserFactory, final String name, final String loginPage, final String errorPage, final String postLocation)
|
| public | FormAuthenticationMechanism(final FormParserFactory formParserFactory, final String name, final String loginPage, final String errorPage, final String postLocation, final IdentityManager identityManager)
|
| Modifier and Type | Method and Description |
|---|---|
| public AuthenticationMechanism. | authenticate(final HttpServerExchange
The exchange exchange, final SecurityContext securityContext)Implements io. Perform authentication of the request. |
| private IdentityManager | |
| protected void | |
| public AuthenticationMechanism. | |
| public AuthenticationMechanism. | sendChallenge(final HttpServerExchange
The exchange exchange, final SecurityContext The security context securityContext)Implements io. Send an authentication challenge to the remote client. |
| pack-priv static void | |
| protected Integer | |
| protected void |
| DEFAULT_POST_LOCATION | back to summary |
|---|---|
| public static final String DEFAULT_POST_LOCATION | |
| errorPage | back to summary |
|---|---|
| private final String errorPage | |
| formParserFactory | back to summary |
|---|---|
| private final FormParserFactory formParserFactory | |
| identityManager | back to summary |
|---|---|
| private final IdentityManager identityManager | |
| LOCATION_ATTRIBUTE | back to summary |
|---|---|
| public static final String LOCATION_ATTRIBUTE | |
| loginPage | back to summary |
|---|---|
| private final String loginPage | |
| name | back to summary |
|---|---|
| private final String name | |
| postLocation | back to summary |
|---|---|
| private final String postLocation | |
| FormAuthenticationMechanism | back to summary |
|---|---|
| public FormAuthenticationMechanism(final String name, final String loginPage, final String errorPage) | |
| FormAuthenticationMechanism | back to summary |
|---|---|
| public FormAuthenticationMechanism(final String name, final String loginPage, final String errorPage, final String postLocation) | |
| FormAuthenticationMechanism | back to summary |
|---|---|
| public FormAuthenticationMechanism(final FormParserFactory formParserFactory, final String name, final String loginPage, final String errorPage) | |
| FormAuthenticationMechanism | back to summary |
|---|---|
| public FormAuthenticationMechanism(final FormParserFactory formParserFactory, final String name, final String loginPage, final String errorPage, final IdentityManager identityManager) | |
| FormAuthenticationMechanism | back to summary |
|---|---|
| public FormAuthenticationMechanism(final FormParserFactory formParserFactory, final String name, final String loginPage, final String errorPage, final String postLocation) | |
| FormAuthenticationMechanism | back to summary |
|---|---|
| public FormAuthenticationMechanism(final FormParserFactory formParserFactory, final String name, final String loginPage, final String errorPage, final String postLocation, final IdentityManager identityManager) | |
| authenticate | back to summary |
|---|---|
| public AuthenticationMechanism. Implements io. Doc from io. Perform authentication of the request. Any potentially blocking work should be performed in the handoff executor provided
| |
| getIdentityManager | back to summary |
|---|---|
private IdentityManager getIdentityManager(SecurityContext securityContext)
| |
| handleRedirectBack | back to summary |
|---|---|
| protected void handleRedirectBack(final HttpServerExchange exchange) | |
| runFormAuth | back to summary |
|---|---|
| public AuthenticationMechanism. | |
| sendChallenge | back to summary |
|---|---|
| public AuthenticationMechanism. Implements io. Doc from io. Send an authentication challenge to the remote client.
The individual mechanisms should update the response headers and body of the message as appropriate however they should
not set the response code, instead that should be indicated in the
| |
| sendRedirect | back to summary |
|---|---|
| pack-priv static void sendRedirect(final HttpServerExchange exchange, final String location) | |
| servePage | back to summary |
|---|---|
| protected Integer servePage(final HttpServerExchange exchange, final String location) | |
| storeInitialLocation | back to summary |
|---|---|
| protected void storeInitialLocation(final HttpServerExchange exchange) | |