From 23fd2c6878fd39d27141002fbc37aaa7984dae7d Mon Sep 17 00:00:00 2001 From: Marco Schaub Date: Tue, 14 Feb 2023 13:32:20 +0100 Subject: [PATCH] Add keycloak authorization capability --- .../src/main/java/io/quarkus/deployment/Capability.java | 2 ++ extensions/keycloak-authorization/runtime/pom.xml | 7 ++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/core/deployment/src/main/java/io/quarkus/deployment/Capability.java b/core/deployment/src/main/java/io/quarkus/deployment/Capability.java index 7ef00e04ad01c..723905d44330b 100644 --- a/core/deployment/src/main/java/io/quarkus/deployment/Capability.java +++ b/core/deployment/src/main/java/io/quarkus/deployment/Capability.java @@ -108,6 +108,8 @@ public interface Capability { String OIDC = QUARKUS_PREFIX + "oidc"; + String KEYCLOAK_AUTHORIZATION = QUARKUS_PREFIX + ".keycloak.authorization"; + /** * Presence of an io.opentracing tracer (for example, Jaeger). */ diff --git a/extensions/keycloak-authorization/runtime/pom.xml b/extensions/keycloak-authorization/runtime/pom.xml index c3aa7fe23d1ff..18a2eba3c6b31 100644 --- a/extensions/keycloak-authorization/runtime/pom.xml +++ b/extensions/keycloak-authorization/runtime/pom.xml @@ -64,7 +64,12 @@ io.quarkus - quarkus-extension-maven-plugin + quarkus-extension-maven-plugin + + + io.quarkus.keycloak.authorization + + maven-compiler-plugin