Allow servlet context parmeters to be configured via declaratively
Previously, configuration of a ServletContext init parameter required the use of a ServletContextInitializer bean. This commmit adds support for declarative configuration via the environment using server.context_parameters.<name>=<value>. Closes gh-1791
This commit is contained in:
@@ -54,6 +54,7 @@ content into your application; rather pick only the properties that you need.
|
||||
server.port=8080
|
||||
server.address= # bind to a specific NIC
|
||||
server.session-timeout= # session timeout in seconds
|
||||
server.context-parameters.*= # Servlet context init parameters, e.g. server.context-parameters.a=alpha
|
||||
server.context-path= # the context path, defaults to '/'
|
||||
server.servlet-path= # the servlet path, defaults to '/'
|
||||
server.ssl.client-auth= # want or need
|
||||
|
||||
Reference in New Issue
Block a user