CAS management overlay broken

109 views
Skip to first unread message

Aleix Mariné

unread,
Oct 18, 2023, 11:08:56 AM10/18/23
to CAS Community
So I was following the official guide to use the CAS management overlay with my CAS instance. 

The guide tells you to clone this repository. But it is archived and in the previous version of the CAS management software. I tried to run the software and I can not even build it. Is it broken or is something that I am doing wrong on my side? I attach here the debug log of the error:

Screenshot-2023-10-18-16:35:44.png

I tried to fork another repo that apparently contained (also) the CAS management overlay, but this time the version used is more recent (6.3) and is not archived. When I try to build it gradle tells me that cannot find the pom in the central maven repository (the link is actually broken). Here I attach photo of the log:

Screenshot-2023-10-18-16:39:38.png

So, am I doing something wrong? What is the correct way to configure an overlay for my CAS server?

Thank you for this project.


Aleix

Ray Bon

unread,
Oct 18, 2023, 1:01:32 PM10/18/23
to cas-...@apereo.org
Aleix,

The second repo is the one you want. It has a 6.6 branch as most recent.
Assuming you have checked out the 6.6 branch, it will build with 
./gradlew clean build

It is better to post log messages as text rather than images. One, it is searchable; Two, images are hard to see in a desktop email client (maybe I am the last one on the desktop).

Ray

On Wed, 2023-10-18 at 07:52 -0700, Aleix Mariné wrote:
Notice: This message was sent from outside the University of Victoria email system. Please be cautious with links and sensitive information.

Frédéric Dussurget

unread,
Oct 20, 2023, 4:40:43 AM10/20/23
to CAS Community, Ray Bon
Hi Aleix, I managed to made it work with my CAS v7 instance with the second repo : https://github.com/apereo/cas-management-overlay
I also followed the 6.3 documentation : https://apereo.github.io/cas-management/6.3.x/installation/Installing-ServicesMgmt-Webapp.html
Tomcat 9 + jdk 11, so I kept Cas Management on a separate server.

Here is my gradle.properties that worked with cas v7 :

version=6.6.2
# CAS Management version
casmgmt.version=6.6.2
# This is the CAS server version that is compatible
# with the build/version of the CAS management web
application. cas.version=6.6.0
[...]

(You may try more recent builds)

(Do not forget to add your depedencies in build.gradle especially for serviceRegistry)

Aleix Mariné

unread,
Oct 21, 2023, 1:21:36 PM10/21/23
to CAS Community, Ray Bon
Ray,

Thank you for your response. Indeed, my problem was that I was not checking out the branch after cloning the repository. I thought that master branch was good enough. 

I will try this and get back if I find more problems. 

Also, sorry for posting the images, I did not think about this. I am used to stack overflow where the amount of text that you can post is limited and I usually end up using pastebins or screenshots to avoid this limitation. It will not happen again. 


Aleix

Aleix Mariné

unread,
Oct 21, 2023, 1:21:36 PM10/21/23
to CAS Community, Frédéric Dussurget, Ray Bon
Frédéric,

I will follow what you said to install the management overlay ASAP. 

Thank you for your responses, guys.

You can mark this topic as resolved if it is necessary. 


Aleix

Reply all
Reply to author
Forward
0 new messages