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()Deprecated, for removal: This API element is subject to removal in a future version.For removal in 7.0.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.PermissionsPolicySpecto continue configuring 
 - 
and
Deprecated, for removal: This API element is subject to removal in a future version.For removal in 7.0. UseServerHttpSecurity.HeaderSpec.permissionsPolicy(Customizer)insteadAllows method chaining to continue configuring theServerHttpSecurity.- Returns:
 - the 
ServerHttpSecurity.HeaderSpecto continue configuring 
 
 -