mirror of
https://github.com/keycloak/keycloak.git
synced 2026-02-18 18:37:54 -05:00
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:
parent
4e5f9acac7
commit
3b491bc9bf
3 changed files with 1 additions and 11 deletions
|
|
@ -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. " +
|
||||
|
|
|
|||
|
|
@ -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")
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue