Java authorization library such as "CanCan" for Ruby on Rails

Everyone who was wondering if anyone knew about any Java libraries that are similar or have the same functionality as CanCan (Ruby on Rails). I would like to know about your experience with them, if any.

CanCan is an authorization library for Ruby on Rails that restricts the resources granted to this user access. All permissions are defined in one place (skill class) and are not duplicated between controllers, views and database queries.

Bonus points if they work on a playback platform ( http://playframework.org )

+6
source share
2 answers

Here is one example of https://github.com/eltados/canny something very similar? Has anyone got experience using this?

+3
source

Does Spring Security not provide similar functionality? See http://static.springsource.org/spring-security/site/docs/3.0.x/reference/el-access.html#el-pre-post-annotations for examples of annotation-based authorization specifications ...

+2
source

Source: https://habr.com/ru/post/890390/


All Articles