Re: [cas-user] Help! How to connect mysql for authentication

2015-11-18 Thread Alberto Cabello Sánchez
On Wed, Nov 18, 2015 at 07:08:20PM +0800, BoB wrote:
> I try to configure CAS connecting Mysql but failed.

You should be adding more information:

What did you do? Why you say "failed"? Error messages in logs? Etc...

> So, who can tell me how to connect mysql for authentication based on
> simple-cas4-overlay-template-master.  Thanks!

A good starting point:
http://stackoverflow.com/questions/12749590/using-mysql-database-for-authentication-in-ja-sig-cas

-- 
Alberto Cabello Sánchez
Universidad de Extremadura

-- 
You are currently subscribed to cas-user@lists.jasig.org as: 
arch...@mail-archive.com
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user



[cas-user] Help! How to connect mysql for authentication

2015-11-18 Thread BoB
I try to configure CAS connecting Mysql but failed. So, who can tell me how to 
connect mysql for authentication based on simple-cas4-overlay-template-master.  
Thanks!


Best Regards,
 Bob

-- 
You are currently subscribed to cas-user@lists.jasig.org as: 
arch...@mail-archive.com
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user


[cas-user] Angularjs can not reload CAS Server logion page correctly

2015-11-18 Thread ganchanghua
We bulid a web service use angularjs,and use spring security to rediect use to 
CAS Server for logging.

In some cases,when the browser switch to a new page,spring security redirect 
the browser to cas server for some reason. The browser sames not reload the cas 
server logion page.


Some one know about this?
-- 
You are currently subscribed to cas-user@lists.jasig.org as: 
arch...@mail-archive.com
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user


RE: [cas-user] Duplicate log entries

2015-11-18 Thread nicolas

Indeed, that fixed it. Thanks.

El 2015-11-17 17:15, Misagh Moayyed escribió:

Your logger is likely configured to be additive. Turn that bit off.
https://logging.apache.org/log4j/2.x/manual/configuration.html#Additivity


-Original Message-
From: nico...@devels.es [mailto:nico...@devels.es]
Sent: Tuesday, November 17, 2015 5:33 AM
To: cas-user@lists.jasig.org
Subject: [cas-user] Duplicate log entries

Hi,

We're running CAS 4.1.1 and although everything works fine, any event 
is

being logged twice in the log file, so for each event we're seeing

things

like:

 2015-11-17 12:27:09,180 INFO
[org.jasig.inspektr.audit.support.Slf4jLoggingAuditTrailManager] - 
Audit

trail record BEGIN
 =
 WHO: login
 WHAT: ST-83780-Idib7qgXaVCJ2yA2fgQ7-fqdn for
https://fqdn/login.php
 ACTION: SERVICE_TICKET_CREATED
 APPLICATION: CAS
 WHEN: Tue Nov 17 12:27:09 WET 2015
 CLIENT IP ADDRESS: 10.X.Y.246
 SERVER IP ADDRESS: 127.0.0.1
 =

 2015-11-17 12:27:09,180 INFO
[org.jasig.inspektr.audit.support.Slf4jLoggingAuditTrailManager] - 
Audit

trail record BEGIN
 =
 WHO: login
 WHAT: ST-83780-Idib7qgXaVCJ2yA2fgQ7-fqdn for
https://fqdn/login.php
 ACTION: SERVICE_TICKET_CREATED
 APPLICATION: CAS
 WHEN: Tue Nov 17 12:27:09 WET 2015
 CLIENT IP ADDRESS: 10.X.Y.246
 SERVER IP ADDRESS: 127.0.0.1
 =

Our configuration for classes/log4j2.xml is:

 
 
 
 
 
 
 
 

We're using Hazelcast for ticket replication, however, I don't think 
if

it

matters, since both lines are logged on the same machine and the other
node doesn't log anything.

Any hint?

Thanks

--
You are currently subscribed to cas-user@lists.jasig.org as:
mmoay...@unicon.net To unsubscribe, change settings or access 
archives,

see http://www.ja-sig.org/wiki/display/JSG/cas-user


--
You are currently subscribed to cas-user@lists.jasig.org as: 
arch...@mail-archive.com
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user