diff --git a/extensions/security/deployment/src/main/java/io/quarkus/security/deployment/SecurityProcessor.java b/extensions/security/deployment/src/main/java/io/quarkus/security/deployment/SecurityProcessor.java index 52667fd8878d90..f33edec41c4739 100644 --- a/extensions/security/deployment/src/main/java/io/quarkus/security/deployment/SecurityProcessor.java +++ b/extensions/security/deployment/src/main/java/io/quarkus/security/deployment/SecurityProcessor.java @@ -27,6 +27,8 @@ import java.util.function.Function; import java.util.function.Predicate; +import io.quarkus.deployment.annotations.Consume; +import io.quarkus.deployment.builditem.RuntimeConfigSetupCompleteBuildItem; import jakarta.enterprise.context.ApplicationScoped; import org.jboss.jandex.AnnotationInstance; @@ -536,6 +538,7 @@ void gatherSecurityChecks(BuildProducer syntheticBeans, }).done()); } + @Consume(RuntimeConfigSetupCompleteBuildItem.class) @BuildStep @Record(ExecutionTime.RUNTIME_INIT) public void resolveConfigExpressionRoles(Optional configExpRolesChecks,