I tried building from source to add more debugging, but was unable to build without error. If I fixed one error, then another popped up. I do not have time to chase them down. I will come back to it, perhaps in the new year. Until then we will use an older version.
Ray On Fri, 2019-10-25 at 06:55 -0700, randomuser878 wrote: Hello Thanks for the hint per CasManagementConfigurationProperties.java<https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fapereo%2Fcas-management%2Fblob%2Fmaster%2Fapi%2Fcas-mgmt-api-configuration%2Fsrc%2Fmain%2Fjava%2Forg%2Fapereo%2Fcas%2Fconfiguration%2FCasManagementConfigurationProperties.java&sa=D&sntz=1&usg=AFQjCNGKk-9GoRnbTlFKOJ0504FhzEjwhg> Have been really struggling with this one as well. Really feel cas-management is behind cas and sure hope the recent indicators of moving dashboards from cas to cas-management means better product eventually. Ranting aside, cas-management 6.1 RC4, these two flags end up as non-bound and service will fail/crash to restart. mgmt.enableVersionControl=false mgmt.enableDelegatedMgmt=false Overlaying this file src/main/java/org/apereo/cas/configuration/CasManagementConfigurationProperties.java by setting the two references you alluded to false it will compile but then on restart it will throw tons of errors about ALL mgmt parameters being unbound. If you can figure out what I could have missed by just modifying that code directly that would be great. Added this to build.gradle compile "org.apereo.cas:cas-mgmt-api-core:${project.'casmgmt.version'}" compile "org.projectlombok:lombok:1.18.8" Then tried the 6.1. RC5 snapshot, maybe those two parameters that are in documentation would work but nope, it would crash per some collusion about groovy libraries and such, anyway gave up on that front, it is snapshot after all. HERE is what currently WORKS for me (not sure if it breaks anything else but I am past the point of desperation) 1) deploy cas-management.war and explode into webapps (remove war afterwards) rm -v $CATALINA_BASE/webapps/cas-management/WEB-INF/lib/cas-mgmt-config-version-control-6.1.0-RC4.jar rm -v $CATALINA_BASE/webapps/cas-management/WEB-INF/lib/cas-mgmt-config-delegated-6.1.0-RC4.jar Now here are other gems 1) using JPA so would really like to tell JSON to take a back-seat. cas.serviceRegistry.initFromJson=false YET it loads from services default or whatever you specify including commenting out or leaving default or whatever: cas.serviceRegistry.json.location=classpath:/services Implicit PROBLEM for me: when you create new service you see double entries. One for JPA, the other one for json. Which is which? Workaround: 1) do not specify at all cas.serviceRegistry.json.location in config (not sure it matters) 2) same as above post explode cas-management.war (not sure how can I remove them from overlay, I could just try empty files in overlay but removing is cleaner) rm -v $CATALINA_BASE/webapps/cas-management/WEB-INF/classes/services/*.json Another headache: I want to have search work for me. Why can't I change the path of luceneIndexDir. (no parameter, nor can change and compile above without other failures) So must create folder /etc/cas/lucene even though for this scenario it is just a placeholder, so I can get search working. I never see anything get stored there? And finally, really no idea why but if you logout the manager with a success message at /cas-management/logout.html, throws an exception 500 in access logs like "GET /cas-management/error?ticket=ST-XYZ... but you click on "Services Management" link to get you back to /cas-management/manage.html and then cas-management is unavailable. WORKAROUND: just change URL to /cas-management/ and voila you are back to admin Stuff like this, I really really hope cas-management gets its love back. Not gonna bother with discoveryEndpointPath = "/actuator/discoveryProfile" and how to actually properly securely setup magical setting in CAS separate service itself to that cas-management can get info. Tried but at this point I am happy to just use the web app. All the best. On Tuesday, September 17, 2019 at 12:43:03 PM UTC-4, rbon wrote: How do I turn off version control in cas-management 6.1 RC4. In 5.3.x branch there was a config setting: mgmt.enableVersionControl=true, but this has been replaced by the following code (line 155 in https://github.com/apereo/cas-management/blob/master/api/cas-mgmt-api-configuration/src/main/java/org/apereo/cas/configuration/CasManagementConfigurationProperties.java<https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fapereo%2Fcas-management%2Fblob%2Fmaster%2Fapi%2Fcas-mgmt-api-configuration%2Fsrc%2Fmain%2Fjava%2Forg%2Fapereo%2Fcas%2Fconfiguration%2FCasManagementConfigurationProperties.java&sa=D&sntz=1&usg=AFQjCNGKk-9GoRnbTlFKOJ0504FhzEjwhg>): private boolean enabled = ClassUtils.isPresent("org.apereo.cas.mgmt.config.CasManagementVersionControlConfiguration", this.getClass().getClassLoader()); It looks like org.apereo.cas.mgmt.config.CasManagementVersionControlConfiguration is included by default (the libraries are in the war). All I have/want is ldap service registry (compile "org.apereo.cas:cas-server-support-ldap-service-registry:${project.'casmgmt.version'}") but it is being ignored. Thanks Ray -- Ray Bon Programmer Analyst Development Services, University Systems 2507218831 | CLE 019 | rb...@uvic.ca<javascript:> 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. -- Ray Bon Programmer Analyst Development Services, University Systems 2507218831 | CLE 019 | r...@uvic.ca<mailto:r...@uvic.ca> 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. -- - 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+unsubscr...@apereo.org. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/4089f29d14df0b6af8a60b287909cce3ba0b91a2.camel%40uvic.ca.