xiaodududu / google-guice

Automatically exported from code.google.com/p/google-guice
Apache License 2.0
0 stars 0 forks source link

Security constraint for servlet method execute. #575

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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.

Original issue reported on code.google.com by guilherm...@gmail.com on 29 Nov 2010 at 12:13

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by sberlin on 22 Feb 2011 at 1:45