| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| public static final AuthenticationMechanismFactory | |
| public static final String | |
| private final List | |
| private final IdentityManager | |
| private final String | |
| public static final String | |
| public static final String | |
| private final List |
| Access | Constructor and Description |
|---|---|
| public | GenericHeaderAuthenticationMechanism(String mechanismName, List<HttpString> identityHeaders, List<String> sessionCookieNames, IdentityManager identityManager)
|
| Modifier and Type | Method and Description |
|---|---|
| public AuthenticationMechanism. | authenticate(HttpServerExchange
The exchange exchange, SecurityContext securityContext)Implements io. Perform authentication of the request. |
| private String | |
| private String | |
| public AuthenticationMechanism. | sendChallenge(HttpServerExchange
The exchange exchange, SecurityContext The security context securityContext)Implements io. Send an authentication challenge to the remote client. |
| FACTORY | back to summary |
|---|---|
| public static final AuthenticationMechanismFactory FACTORY | |
| IDENTITY_HEADER | back to summary |
|---|---|
| public static final String IDENTITY_HEADER | |
| identityHeaders | back to summary |
|---|---|
| private final List<HttpString> identityHeaders | |
| identityManager | back to summary |
|---|---|
| private final IdentityManager identityManager | |
| mechanismName | back to summary |
|---|---|
| private final String mechanismName | |
| NAME | back to summary |
|---|---|
| public static final String NAME | |
| SESSION_HEADER | back to summary |
|---|---|
| public static final String SESSION_HEADER | |
| sessionCookieNames | back to summary |
|---|---|
| private final List<String> sessionCookieNames | |
| GenericHeaderAuthenticationMechanism | back to summary |
|---|---|
| public GenericHeaderAuthenticationMechanism(String mechanismName, List<HttpString> identityHeaders, List<String> sessionCookieNames, 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
| |
| getPrincipal | back to summary |
|---|---|
| private String getPrincipal(HttpServerExchange exchange) | |
| getSession | back to summary |
|---|---|
| private String getSession(HttpServerExchange exchange) | |
| 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
| |
| 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
| |