fix: removing the keycloak hidden option for disabling http server (#44388)

closes: #43199

Signed-off-by: Steve Hawkins <shawkins@redhat.com>
This commit is contained in:
Steven Hawkins 2025-11-21 12:37:52 -05:00 committed by GitHub
parent 4e5f9acac7
commit 3b491bc9bf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 1 additions and 11 deletions

View file

@ -118,13 +118,6 @@ public class HttpOptions {
"If '" + SecurityOptions.FIPS_MODE.getKey() + "' is set to '" + FipsMode.STRICT + "' and no value is set, it defaults to 'BCFKS'.")
.build();
public static final Option<Boolean> HTTP_SERVER_ENABLED = new OptionBuilder<>("http-server-enabled", Boolean.class)
.category(OptionCategory.HTTP)
.hidden()
.description("Enables or disables the HTTP/s and Socket serving.")
.defaultValue(Boolean.TRUE)
.build();
public static final Option<Integer> HTTP_MAX_QUEUED_REQUESTS = new OptionBuilder<>("http-max-queued-requests", Integer.class)
.category(OptionCategory.HTTP)
.description("Maximum number of queued HTTP requests. " +

View file

@ -64,9 +64,6 @@ public final class HttpPropertyMappers implements PropertyMapperGrouping {
.to("quarkus.http.insecure-requests")
.transformer(HttpPropertyMappers::getHttpEnabledTransformer)
.build(),
fromOption(HttpOptions.HTTP_SERVER_ENABLED)
.to("quarkus.http.host-enabled")
.build(),
fromOption(HttpOptions.HTTP_HOST)
.to("quarkus.http.host")
.paramLabel("host")

View file

@ -84,7 +84,7 @@ quarkus.http.limits.max-header-size=65535
# The default configuration when running import, export, bootstrap-admin
%nonserver.kc.http-enabled=true
%nonserver.kc.http-server-enabled=false
%nonserver.quarkus.http.host-enabled=false
%nonserver.kc.hostname-strict=false
%nonserver.kc.cache=local
%nonserver.kc.spi-connections-jpa--quarkus--migration-strategy=validate