You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Group together properties related to Tomcat's RemoteIpValve #18302
We have six properties that all relate to the configuration of Tomcat's RemoteIpValve:
server.tomcat.host-header
server.tomcat.internal-proxies
server.tomcat.protocol-header
server.tomcat.protocol-header-https-value
server.tomcat.port-header
server.tomcat.remote-ip-header
They aren't grouped and sit alongside several other properties related to various other areas of Tomcat (threading, connection handling, URI encoding, TLD scanning, etc.). This is becoming increasingly unwieldy. For example, we may want to provide configuration properties for RemoteIpValve's changeLocalName and changeLocalPort properties and naming them succinctly while making their purpose clear is harder than it needs to be at the moment.
@wilkinsona I would like to take this one and may will work with a friend. Is this just about grouping the properties. I think they should be also backward compatible right?
Activity
eddumelendez commentedon Oct 2, 2019
@wilkinsona I would like to take this one and may will work with a friend. Is this just about grouping the properties. I think they should be also backward compatible right?
wilkinsona commentedon Oct 2, 2019
Yes, that's right. We should move the properties listed above into a new group in a way that is backwards compatible.
eddumelendez commentedon Oct 2, 2019
thanks @wilkinsona! I will work on this with @manduinca
manduinca commentedon Oct 2, 2019
Great @eddumelendez, let’s get to work.
mbhave commentedon Oct 3, 2019
Closing in favor of PR #18489.
Add group RemoteIpValve for ServerProperties.Tomcat
Fixed checkstyle error, unnecesary ternary operator deleted.