All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.quarkus.security.runtime.interceptor.check.PermitAllCheck Maven / Gradle / Ivy

There is a newer version: 3.17.5
Show newest version
package io.quarkus.security.runtime.interceptor.check;

import java.lang.reflect.Method;

import io.quarkus.security.identity.SecurityIdentity;
import io.quarkus.security.spi.runtime.MethodDescription;
import io.quarkus.security.spi.runtime.SecurityCheck;

public class PermitAllCheck implements SecurityCheck {

    public static final PermitAllCheck INSTANCE = new PermitAllCheck();

    private PermitAllCheck() {
    }

    @Override
    public void apply(SecurityIdentity identity, Method method, Object[] parameters) {
    }

    @Override
    public void apply(SecurityIdentity identity, MethodDescription method, Object[] parameters) {
    }

    @Override
    public boolean isPermitAll() {
        return true;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy