HI All,
i figured out my problem! that is interesting.
this is my customized configuration
public Collection jdbcAuthenticationHandlers() {
jdbc.getEncode().forEach(b -> handlers
.add(queryAndEncodeDatabaseAuthenticationHandler(b)));
..
this is my cas.properties:
Hello,
For debugging, I just download the whole cas repository. (The corresponding
tag version) then I import this project to IntelliJ and connect to the
overlay remote jvm.
It doesn’t matter if the project compile or not if you would like to just
debug.
Le lun. 29 janv. 2024 à 17:45, Ray Bon
Yan,
I have found that intellij will report errors/missing references but code
compiles just fine.
The build process with cas-overlay places files (compiled coded and resources)
from src onto the prebuilt cas.war.
I have not tried to replace jar files, so I am not sure how you would get those
Hello,
thank you both! But, neither helped.
I have been on CAS for quite some time, making customization, but it is
always Maven/Eclipse that I am working with, i wonder if that is because my
lack of knowledge with Overlay's gradle build set-up.
in my cas-overlay build.gradle, I placed
Hi,
Did you tried to add the driver dependency ?
cas-server-support-jdbc-drivers
Le ven. 26 janv. 2024 à 18:42, Yan Zhou a écrit :
> Hi there,
>
> I maybe missing something obvious.
>
> I created my own JDBC-based authenticator, I noticed that the JDBC
> authentication is Not registered,
Yan,
Add your configuration class to
src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports
See
https://apereo.github.io/cas/7.0.x/configuration/Configuration-Management-Extensions.html#register
Ray
On Fri, 2024-01-26 at 08:54 -0800, Yan Zhou