[cas-user] Re: Trimming username for attribute resolution

2021-08-31 Thread Andy Ng
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:

[cas-user] Trimming username for attribute resolution

2021-08-31 Thread 'Richard Frovarp' via CAS Community
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

[cas-user] Re: Trouble CAS 6.3.x autowire JPA Repository Beans

2021-08-31 Thread Ivan Green
*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);