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    

v2.5.0 released

Deadbolt 2.5.0 is now available - you can add it as a dependency using "be.objectify" %% "deadbolt-java" % "2.5.0".

Changelog

added

TemplateUtils#allOfGroup reduces boilerplate in the restrict template constraint.

added

Arbitrarily complex composite constraints can be defined - see Composite constraints.

improved

All constraint logic has been centralized, ensuring consistent behavior across controller constraints, template constraints and composite constraints.