diff --git a/quarkus/runtime/src/main/java/org/keycloak/quarkus/runtime/configuration/mappers/PropertyMapper.java b/quarkus/runtime/src/main/java/org/keycloak/quarkus/runtime/configuration/mappers/PropertyMapper.java index bb80f01ba6ad..9521771ffb7e 100644 --- a/quarkus/runtime/src/main/java/org/keycloak/quarkus/runtime/configuration/mappers/PropertyMapper.java +++ b/quarkus/runtime/src/main/java/org/keycloak/quarkus/runtime/configuration/mappers/PropertyMapper.java @@ -579,10 +579,20 @@ public List getKcConfigValues() { return List.of(Configuration.getConfigValue(getFrom())); } + /** + * Returns a new PropertyMapper tailored for the given env var key. + * This is currently useful in {@link WildcardPropertyMapper} where "to" and "from" fields need to include a specific + * wildcard key. + */ public PropertyMapper forEnvKey(String key) { return this; } + /** + * Returns a new PropertyMapper tailored for the given key. + * This is currently useful in {@link WildcardPropertyMapper} where "to" and "from" fields need to include a specific + * wildcard key. + */ public PropertyMapper forKey(String key) { return this; }