Security constraint for servlet method execute.
- Dominant language
- Java
- Stars
- 12.7k
- Forks
- 1.7k
- Avg merge
- 11m
- Merged PRs (30d)
- 2
Description
_From [guilherme.namen](https://code.google.com/u/100318882433413875612/) on November 29, 2010 07:13:52_
I created a extension for servlet module that restric the execution of a method in web enviroment. It have a annotation call Permission that could recive a list of roles or a list of principals or both or nothing. Whit no parameters the annotation acept the execution of method if there is a user logged in. The diff file is attached.
**Attachment:** [gist](https://gist.github.com/e6e32c4040a413b36191)
_[Permission.diff](https://gist.githubusercontent.com/gissuebot/e6e32c4040a413b36191/raw/c1cea4980928c28cf36eebb599b68658b83337c2/Permission.diff)_
_Original issue: http://code.google.com/p/google-guice/issues/detail?id=575_
Contributor guide
Assessment
This issue has not been assessed yet.