What version of cas-addons do you have deployed, in the pom.xml? 

See if " https://cas.clarku.edu/cas/services/**"; makes a difference. 

----- Original Message -----

From: "Aaron Bennett" <[email protected]> 
To: [email protected] 
Sent: Thursday, September 26, 2013 1:34:43 PM 
Subject: RE: [cas-user] zero luck getting MySQL as services management backend 



From: Dmitriy Kopylenko [mailto:[email protected]] 
Sent: Thursday, September 26, 2013 4:19 PM 
To: [email protected] 
Subject: Re: [cas-user] zero luck getting MySQL as services management backend 

>Aaron, 

>no, you are not being stupid at all. The thing is, you don't have to know the 
>class name of that registry implementation. Just use the custom XML element to 
>define it and it will create an appropriate instance, just like the doc says: 


Hi, 

That's a pleasant turn of events! 

That helped a lot. I removed the bean definition for the in-memory services 
backend and created a json file: 
{ 
"services":[ 
{ 
"id":1, 
"serviceId":"https://cas.clarku.edu/cas/services/j_acegi_cas_security_check";, 
"name":"SMP", 
"description":"CAS Services Management Portal" 
"evaluationOrder":1 
} 

] 
} 

However, when I log on to the services management portal now, I see: "CAS is 
currently running in "open mode" because no services are configured within this 
tool. Once you configure this tool to have a service, CAS is no longer 
considered open and thus any application that wishes to use CAS must be 
registered in this tool. That includes THIS TOOL. If you are going to use this 
tool, the FIRST SERVICE TO ADD IS THIS SERVICE ITSELF. The default Service 
Management Tool URL is 
"https://cas.clarku.edu:8443/cas/services/j_acegi_cas_security_check";. 


My json-services-registry entry looks like this: <cas:json-services-registry 
config-file="/home/tomcat/etc/cas-services.json"/> It's right after the <beans 
line. I've also verified that services that aren't there still work. 

Thanks for your time, 

Aaron 




-- 
You are currently subscribed to [email protected] as: 
[email protected] 
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user 



-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to