Class ServerHttpSecurity.HeaderSpec.PermissionsPolicySpec
java.lang.Object
org.springframework.security.config.web.server.ServerHttpSecurity.HeaderSpec.PermissionsPolicySpec
- Enclosing class:
- ServerHttpSecurity.HeaderSpec
Configures
Permissions-Policy
response header.- Since:
- 5.5
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionand()
Allows method chaining to continue configuring theServerHttpSecurity
.Sets the policy to be used in the response header.
-
Method Details
-
policy
Sets the policy to be used in the response header.- Parameters:
policy
- a permissions policy- Returns:
- the
ServerHttpSecurity.HeaderSpec.PermissionsPolicySpec
to continue configuring
-
and
Allows method chaining to continue configuring theServerHttpSecurity
.- Returns:
- the
ServerHttpSecurity.HeaderSpec
to continue configuring
-