cas-management application

183 views
Skip to first unread message

Bryan Wooten

unread,
Jul 6, 2020, 1:53:16 PM7/6/20
to cas-...@apereo.org
I was wondering if any of you fine folks could help me.

I am trying to get cas-management application (6.2) with a Cas 6.1.6 server. (I can change the cas-management version if needed.

Anyway I am having trouble understanding the docs and and management.properties settings.

I am simply trying to manage a 1000 json file /etc/cas.config/services directory.

We don't need/want version control at this time or any file sync.

At startup we get errors like this:

Origin: "mgmt.enableVersionControl" from property source "bootstrapProperties"
    Reason: The elements [mgmt.enabledelegatedmgmt,mgmt.enableversioncontrol,mgmt.servicesrepo,mgmt.syncscript,mgmt.userrep
osdir] were left unbound.

For example, what is mgmt.userrep?

If someone could share the management properties file that would be great.

-Bryan

University of Utah

Ray Bon

unread,
Jul 6, 2020, 3:04:40 PM7/6/20
to cas-...@apereo.org
Bryan,

I am just looking into cas management after a bit of a break from my first frustrating attempt. My impression is that cas management is trying to leverage the cas packages. The version of cas management must be the same as a source of cas packages (I am working with 6.1.4-SNAPSHOT), but does not have to be the same as the deployed cas ( it ca be older for sure). This also means that the properties will be the same as those for cas.
I have not tried turning off version control for the services. First time I tried, it was problematic. For the extra step of confirming changes to a service, it is probably not worth the effort. Just create a writable directory (or make the default writable) for the git repo and be done with it.
We store our services in ldap (so no file sync), but I am not that far along in my config, maybe later this week or next.

Ray
-- 
Ray Bon
Programmer Analyst
Development Services, University Systems

I respectfully acknowledge that my place of work is located within the ancestral, traditional and unceded territory of the Songhees, Esquimalt and WSÁNEĆ Nations.

Bryan Wooten

unread,
Jul 6, 2020, 4:47:45 PM7/6/20
to cas-...@apereo.org
Thank you Ray. This helps.

I see you are very active/helpful on this list...

Perhaps one day I will return the favor.

-Bryan

University of Utah.

--
- 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/8904bfe249d56466eaf2b60d566618b8baaa3d2c.camel%40uvic.ca.

Stef

unread,
Jul 7, 2020, 5:38:22 AM7/7/20
to cas-...@apereo.org
Hi Bryan,
If you want to completely disable version control you can do this in build.gradle:

bootWar {
    entryCompression = ZipEntryCompression.STORED
    overlays {
        // Note: The "excludes" property is only for files in the war dependency.
        // If a jar is excluded from the war, it could be brought back into the final war as a dependency
        // of non-war dependencies. Those should be excluded via normal gradle dependency exclusions.
        cas {
            from "org.apereo.cas:cas-mgmt-webapp${project.appServer}:${casMgmtServerVersion}@war"
            provided = false
            excludes = ["**/cas-mgmt-config-version-control*.jar", "**/cas-mgmt-config-delegated*.jar", "**/HikariCP-java7-2.4.13.jar"]
        }
    }
}

Then the only thing you need for services is 

cas.serviceRegistry.json.location=file:/etc/cas/services


Stéphane

Rich Renomeron

unread,
Jul 23, 2020, 2:51:49 PM7/23/20
to cas-...@apereo.org
Hi Bryan,

You mentioned a version 6.2 of the cas-management application, but I have been unable to find that version in Github (the HEAD revision is 6.1.4-SNAPSHOT).  Since you're using a 6.1.6 CAS, was that a typo, or am I missing something?  (I'm working on a 6.2 deployment right now, so I'd love to find a 6.2 cas-management application.)

Thanks,
Rich

Travis Schmidt

unread,
Jul 23, 2020, 3:49:08 PM7/23/20
to CAS Community
Sorry for my absence and radio silence on this.  I had some high priority projects come up that were eating up my time.  I am finally getting around to looking into a 6.2 deployment.  I will be creating a 6.1.x branch and cutting that release, then I will get master switched over to start creating 6.2.x snapshots for those using the gradel overlays and hopefully a 6.2 GA release soon.

Travis

William Jojo

unread,
Jul 28, 2020, 1:50:03 PM7/28/20
to CAS Community
Travis,

I am producing some documentation on a bunch of topics that have been popping up here of late (Apache-shib, mod-auth-cas, cas-management, locust, etc) which I plan to release shortly. I wanted to know if there was a branch that needs testing so I can update the cas-management docs accordingly.

Thank you!

Bill
To unsubscribe from this group and stop receiving emails from it, send an email to cas-...@apereo.org.

--
- 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-...@apereo.org.

--
- 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-...@apereo.org.

--
- 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-...@apereo.org.
Reply all
Reply to author
Forward
0 new messages