Deadbolt for Java

The Deadbolt for Java Developer Hub

Welcome to the Deadbolt for Java developer hub. You'll find comprehensive guides and documentation to help you start working with Deadbolt for Java as quickly as possible, as well as support if you get stuck. Let's jump right in!

This project is supported by Auth0.

If you want to easily add secure authentication and authorization to your Java or Scala projects, feel free to check out Auth0's Java SDK, Scala examples and free plan at auth0.com/overview

Get Started    
Ask A Question

Questions

Need to inject a DAO-class to my ResourceHandler

Posted by Johan Dahlberg about a year ago

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

UnitDAO unitDAO = play.Play.application().injector().instanceOf(UnitDAO.class);

is it possible to inject a class in a similiar way now when that way is removed by the Play team. Since I can't inject it with the usual way since it's a static context.

Loading comments...