Could the examples be updated for Play 2.7 please? Http.Context was depreceated and the documentation I found lists older incompatible versions for Deadbolt
This is more of a helper post than a question. I've started a project using Play 2.7(.3) and was following examples (from here and https://github.com/schaloner/deadbolt-2-java/blob/master/QuickStart.md). They show importing slightly older versions of Deadbolt (2.6 and 2.4)
Because Http.Context was deprecated in Play 2.7 (https://www.playframework.com/documentation/2.7.x/JavaHttpContextMigration27) you will need to import the newer version.
"be.objectify" %% "deadbolt-java" % "2.7.0"
I appreciate the library and all the work!