Fork me on GitHub

Implementations comparison for the authorization checks:

Categories

Implementation The roles can be checked at a method level The permissions can be checked at a method level
spring-webmvc-pac4j
using the @RequireAnyRole and @RequireAllRoles annotations
j2e-pac4j
buji-pac4j
when using Spring and the @RequiresRoles annotation

when using Spring and the @RequiresPermissions annotation
spring-security-pac4j
using the @Secure and @PreAuthorize annotations

using the @Secure and @PreAuthorize annotations
play-pac4j
using the @Secure annotation or the Security trait

using the @Secure annotation or the Security trait
vertx-pac4j
spark-pac4j
javalin-pac4j
ratpack-pac4j
pippo-pac4j
undertow-pac4j
CAS
jax-rs-pac4j
dropwizard-pac4j
lagom-pac4j
Knox
jooby-pac4j2