cas-management - Service cannot be changed in WebUI

348 views
Skip to first unread message

BenDDD

unread,
Nov 30, 2022, 11:28:30 AM11/30/22
to CAS Community
Hi there,

We used CAS (6.6.2) and CAS-management (6.6.0).

On the CAS-management web interface, if I create a new service, for the "Service type" field, I have the choice between "CAS Client (Deprecated)" and "Cas Client". It doesn't matter which of the two I use, the JSON service created uses the "org.apereo.cas.services.RegexRegisteredService" type.

In the CAS logs, using this type triggers the following warning: 
"WARN [org.apereo.cas.services.RegexRegisteredService] - <CAS has located a service definition type that is now tagged as [RegexRegisteredService]. This registered service definition type is scheduled for removal and should no longer be used for CAS-enabled applications, and MUST be replaced with [org.apereo.cas.services.CasRegisteredService] instead. We STRONGLY advise that you update your service definitions and make the replacement to facilitate future CAS upgrades.>"

So I manually changed the type to "org.apereo.cas.services.CasRegisteredService" in /etc/cas/services/service-timestamp.json. I no longer have a warning in the logs but I can no longer display the service in the WebUI. When I click on the service, it shows an empty page. There are no particular logs in cas.log or cas-management.log.

Do you have any idea what could be causing this problem?

Thanks in advance.

BenDDD

unread,
Dec 5, 2022, 5:29:48 AM12/5/22
to CAS Community, BenDDD
Hi there,

Does anyone have any idea what I might have missed that could be causing this behavior?

Thanks in advance.

Fabio Bettiol

unread,
Dec 5, 2022, 5:56:07 AM12/5/22
to CAS Community, BenDDD
Same configuration, same problem here.
I had to switch back the service definitions to RegexRegisteredService (and swallow the logs warnings, for now) in order to see them in management.

BenDDD

unread,
Dec 6, 2022, 4:15:31 AM12/6/22
to CAS Community, fabiob...@gmail.com, BenDDD
Hello,

Thank you Fabio for your feedback.

Does anyone have a solution to this problem or do I have to open an issue?

Laurent Sanglard

unread,
Dec 20, 2022, 1:20:32 AM12/20/22
to CAS Community, BenDDD, fabiob...@gmail.com
hi
same here, except that the CAS server does not work anymore with "RegexRegisteredService", i'm obliged to replace all my services with CasRegisteredService that i can't manage with casmanagement :(
i test with all the last version (6.6.x)

Luis Sarmiento Heredia

unread,
Dec 21, 2022, 7:52:49 PM12/21/22
to cas-...@apereo.org
good afternoon a question I'm just starting with cas but so far I can't get it to run I'm using cas apereo overlay I don't know if you could help me I've reviewed all the documentation and I can't get it to run thank you very much.

image.png
 

--
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
---
You received this message because you are subscribed to the Google Groups "CAS Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cas-user+u...@apereo.org.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/53a6b071-f43a-40e3-b81b-c7ae68949741n%40apereo.org.

Eugene Willis

unread,
Dec 22, 2022, 7:54:15 AM12/22/22
to cas-...@apereo.org
We commit out the key . And create a key/cert for tomcat.  

Eugene Willis Jr.
Post Creative strategist 
(P.C.S.)
BlackNerdNinja 
IndieboxKart Media
Gogotechsupport 

BlackNerdNinja.com

#Nerd #goninjago


On Dec 21, 2022, at 7:52 PM, Luis Sarmiento Heredia <sarmih...@gmail.com> wrote:



robertoschwald

unread,
Mar 29, 2023, 10:15:00 AM3/29/23
to CAS Community, BenDDD, fabiob...@gmail.com
Same here with CAS-MGMT 6.6.1 and CAS 6.6.6. 
Switched back to RegexRegisteredService for now.

Reply all
Reply to author
Forward
0 new messages