I'd like to know which mechanism I should use to implement authorization once I must use Central Authentication Server and it'll be written using Java. Is there any that was made thinking about cas module?

Another way would be use pac4j and Deadbolt2 at the same time, so, is that the best way so on? Btw, I took a look at Deadbolt2 but i'm not sure if it fits well for play 2.2 version, does it? Thanks

有帮助吗?

解决方案

I'm the creator of pac4j and I don't know deadbolt2. Reading quickly the doc, it seems a bit complicated at first glance. I had in mind to create something really easy (maybe too simple?) for authorizations in play-pac4j: get the roles from the attributes of the user profile and add a rolesRequired attribute in the @RequiresAuthentication... Would you mind opening an issue on the play-pac4j project on Github to continue this discussion? Thx

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top