CAS 6.x Not able to set server.max-http-header-size Spring Boot property

35 views
Skip to first unread message

Christian Sommer

unread,
Mar 3, 2023, 11:38:14 AM3/3/23
to CAS Community
We tried a lot but we are not able to configure the property "server.max-http-header-size=30KB" in any of our application.yml's within CAS to override the tomcat default of 8KB. The property is simply not getting active. No problem with setting this in our own SB applications only in CAS it won't get activated. Any idea anyone?
Thank you.

Christian Sommer

unread,
Mar 6, 2023, 6:27:33 AM3/6/23
to CAS Community, Christian Sommer
For everyone else who might experience this issue, this property solved the issue:

cas.server.tomcat.http[0].attributes.maxHttpRequestHeaderSize=2000000

Remarkable still that the official Spring Boot property is not working!

Cheers,
Christian

Reply all
Reply to author
Forward
0 new messages