Hi Richard,
I am also not aware on any native attribute trimming feature, maybe other
can chime in on that.
However, if you think groovy can solve your issue but you don't want
external files, you can always use *inline Groovy*.
Ref:
What's the way to do that? I thought I figured that out, but it turns
out I haven't. I think one of my systems is accomplishing it via JS in
the page. Another CAS instance for a different org doesn't have that JS.
Random trailing spaces is causing attribute resolution to fail. Somehow
*Thanks a lot for the answer! *
It helped me!
I slightly changed the bean DataSource, namely:
@Bean(name = "casDataSource")
protected DataSource casDS() {
DriverManagerDataSource dataSource = new DriverManagerDataSource();
dataSource.setDriverClassName(driver);