Merge pull request #11027 from jetty/fix/12.0.x/properties-update

Issue #10334 - Cleanup Module + XML properties usage
This commit is contained in:
Joakim Erdfelt 2023-12-12 06:55:07 -06:00 committed by GitHub
commit 0ec9294f74
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
15 changed files with 31 additions and 33 deletions

View File

@ -29,9 +29,3 @@ etc/jetty-bytebufferpool-quadratic.xml
## Maximum direct memory held idle by the pool (0 for heuristic, -1 for unlimited).
#jetty.byteBufferPool.maxDirectMemory=0
## Maximum heap memory retained whilst in use by the pool (0 for heuristic, -1 for unlimited, -2 for no retained).
#jetty.byteBufferPool.retainedHeapMemory=0
## Maximum direct memory retained whilst in use by the pool (0 for heuristic, -1 for unlimited, -2 for no retained).
#jetty.byteBufferPool.retainedDirectMemory=0

View File

@ -31,9 +31,3 @@ etc/jetty-bytebufferpool.xml
## Maximum direct memory held idle by the pool (0 for heuristic, -1 for unlimited).
#jetty.byteBufferPool.maxDirectMemory=0
## Maximum heap memory retained whilst in use by the pool (0 for heuristic, -1 for unlimited, -2 for no retained).
#jetty.byteBufferPool.retainedHeapMemory=0
## Maximum direct memory retained whilst in use by the pool (0 for heuristic, -1 for unlimited, -2 for no retained).
#jetty.byteBufferPool.retainedDirectMemory=0

View File

@ -11,8 +11,3 @@ server
[xml]
etc/jetty-graceful.xml
[ini-template]
## If the Graceful shutdown should wait for async requests as well as the currently dispatched ones.
# jetty.statistics.gracefulShutdownWaitsForRequests=true

View File

@ -39,9 +39,6 @@ etc/jetty-gzip.xml
## Set the {@link Deflater} flush mode to use.
# jetty.gzip.syncFlush=false
## The set of DispatcherType that this filter will operate on
# jetty.gzip.dispatcherTypes=REQUEST
## Comma separated list of included HTTP methods
# jetty.gzip.includedMethodList=GET,POST

View File

@ -55,14 +55,16 @@ db-connection-type=datasource
#jetty.session.jdbc.schema.maxIntervalColumn=maxInterval
#jetty.session.jdbc.schema.mapColumn=map
#jetty.session.jdbc.schema.table=JettySessions
# Optional name of the schema used to identify where the session table is defined in the database:
# Optional name of the schema used to identify where the session table is defined in the database:
# "" - empty string, no schema name
# "INFERRED" - special string meaning infer from the current db connection
# name - a string defined by the user
#jetty.session.jdbc.schema.schemaName
# jetty.session.jdbc.schema.schemaName=
# Optional name of the catalog used to identify where the session table is defined in the database:
# "" - empty string, no catalog name
# "INFERRED" - special string meaning infer from the current db connection
# name - a string defined by the user
#jetty.session.jdbc.schema.catalogName
# jetty.session.jdbc.schema.catalogName=

View File

@ -35,13 +35,13 @@
<Set name="defaultsDescriptor">
<Property>
<Name>jetty.deploy.defaultsDescriptorPath</Name>
<Deprecated>jetty.deploy.defaultsDescriptor</Deprecated>
<Default>
<Property name="jetty.home" default="." />/etc/webdefault-ee10.xml
</Default>
</Property>
</Set>
<Set name="scanInterval" property="jetty.deploy.scanInterval"/>
<Set name="defaultsDescriptor" property="jetty.deploy.defaultsDescriptor"/>
<Set name="extractWars" property="jetty.deploy.extractWars" />
<Set name="parentLoaderPriority" property="jetty.deploy.parentLoaderPriority" />
<Set name="configurationClasses" property="jetty.deploy.configurationClasses" />

View File

@ -19,7 +19,7 @@ etc/jetty-ee10-deploy.xml
# jetty.deploy.monitoredDir=webapps
## Defaults Descriptor for all deployed webapps
# jetty.deploy.defaultsDescriptor=${jetty.base}/etc/webdefault-ee10.xml
# jetty.deploy.defaultsDescriptorPath=${jetty.base}/etc/webdefault-ee10.xml
## Monitored directory scan period (seconds)
# jetty.deploy.scanInterval=1

View File

