io.quarkus.vertx.http.runtime.security.DenySecurityPolicy Maven / Gradle / Ivy
The newest version!
package io.quarkus.vertx.http.runtime.security;
import io.quarkus.security.identity.SecurityIdentity;
import io.smallrye.mutiny.Uni;
import io.vertx.ext.web.RoutingContext;
public class DenySecurityPolicy implements HttpSecurityPolicy {
public static final DenySecurityPolicy INSTANCE = new DenySecurityPolicy();
@Override
public Uni checkPermission(RoutingContext request, Uni identity,
AuthorizationRequestContext requestContext) {
return CheckResult.deny();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy