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.

Reply via email to