-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use RoleHierarchy bean in Method Security Configuration #12783
Comments
Happy to work on this :) @jzheaux Have Some Queries here :
Please correct me if my understanding is not correct |
Hi, @kandaguru17.
|
This issue is linked from the docs at https://docs.spring.io/spring-security/reference/servlet/authorization/architecture.html#authz-hierarchical-roles with a note:
Is the note still valid? |
authorityHttpRequests
picks up aRoleHierarchy
bean. If method security does the same thing, then it will simplify security configuration overall.Currently, method security role hierarchy must be configured for each authorization manager individually via
DefaultMethodSecurityExpressionHandler
for pre-post annotations,AuthoritiesAuthorizationManager
for secured annotations, and via a custom authorization manager for JSR-250 annotations.The text was updated successfully, but these errors were encountered: