Hi,

Did you tried to add the driver dependency ?

cas-server-support-jdbc-drivers




Le ven. 26 janv. 2024 à 18:42, Yan Zhou <[email protected]> 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, so login does not load jdbc-authenticator
> at all.
>
> set breakpoint in CasJdbcAuthenticationConfiguration, it is not called
> during CAS start-up.
>
> how is this configuration being loaded, see the code below?
>
> @ConditionalOnFeatureEnabled(feature =
> CasFeatureModule.FeatureCatalog.Authentication, module = "jdbc")
>
> is this driven by the presence of cas.auth.jdbc and jdbc jars in
> dependenices?
>
> Yan
>
> Project dependencies.
>
> implementation "org.apereo.cas:cas-server-support-jdbc"
> implementation "org.apereo.cas:cas-server-support-jdbc-authentication"
>
>
> I added configuration in META-INF/spring.factories like this, i created my
> own class, so as to load my custom jdbc Authenticator.
>
> org.apereo.cas.adaptors.jdbc.config.MyCasJdbcAuthenticationConfiguration
>
> then in cas.properties, i have all the properties filled.
>
> cas.authn.jdbc.search[0]......
>
> thanks,
>
> --
> - Website: https://apereo.github.io/cas
> - Gitter Chatroom: https://gitter.im/apereo/cas
> - List Guidelines: https://goo.gl/1VRrw7
> - Contributions: https://goo.gl/mh7qDG
> ---
> You received this message because you are subscribed to the Google Groups
> "CAS Community" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/a/apereo.org/d/msgid/cas-user/7991cac7-97e9-4487-bb6e-99e7065c0daen%40apereo.org
> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/7991cac7-97e9-4487-bb6e-99e7065c0daen%40apereo.org?utm_medium=email&utm_source=footer>
> .
>

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CALmwvcaT%3DnC%3D4hkJ_kxfH_e71NZh-nhc67C9Gr2EcUEU9Y%2BTsw%40mail.gmail.com.

Reply via email to