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

io.quarkus.security.runtime.interceptor.PermitAllInterceptor Maven / Gradle / Ivy

package io.quarkus.security.runtime.interceptor;

import jakarta.annotation.Priority;
import jakarta.annotation.security.PermitAll;
import jakarta.inject.Inject;
import jakarta.interceptor.AroundInvoke;
import jakarta.interceptor.Interceptor;
import jakarta.interceptor.InvocationContext;

/**
 * @author Michal Szynkiewicz, [email protected]
 */
@Interceptor
@PermitAll
@Priority(Interceptor.Priority.LIBRARY_BEFORE)
public class PermitAllInterceptor {

    @Inject
    SecurityHandler handler;

    @AroundInvoke
    public Object intercept(InvocationContext ic) throws Exception {
        return handler.handle(ic);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy