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 all dependencies there, CAS loads correctly, it is reading Service Registry from JSON, as I placed dependency there. it is also generating SAML-related artifacts.
But, when I added ...-support-jdbc... and -support-jdbc-authenitcaiton.... jars into intellij, so that I can debug the CAS source code (i add these as External Dependencies with Jar and Source Code), Intellij says they are Not used. Hmm, I wonder maybe that is the problem, even though it is listed, somehow they are not loaded. But, I am new to Gradle and to Intellij ....
Yan
.....
dependencies {
/**
* Do NOT modify the lines below or else you will risk breaking dependency management.
*/
implementation enforcedPlatform("org.apereo.cas:cas-server-support-bom:${project.'cas.version'}")
implementation platform(org.springframework.boot.gradle.plugin.SpringBootPlugin.BOM_COORDINATES)
/**
* Do NOT modify the lines below or else you will risk breaking the build.
*/
implementation "org.apereo.cas:cas-server-core-api-configuration-model"
implementation "org.apereo.cas:cas-server-webapp-init"
developmentOnly "org.springframework.boot:spring-boot-devtools:${project.springBootVersion}"
/**
* CAS dependencies and modules may be listed here.
*
* There is no need to specify the version number for each dependency
* since versions are all resolved and controlled by the dependency management
* plugin via the CAS bom.
**/
implementation "org.apereo.cas:cas-server-support-rest"
implementation "org.apereo.cas:cas-server-support-saml-idp"
implementation "org.apereo.cas:cas-server-support-pac4j-webflow"
implementation "org.apereo.cas:cas-server-support-json-service-registry"
implementation "org.apereo.cas:cas-server-core-webflow-api"
implementation "org.apereo.cas:cas-server-core-api-webflow"
implementation "org.apereo.cas:cas-server-core-web-api"