Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

SEC-1245: Add role hierarchy support to expression handlers #1493

spring-issuemaster opened this Issue Sep 14, 2009 · 1 comment


None yet
1 participant

Luke Taylor (Migrated from SEC-1245) said:

role-based expressions should be able to automatically be able to make use of a role hierarchy. Allowing one to be injected into DefaultWebSecurityExpressionHandler et al and making use of it (if present) in the SecurityExpressionRoot hasRole() methods will make this possible.

Luke Taylor said:

Both DefaultMethodSecurityExpressionHandler and DefaultWebSecurityExpressionHandler now support the injection of a RoleHierarchy implementation. This will be set on the SecurityExpressionRoot class and used during evaluation of the hasRole() and hasAnyRole() methods.

@spring-issuemaster spring-issuemaster added this to the 3.0.0 RC1 milestone Feb 5, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment