Hello,

Ray, Andy, thansks a lot for your responses,  I study them quietly.

Regards

Ibrahima

Le mer. 8 janv. 2020 à 02:44, Andy Ng <[email protected]> a écrit :

> Hi,
>
> I would highly recommend following
> https://dacurry-tns.github.io/deploying-apereo-cas/introduction_overview.html 
> and
> read through it so you get a better idea of how CAS works in generaal.
>
> However, if you just want your database to setup and don't want to dive
> deep, you might follows this:
>
> https://apereo.github.io/cas/6.1.x/configuration/Configuration-Properties.html#query-database-authentication
>
> So, put the below in the *application.properties*
> ===================================================
> cas.authn.jdbc.query[0].url:
> jdbc:mariadb://your.database.url/database?useSSL=true
> cas.authn.jdbc.query[0].user: db_admin
> cas.authn.jdbc.query[0].password: dbAdminSecretpa33w0rd
> cas.authn.jdbc.query[0].driverClass: org.mariadb.jdbc.Driver
> cas.authn.jdbc.query[0].dialect: org.hibernate.dialect.MariaDBDialect
> cas.authn.jdbc.query[0].sql=SELECT * FROM table WHERE name=?
> cas.authn.jdbc.query[0].fieldPassword=password
>
> ===================================================
> And this to your *pom.xml*, in the <dependencies> section
>
> <dependency>
>     <groupId>org.apereo.cas</groupId>
>     <artifactId>cas-server-support-jdbc</artifactId>
>     <version>${cas.version}</version></dependency>
>
>
> And... your should be be able to login using database.
>
> See if the above helps you..
>
> Cheers!
> - Andy
>
>
> --
> - 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/8e1c5a01-f2a4-4b0d-b13e-b35841602511%40apereo.org
> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/8e1c5a01-f2a4-4b0d-b13e-b35841602511%40apereo.org?utm_medium=email&utm_source=footer>
> .
>


-- 
Cordialement,

Ibrahima COUNDOUL
JAVA / JEE  Senior Developper &  DevOps
Oracle Certified Professional, Java EE 5 Web Component Developer (2012)
Oracle Certified Professional, Java SE 6 Programmer( 2012)

-- 
- 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/CAEd__TknmHwSwyRr%3Dc5sURrD6u6-Po3JKSz54o8jYA4WLiPmrg%40mail.gmail.com.

Reply via email to