views:

43

answers:

0

In the course of my work i need to develop an authorization engine ( i'm already authenticated and i check access of a user to an action ) in order to store all the authorization logic inside a same place and be able to reuse it and i have created the mini library.

http://github.com/eltados/canny (updated)

what do you think about it? What are the limits of my approch ? Do you understand the benefit or it?

Is there any lightweight Authorization engine library i could have a look at?

I had a look at spring security and it does not really answer my requirement. The main idea is that i want to be able to reuse the same code to controll access in the controllers and the views.