Re: [cas-user] how to customize a filter used in CAS?

2022-10-17 Thread Dmitriy Kopylenko
One other way to accomplish this is to disable CAS filer by setting `cas.http-web-request.header` property to false, and then to enable your version of this bean in your own configuration class by making sure it’s recognized by Spring by advertising it in META-INF/spring.factories file in your

Re: [cas-user] how to customize a filter used in CAS?

2022-10-17 Thread Yan Zhou
That is what I have been doing, this means a duplication of the entire class with only change to one-line. When we upgrade to next CAS release, we would have to find such customization and duplicating it. I thought there maybe a better way. OK! Yan On Monday, October 17, 2022 at 11:53:40 AM

Re: [cas-user] how to customize a filter used in CAS?

2022-10-17 Thread Ray Bon
Yan, Copy RegisteredServiceResponseHeadersEnforcementFilter into your project and modify it. The build will replace the cas version with yours. You may need to add some compile dependencies to build.gradle. Ray On Mon, 2022-10-17 at 07:19 -0700, Yan Zhou wrote: Notice: This message was sent