SecurityFeature (webserver.security) Configuration

Type: io.helidon.webserver.security.SecurityFeature

Config key
security
Copied

This type provides the following service implementations:

  • io.helidon.webserver.spi.ServerFeatureProvider

Configuration options

Optional configuration options
keytypedefault valuedescription
defaultsSecurityHandler.create()

The default security handler.

@return security handler defaults
paths 

Configuration for webserver paths.

@return path configuration
security 

Security associated with this feature. If not specified here, the feature uses security registered with io.helidon.common.context.Contexts#globalContext(), if not found, it creates a new instance from root of configuration (using security key).

This configuration allows usage of a different security instance for a specific security feature setup.
@return security instance to be used to handle security in this feature configuration
weight

double

800.0

Weight of the security feature. Value is: io.helidon.webserver.security.SecurityFeature#WEIGHT.

@return weight of the feature