Class HttpAuthorizer


  • @Singleton
    public class HttpAuthorizer
    extends Object
    Class that is responsible for running the HTTP based permission checks
    • Constructor Detail

      • HttpAuthorizer

        @Inject
        HttpAuthorizer​(javax.enterprise.inject.Instance<HttpSecurityPolicy> installedPolicies)
    • Method Detail

      • checkPermission

        public void checkPermission​(io.vertx.ext.web.RoutingContext routingContext)
        Checks that the request is allowed to proceed. If it is then RoutingContext.next() will be invoked, if not appropriate action will be taken to either report the failure or attempt authentication.