Move Pre/PostAuthorize
annotations to org.springframework.security.authorization.method
package
#14844
Labels
Pre/PostAuthorize
annotations to org.springframework.security.authorization.method
package
#14844
When #14712 was merged, a package tangle was introduced from the
org.springframework.security.access
package to theorg.springframework.security.authorization
package. More specificallyorg.springframework.security.access.prepost.PreAuthorize
(andPostAuthorize
) are usingorg.springframework.security.authorization.method.MethodAuthorizationDeniedHandler
andorg.springframework.security.authorization.method.MethodAuthorizationDeniedPostProcessor
.To do this, we can deprecate the Pre/PostAuthorize from the
access
package and then create new annotations on theauthorization.method
package. The old annotations can use the new ones as meta-annotations.The text was updated successfully, but these errors were encountered: