Class CallbackDeployingPac4jAuthHandler

  • All Implemented Interfaces:
    io.vertx.core.Handler<io.vertx.ext.web.RoutingContext>, io.vertx.ext.web.handler.AuthHandler

    public class CallbackDeployingPac4jAuthHandler
    extends SecurityHandler
    Version of the Pac4j authentication handler which auto-deploys a CallbackHandler on the relative URL derived from the path of the callback URL specified in the Clients object held within the Config object supplied in the constructor. There is no requirement to use this handler rather than a SecurityHandler (and indeed where the same callback URL is being potentially used for multiple authentication handlers it may muddy the waters) but it is supplied as a convenience to anyone wanting to perform very simple indirect authentications. If there is a desire to use the same callback for multiple indirect authentications, it is recommended to explicitly deploy a CallbackHandler for clarity.
    Since:
    2.0.0
    Author:
    Jeremy Prime