It's the first time I use CAS, and I aim for Database/LDAP Authentication.
I managed to make the static mode CAS server with https works. (gradle
overlay template)
Then I tried to add the database authentication support, by adding
compile "org.apereo.cas:cas-server-support-jdbc:${project.'cas.version'}"
to the script file, and add the database connect information to the property
file.
Accordding to the document, net.sourceforge.jtds.jdbc.Driver is available after
the rebuild, but it turns out to be "ClassNotFound Exception".
So I just import the dependency manually:
compile group: 'net.sourceforge.jtds', name: 'jtds', version: '1.3.1'
I got a exception: "'principal' cannot be null".
I need a more detailed document to complete the configuration, or at least a
typical property file.
In the "Database Authentication" section, all lines are with a leading #, I'm
really confused and don't know what each key-value pair means.
--
- CAS gitter chatroom: https://gitter.im/apereo/cas
- CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html
- CAS documentation website: https://apereo.github.io/cas
- CAS project website: https://github.com/apereo/cas
---
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/1c488954-3a49-4d4f-9672-742101168dea%40apereo.org.