Copy etc/cas/properties to /etc/cas/properties Add modules relevant properties to that. See https://apereo.github.io/cas/5.2.x/installation/Configuration-Properties.html
El sábado, 24 de marzo de 2018, Scott Koranda <[email protected]> escribió: > Hi, > > I would like to build CAS from source so that I can add some additional > debugging to troubleshoot an issue with the pac4j SAML2 client support > for version 5.2.x. > > I did > > git clone [email protected]:apereo/cas.git cas-server > cd cas-server > git checkout 5.2.x > ./gradlew war --parallel -x test -x javadoc -x check > > The build completed successfully. > > I was then able to do > > sudo cp \ > ./webapp/cas-server-webapp/build/libs/cas-server-webapp-5.2.4-SNAPSHOT.war > \ > /var/lib/tomcat8/webapps/cas.war > > restart Tomcat 8.5 > > and see the CAS server start up and access /cas/login. > > I need, however, to add the module for pac4j support and for the JSON > service registry. > > I see on this page > > https://apereo.github.io/cas/developer/Build-Process-5X.html > > the text > > "To test the functionality provided by a given CAS module, execute the > following steps: > > Add the module reference to the build script (i.e. build.gradle) of web > application you intend to run (i.e Web App, Management Web App, etc)" > > and the example > > implementation project(":support:cas-server-support-modulename") > > I did add the line > > implementation project(":support:cas-server-support-json-service-registry" > ) > > to the file > > webapp/build.gradle > > but when I copied over the war file and restarted Tomcat the configured > JSON service registry was not recognized. > > What step am I missing to add the JSON service registry support to the > war file I build from source? > > Thanks, > > Scott K > > -- > - 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 [email protected]. > To view this discussion on the web visit https://groups.google.com/a/ > apereo.org/d/msgid/cas-user/20180324163227.ca72ilrewnfdnojn%40paprika. > local. > -- - 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 [email protected]. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAMY5mifr3Z53K%2BOnAwh0f5JNtEzupn9_Ts62YaLNX03%2By%3DbPEQ%40mail.gmail.com.
