Getting Started with Deadbolt for Java
To use Deadbolt in your Play project, you will need to import the following library in project/Build.scala
.
libraryDependencies ++= Seq(
"be.objectify" %% "deadbolt-java" % "2.2.1"
)
If you're already running your app in activator, don't forgot to reload the project.
Once this is done, you can enable the Deadbolt plugin in conf/play.plugins
. If this file doesn't exist, you can just create it.
10000:be.objectify.deadbolt.java.DeadboltPlugin
Updated less than a minute ago