[cas-user] Re: [Cas 5.1.8] Unable to connect to Database for authentication.

2018-08-27 Thread Ranga Nadha
Hi Andy, Thanks, for the reply. I saw that link, but is there any example to implement the encoding and configuring it in the application.properties. Thanks, Pandu Ranga T. On Saturday, 25 August 2018 18:32:28 UTC+5:30, Andy Ng wrote: > > Hi Pandu, > > The requirement of "Custom Password

[cas-user] Re: [Cas 5.1.8] Unable to connect to Database for authentication.

2018-08-25 Thread Andy Ng
Hi Pandu, The requirement of "Custom Password Encoder with MD5,SHA-256 based on the third party application" doesn't seems to be available out of the box yet in latest CAS version, [as seem here:

[cas-user] Re: [Cas 5.1.8] Unable to connect to Database for authentication.

2018-08-23 Thread 'Robert Bond' via CAS Community
Here is what we added for oracle setup: sadf org.apereo.cas cas-server-support-jdbc-drivers ${cas.version} com.oracle.jdbc ojdbc8 12.2.0.1 Next add the ojdbc8.jar into the folder jdbc/oracle/ojdbc8.jar [image: oracleJar.PNG] We are using Oracle for just attribute resolution and AD LDAP

[cas-user] Re: [Cas 5.1.8] Unable to connect to Database for authentication.

2018-08-23 Thread Ranga Nadha
Hi Andy/Colin, Thanks for the reply, I have added the OJDB dependency in the pom.xml and the exception is gone. Now CAS is connecting to the database for authentication purpose. But the problem is we have a custom password encoder, MD5,SHA-256 based on the third party application rule the

[cas-user] Re: [Cas 5.1.8] Unable to connect to Database for authentication.

2018-08-21 Thread Colin Wilkinson
As Andy Ng has already stated you need to include the database driver, oracle have there own maven repository that all you need is logon credentials to use. Just be careful oracle include alot of dependencies that are not required and actually cause problems. Specifically exclude

[cas-user] Re: [Cas 5.1.8] Unable to connect to Database for authentication.

2018-08-21 Thread Andy Ng
Hi Pandu, I have also encounter a similar problem before (mine is with another database driver), and I find out that I need to include your database driver into your pom, which is also likely to be your problem. You can try the following: - find the driver by seaching "oracle.jdbc.Oracle