@ -33,7 +33,7 @@
<Arg name="tokenEndpoint"><Property name="jetty.openid.provider.tokenEndpoint"/></Arg>
<Arg name="clientId"><Property name="jetty.openid.clientId"/></Arg>
<Arg name="clientSecret"><Property name="jetty.openid.clientSecret"/></Arg>
<Arg name="authMethod"><Property name="jetty.openid.authMethod" default="client_secret_post"/></Arg>
<Arg name="authMethod"><Property name="jetty.openid.authenticationMethod" deprecated="jetty.openid.authMethod" default="client_secret_post"/></Arg>
<Arg name="httpClient"><Ref refid="HttpClient"/></Arg>
<Set name="authenticateNewUsers">
<Property name="jetty.openid.authenticateNewUsers" default="false"/>

View File

@ -45,4 +45,4 @@ etc/jetty-ee8-openid.xml
# jetty.openid.sslContextFactory.trustAll=false
## What authentication method to use with the Token Endpoint (client_secret_post, client_secret_basic).
# jetty.openid.authMethod=client_secret_post
# jetty.openid.authenticationMethod=client_secret_post

View File

@ -32,8 +32,16 @@
</Arg>
</Call>
</Set>
<Set name="defaultsDescriptor">
<Property>
<Name>jetty.deploy.defaultsDescriptorPath</Name>
<Deprecated>jetty.deploy.defaultsDescriptor</Deprecated>
<Default>
<Property name="jetty.home" default="." />/etc/webdefault-ee8.xml
</Default>
</Property>
</Set>
<Set name="scanInterval" property="jetty.deploy.scanInterval"/>
<Set name="defaultsDescriptor" property="jetty.deploy.defaultsDescriptor"/>
<Set name="extractWars" property="jetty.deploy.extractWars" />
<Set name="parentLoaderPriority" property="jetty.deploy.parentLoaderPriority" />
<Set name="configurationClasses" property="jetty.deploy.configurationClasses" />

View File

@ -19,7 +19,7 @@ etc/jetty-ee8-deploy.xml
# jetty.deploy.monitoredDir=webapps
## Defaults Descriptor for all deployed webapps
# jetty.deploy.defaultsDescriptor=${jetty.base}/etc/webdefault-ee8.xml
# jetty.deploy.defaultsDescriptorPath=${jetty.base}/etc/webdefault-ee8.xml
## Monitored directory scan period (seconds)
# jetty.deploy.scanInterval=1

View File

@ -33,7 +33,7 @@
<Arg name="tokenEndpoint"><Property name="jetty.openid.provider.tokenEndpoint"/></Arg>
<Arg name="clientId"><Property name="jetty.openid.clientId"/></Arg>
<Arg name="clientSecret"><Property name="jetty.openid.clientSecret"/></Arg>
<Arg name="authMethod"><Property name="jetty.openid.authMethod" default="client_secret_post"/></Arg>
<Arg name="authMethod"><Property name="jetty.openid.authenticationMethod" deprecated="jetty.openid.authMethod" default="client_secret_post"/></Arg>
<Arg name="httpClient"><Ref refid="HttpClient"/></Arg>
<Set name="authenticateNewUsers">
<Property name="jetty.openid.authenticateNewUsers" default="false"/>

View File

@ -48,7 +48,7 @@ etc/jetty-ee9-openid.xml
# jetty.openid.sslContextFactory.trustAll=false
## What authentication method to use with the Token Endpoint (client_secret_post, client_secret_basic).
# jetty.openid.authMethod=client_secret_post
# jetty.openid.authenticationMethod=client_secret_post
## Whether the user should be logged out after the idToken expires.
# jetty.openid.logoutWhenIdTokenIsExpired=false

View File

@ -32,8 +32,16 @@
</Arg>
</Call>
</Set>
<Set name="defaultsDescriptor">
<Property>
<Name>jetty.deploy.defaultsDescriptorPath</Name>
<Deprecated>jetty.deploy.defaultsDescriptor</Deprecated>
<Default>
<Property name="jetty.home" default="." />/etc/webdefault-ee9.xml
</Default>
</Property>
</Set>
<Set name="scanInterval" property="jetty.deploy.scanInterval"/>
<Set name="defaultsDescriptor" property="jetty.deploy.defaultsDescriptor"/>
<Set name="extractWars" property="jetty.deploy.extractWars" />
<Set name="parentLoaderPriority" property="jetty.deploy.parentLoaderPriority" />
<Set name="configurationClasses" property="jetty.deploy.configurationClasses" />

View File

@ -19,7 +19,7 @@ etc/jetty-ee9-deploy.xml
# jetty.deploy.monitoredDir=webapps
## Defaults Descriptor for all deployed webapps
# jetty.deploy.defaultsDescriptor=${jetty.base}/etc/webdefault-ee9.xml
# jetty.deploy.defaultsDescriptorPath=${jetty.base}/etc/webdefault-ee9.xml
## Monitored directory scan period (seconds)
# jetty.deploy.scanInterval=1