Skip to content

io.helidon.webserver.security.SecurityHandler

Description

Configuration of a io.helidon.webserver.security.SecurityHandler

Configuration options

KeyTypeDescription
authentication-optionalBooleanIf called, authentication failure will not abort request and will continue as anonymous (defaults to false)
authenticateBooleanIf called, request will go through authentication process - defaults to false (even if authorize is true)
audit-event-typeStringOverride for event-type, defaults to SecurityHandler#DEFAULT_AUDIT_EVENT_TYPE
authorizerStringUse a named authorizer (as supported by security - if not defined, default authorizer is used, if none defined, all is permitted)
auditBooleanWhether to audit this request - defaults to false, if enabled, request is audited with event type "request"
audit-message-formatStringOverride for audit message format, defaults to SecurityHandler#DEFAULT_AUDIT_MESSAGE_FORMAT
socketsList<String>List of sockets this configuration should be applied to
authenticatorStringUse a named authenticator (as supported by security - if not defined, default authenticator is used)
authorizeBooleanEnable authorization for this route
roles-allowedList<String>An array of allowed roles for this path - must have a security provider supporting roles (either authentication or authorization provider)

Dependent Types

Usages


See the manifest for all available types.