Skip navigation links

Package ratpack.pac4j

Integration with pac4j for authentication/authorization.

See: Description

Package ratpack.pac4j Description

Integration with pac4j for authentication/authorization.

This module requires both the ratpack-guice and ratpack-session modules. To use this module:

  1. Add session support to your application, if not already present. See the ratpack-session module for more details.
  2. Add the ratpack-pac4j module (io.ratpack:ratpack-pac4j:VERSION) to your build definition.
  3. Add the appropriate pac4j module to your build definition. For example, to use OpenID authentication you would add pac4j-openid (org.pac4j:pac4j-openid:VERSION).
  4. Register either Pac4jModule or InjectedPac4jModule with Guice, providing it with an appropriate Client and Authorizer.
Skip navigation links