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 SummaryModifier 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- 
policySets the policy to be used in the response header.- Parameters:
- policy- a permissions policy
- Returns:
- the ServerHttpSecurity.HeaderSpec.PermissionsPolicySpecto continue configuring
 
- 
andDeprecated, 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
 
 
-