Re:[cas-user] CAS Logging and CAS with MySQL

2014-07-30 Thread jason
I finally got this working, but I am not sure what I was doing wrong before. Wish I did, but I don't, it just started working. My guess is there was something tiny wrong with my config that I corrected by accident. Just wanted to say thanks for the help! -- You are currently subscribed to cas

Re: [cas-user] CAS Logging and CAS with MySQL

2014-07-22 Thread Scott Battaglia
I don't see any password encoder configured. If you don't have one configured that means you're comparing the hashed password against your plain text password. You can see from this line: https://github.com/Jasig/cas/blob/master/cas-server-support-jdbc/src/main/java/org/jasig/cas/adaptors/jdbc/Qu

Re:[cas-user] CAS Logging and CAS with MySQL

2014-07-21 Thread jason
Well thanks for the help; it's progress just to confirm that my config seems okay. I feel like improper credentials to my database in the deployerConfigContext.xml file should result in clear error messages in the logs to the effect that the database connection is failing. Any developer on the

Re: [cas-user] CAS Logging and CAS with MySQL

2014-07-18 Thread Dmitriy Kopylenko
This looks fine to me. Now you might hope any other folks might spot something weird that I couldn't. Best, D. Sent from my iPhone > On Jul 17, 2014, at 22:00, "jason" wrote: > > Hi Dmitriy, > > Thanks again for the help. > > Below is the relevant config from deployerConfigContext.xml, wit

Re:[cas-user] CAS Logging and CAS with MySQL

2014-07-17 Thread jason
Hi Dmitriy, Thanks again for the help. Below is the relevant config from deployerConfigContext.xml, with a few of the surrounding lines for context. Although "passwordhash" appears in the sql statement, this is a plain text field in the db at the moment.

Re: [cas-user] CAS Logging and CAS with MySQL

2014-07-17 Thread Dmitriy Kopylenko
My suspect was the password encoder mis config, etc. Just for completeness, would you post the jdbc authn handler bean config? Cheers, D. Sent from my iPhone > On Jul 16, 2014, at 22:11, "jason" wrote: > > Hi Dmitriy, > > Thanks for the reply. > > Passwords are stored in the db as plain tex

Re:[cas-user] CAS Logging and CAS with MySQL

2014-07-16 Thread jason
Hi Dmitriy, Thanks for the reply. Passwords are stored in the db as plain text. Ultimately, they would be stored as a one-way hash, but for now plain text is fine and should make things easier. I am trying to first simply establish that CAS connects to the MySQL db. Changing the MySQL connec

Re: [cas-user] CAS Logging and CAS with MySQL

2014-07-16 Thread Dmitriy Kopylenko
Hi there. How do you store passwords in your MySQL table? Clear text? Secure one way hash? Best, Dmitriy. Sent from my iPhone > On Jul 15, 2014, at 22:17, "jason" wrote: > > I am using CAS 4.0.0 on Ubuntu 14.04 LTS with Tomcat7. I got the quick demo > working, and now I am trying to configu

[cas-user] CAS Logging and CAS with MySQL

2014-07-15 Thread jason
I am using CAS 4.0.0 on Ubuntu 14.04 LTS with Tomcat7. I got the quick demo working, and now I am trying to configure it for authentication against MySQL. I am not using the maven overlay; I am not much of a Java developer and could not get it to work, so I have simply downloaded the 4.0.0 tar