AuthenticationMechanism which uses any cached AuthenticatedSessions.
| Modifier and Type | Field and Description |
|---|---|
| private final IdentityManager |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public AuthenticationMechanism. | authenticate(HttpServerExchange
The exchange exchange, SecurityContext securityContext)Implements io. Perform authentication of the request. |
| private IdentityManager | |
| public AuthenticationMechanism. | runCached(final HttpServerExchange exchange, final SecurityContext securityContext, final AuthenticatedSessionManager sessionManager)
|
| public AuthenticationMechanism. | sendChallenge(HttpServerExchange
The exchange exchange, SecurityContext The security context securityContext)Implements io. Send an authentication challenge to the remote client. |
| identityManager | back to summary |
|---|---|
| private final IdentityManager identityManager | |
| CachedAuthenticatedSessionMechanism | back to summary |
|---|---|
| public CachedAuthenticatedSessionMechanism() | |
| CachedAuthenticatedSessionMechanism | back to summary |
|---|---|
| public CachedAuthenticatedSessionMechanism(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)
| |
| runCached | 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
| |