io.helidon.webserver.security.PathsConfig
Description
Configuration of a single path security setup
Configuration options
| Key | Type | Description |
|---|---|---|
authentication- | Boolean | If called, authentication failure will not abort request and will continue as anonymous (defaults to false) |
path | String | Path to secure |
authenticate | Boolean | If called, request will go through authentication process - defaults to false (even if authorize is true) |
audit- | String | Override for event-type, defaults to Security |
authorizer | String | Use a named authorizer (as supported by security - if not defined, default authorizer is used, if none defined, all is permitted) |
methods | List< | HTTP methods to match when applying this configured path |
audit | Boolean | Whether to audit this request - defaults to false, if enabled, request is audited with event type "request" |
audit- | String | Override for audit message format, defaults to Security |
sockets | List< | List of sockets this configuration should be applied to |
authenticator | String | Use a named authenticator (as supported by security - if not defined, default authenticator is used) |
authorize | Boolean | Enable authorization for this route |
roles- | List< | An array of allowed roles for this path - must have a security provider supporting roles (either authentication or authorization provider) |
Usages
See the manifest for all available types.