RE: [cas-user] Possible to have more than one QueryDatabaseAuthenticationHandlers with diff properties?

2016-06-16 Thread Misagh Moayyed
Yes, define the AuthN handler yourself directly in the file as a bean. This is something the project is working on to make sure “auto configuration” can take into account multiple handlers and such. From: cas-user@apereo.org [mailto:cas-user@apereo.org] On Behalf Of John Rellis Sent: Thursday

Re: [cas-user] Instability of me CAS system

2016-06-16 Thread Christopher Myers
One thing we had to do on ours was set the stack size; the default was too big for the number of sessions we cache, so we set it to -Xss512k. Also, we don't use ehcache, we use hazelcast because it was WAY easier to set up. Also have 2+1+1 nodes (two primary, one backup, and one "server of last re

[cas-user] Instability of me CAS system

2016-06-16 Thread Juan Carlos Giménez Moncada
Hi, the configuration of me cluster CAS are two nodes behind a load balancer. Dual CPU system, 6Gb RAM with Ubuntu 16.04, Tomcat8 with java-8-openjdk. Relevant Tomcat8 conf: -Xms512 -Xmx4096 -XX:+UseParallelGC -XX:ParallelGCThreads=2 -XX:NewRatio=2 CAS 4.1.6 container have: LDAP conn, MySQL conn

Re: [cas-user] Mistake on web-page

2016-06-16 Thread Dmitriy Kopylenko
Thanks for spotting this. Fixed in the master branch. Cheers, D. > On Jun 16, 2016, at 8:04 AM, Ilia Bondarev wrote: > > Good afternoon! > > I noticed mistake on web-page: > https://apereo.github.io/cas/4.2.x/planning/Installation-Requirements.html >

[cas-user] Mistake on web-page

2016-06-16 Thread Ilia Bondarev
Good afternoon! I noticed mistake on web-page: https://apereo.github.io/cas/4.2.x/planning/Installation-Requirements.html part Apache Maven the mistake is: instllation thanks for response -- You received this message because you are subscribed to the Google Groups "CAS Community" group. To u

Re: [cas-user] queryDatabaseAuthenticationHandler not being called (CAS 4.2.2)

2016-06-16 Thread Cross Zheng
Hi John, I switched log4j to DEBUG level, then figured out my Mysql data problem. This kind of error is not printed any clues into the default log files. Now everything goes fine. thanks. Cross On Wednesday, 15 June 2016 17:26:46 UTC+8, John Rellis wrote: > > Hi Cross, > > Can you post the ex

[cas-user] Re: howto print out Database AUTHENTICATION_FAILED details

2016-06-16 Thread Cross Zheng
Thanks, John. When I switch to DEBUG level, I got the error details. That is because my Mysql data problem. Cheers, Cross On Thursday, 16 June 2016 16:55:11 UTC+8, John Rellis wrote: > > Can you set the log level to debug? > > You need log4j2.xml on your classpath > > Something like (not tested

[cas-user] Possible to have more than one QueryDatabaseAuthenticationHandlers with diff properties?

2016-06-16 Thread John Rellis
Hey folks, I need to authenticate against more than one database, each database has different schema and some have different password hash schemes. Authenticating against any one of these should equal a success. Is it possible to have more than one QueryDatabaseAuthenticationHandler with diff

[cas-user] Re: howto print out Database AUTHENTICATION_FAILED details

2016-06-16 Thread John Rellis
Can you set the log level to debug? You need log4j2.xml on your classpath Something like (not tested) On Monday, 13 June 2016 15:48:36 UTC+1, Cross Zheng wrote: > > Hi guys > > I am new to CAS and start from v4.2