HttpServerExchange.
This handler is called early in the processing of the incoming request, subsequently supported authentication mechanisms will
be added to the context, a decision will then be made if authentication is required or optional and the associated mechanisms
will be called.
In addition to the HTTPExchange authentication state can also be associated with the
io.undertow.server.protocol.http.HttpServerConnection and with the io.undertow.server.session.Session however this is
mechanism specific so it is down to the actual mechanisms to decide if there is state that can be re-used.
| Modifier and Type | Field and Description |
|---|---|
| private final AuthenticationMode | |
| private final SecurityContextFactory | contextFactory
References Deprecated
SecurityContextFactory is deprecated or references (maybe indirectly) at least one deprecated element.
|
| private final IdentityManager | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public | SecurityInitialHandler(final AuthenticationMode authenticationMode, final IdentityManager identityManager, final String programaticMechName, final SecurityContextFactory contextFactory, final HttpHandler next)
References Deprecated
SecurityContextFactory is deprecated or references (maybe indirectly) at least one deprecated element.
|
| public | SecurityInitialHandler(final AuthenticationMode authenticationMode, final IdentityManager identityManager, final String programaticMechName, final HttpHandler next)
|
| public | SecurityInitialHandler(final AuthenticationMode authenticationMode, final IdentityManager identityManager, final HttpHandler next)
|
| Modifier and Type | Method and Description |
|---|---|
| public SecurityContext | createSecurityContext(final HttpServerExchange exchange)
Implements abstract io.
|
| authenticationMode | back to summary |
|---|---|
| private final AuthenticationMode authenticationMode | |
| contextFactory | back to summary |
|---|---|
| private final SecurityContextFactory contextFactory
References Deprecated
See corresponding docs for further information. | |
| identityManager | back to summary |
|---|---|
| private final IdentityManager identityManager | |
| programaticMechName | back to summary |
|---|---|
| private final String programaticMechName | |
| SecurityInitialHandler | back to summary |
|---|---|
| public SecurityInitialHandler(final AuthenticationMode authenticationMode, final IdentityManager identityManager, final String programaticMechName, final SecurityContextFactory contextFactory, final HttpHandler next)
References Deprecated
See corresponding docs for further information. | |
| SecurityInitialHandler | back to summary |
|---|---|
| public SecurityInitialHandler(final AuthenticationMode authenticationMode, final IdentityManager identityManager, final String programaticMechName, final HttpHandler next) | |
| SecurityInitialHandler | back to summary |
|---|---|
| public SecurityInitialHandler(final AuthenticationMode authenticationMode, final IdentityManager identityManager, final HttpHandler next) | |
| createSecurityContext | back to summary |
|---|---|
| public SecurityContext createSecurityContext(final HttpServerExchange exchange) Implements abstract io. | |