-
Terminally Deprecated ElementsElementDescriptionorg.springframework.security.config.web.server.ServerHttpSecurity.HeaderSpec.FeaturePolicySpec.and()For removal in 7.0. Use
#featurePolicy(Customizer)instead
-
Deprecated ClassesClassDescriptionUse
PrePostMethodSecurityConfiguration,SecuredMethodSecurityConfiguration, orJsr250MethodSecurityConfigurationinsteadIn modern Spring Security APIs, each API manages its own configuration context. As such there is no direct replacement for this interface. In the case of method security, please seeSecurityAnnotationScannerandAuthorizationManager. In the case of channel security, please seeHttpsRedirectFilter. In the case of web security, please seeAuthorizationManager.please useHttpsRedirectConfigurerinsteadno replacement plannedno replacement plannedsee Certificate and Public Key Pinning for more contextorg.springframework.security.config.annotation.web.servlet.configuration.WebMvcSecurityConfigurationThis is applied internally using SpringWebMvcImportSelectorIn modern Spring Security APIs, each API manages its own configuration context. As such there is no direct replacement for this interface. In the case of method security, please seeSecurityAnnotationScannerandAuthorizationManager. In the case of channel security, please seeHttpsRedirectFilter. In the case of web security, please seeAuthorizationManager.Use `use-authorization-manager` property insteadUseMethodSecurityBeanDefinitionParserinsteadUse<intercept-methods>,<method-security>, or@EnableMethodSecurity
-
Deprecated Annotation Interfaces
-
Deprecated MethodsMethodDescriptionFor removal in 7.0. Use
HeadersConfigurer.permissionsPolicy(Customizer)orpermissionsPolicy(Customizer.withDefaults())to stick with defaults. See the documentation for more details.see Certificate and Public Key Pinning for more contextFor removal in 7.0. UseHeadersConfigurer.permissionsPolicyHeader(Customizer)insteadUse this.context insteadPlease use {x509PrincipalExtractor(X509PrincipalExtractor)insteadFor removal in 7.0. UseServerHttpSecurity.HeaderSpec.permissionsPolicy(Customizer)instead.org.springframework.security.config.web.server.ServerHttpSecurity.HeaderSpec.FeaturePolicySpec.and()For removal in 7.0. Use#featurePolicy(Customizer)instead
-
Deprecated Enum ConstantsEnum ConstantDescriptionplease see
PayloadInterceptorOrder.AUTHENTICATIONplease seePayloadInterceptorOrder.AUTHENTICATION
HeadersConfigurer.permissionsPolicyHeader(Customizer)instead