Discussions

Ask a Question
ANSWERED

Error creating bean with name 'interface be.objectify.deadbolt.java.cache.PatternCache':

I'm new to play and upgrading a play 2.0.x app to play 2.5.x,

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

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

Hi

Need to inject a DAO-class to my ResourceHandler

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

ANSWERED

Exception on start

I have this exception after installing deadbolt dependency on my build.sbt

Designing Resource Owner Check

Hi,

ANSWERED

Problem with Template constraints

Hello,

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

Showing content only if not restricted

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