Question

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

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top