shiro icon indicating copy to clipboard operation
shiro copied to clipboard

[SHIRO-671] Add support for javax.annotation.security.RolesAllowed, PermitAll, and DenyAll

Open bdemers opened this issue 7 years ago • 5 comments

I'm not sure this should be part of Shiro, as exposing theSubject as a java.security.Principal in web and jaxrs modules should allow this functionality to work without needing code in Shiro (so fewer bits for us to support).

That said, this would allow for a portable solution between containers.

Thoughts and ideas welcome. If anyone finds this useful, please leave a note

bdemers avatar Nov 23 '16 14:11 bdemers

@bdemers I think it could be usefull for migrate existing application to Shiro without source code modification :) :+1:

fpapon avatar Feb 21 '19 07:02 fpapon

Refer to this link for build results (access rights to CI server needed): https://builds.apache.org/job/Shiro-pr/54/

asfgit avatar Feb 21 '19 10:02 asfgit

@fpapon 👍 I'll take another look at it for the next minor release

bdemers avatar Feb 21 '19 15:02 bdemers

@bdemers great! I created a Jira for this: https://issues.apache.org/jira/browse/SHIRO-671 Let me know if can help ;)

fpapon avatar Feb 21 '19 18:02 fpapon

@bdemers I think we can close this one because it's already managed by https://github.com/apache/shiro/pull/185 Thoughts?

fpapon avatar Oct 17 '20 16:10 fpapon

Yes, please close this :)

lprimak avatar Jan 27 '23 04:01 lprimak

Superseded by #714

lprimak avatar Feb 04 '23 06:02 lprimak