google / google/guice

Security constraint for servlet method execute.

Open
#575 1 comment 0 reactions 0 assignees View on GitHub
Extension-Servlet imported
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.