SEC-1277: The authorization tag libraries are totally wrong! #1504

Closed
spring-issuemaster opened this Issue Oct 26, 2009 · 2 comments

1 participant

@spring-issuemaster

vincent lee (Migrated from SEC-1277) said:



">Del

/security:authorize

I think it is more reasonable to protect a resource like this:


">Del

/security:authorize

Because the relationship between resources and roles may change in the future,
even more,the role name may change.

@spring-issuemaster

Luke Taylor said:

Totally wrong, eh?

First off, if you want to treat the attributes used in the security metadata as logical roles/permisssions, then there is nothing to stop you doing so. You can just implement an appropriate mapping in your AuthenticationProvider or UserDetailsService. This is a common requirement.

Secondly, please check the changelog before creating new issues. The functionality you are talking about was implemented in RC1 for SEC-525.

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

This issue duplicates #787

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