[2.5 Scala] Route-based authorization in Deadbolt

15 views
Skip to first unread message

Steve Chaloner

unread,
Apr 29, 2016, 3:44:07 AM4/29/16
to play-framework
Deadbolt 2.5.1-SNAPSHOT now contains route-based authorization, allowing you to remove authorization from controllers and instead apply a filter to all incoming requests based on the path and (optionally) the method.  Support for run-time and compile-time dependency injection is included.


The dependency is

libraryDependencies ++= Seq(
 
"be.objectify" %% "deadbolt-scala" % "2.5.1-SNAPSHOT"
)

resolvers += Resolver.sonatypeRepo("snapshots")


Regards,
Steve


Reply all
Reply to author
Forward
0 new messages