Discussions

Ask a Question

Example for intigration

Where can i get a simple example for roles with permission for my reference ?

error when using @Restrict({@Group("some name")})

I have added the dependencies for deadbolt. when i run localhost:9000 it works fine, but when i use @Restrict({@Group("some name")}) for any api and call that api i get following error

Subject requires we have a List<? extends Role> but Role is an interface, so that's not possible?

Hi

Designing Resource Owner Check

Hi,

Need to inject a DAO-class to my ResourceHandler

In Play 2.4 I used the following code in my isAllowed method:

Showing content only if not restricted

I'd like to do something in my template like:

my project is in play 2.2.2 and i want to implement role based authemtication in that so i find on web link :-https://github.com/schaloner/deadbolt-2-java/blob/master/QuickStart.md