This issue has been suppressed or fixed in cas 6 version @Andy, thank you very much for the help
On Tuesday, December 17, 2019 at 9:38:18 AM UTC+5:30, Andy Ng wrote: > > Hi Raheem, > > I don't have time today to do a full test, but I suspect the problem > exists in the pathing: > > When using CAS 5.2.x overlay, the structure seems like this: > > ├── *cas* > │ └── src > │ └── main > │ └── resources > │ ├── hbmsu.properties > > │ ├── services > │ │ └── testJSONFILE-123.json > │ ├── static > │ │ └── themes > │ │ └── hbmsu > │ │ └── cas.css > │ └── templates > > > See this for more detail: > https://groups.google.com/a/apereo.org/forum/#!searchin/cas-user/Andy$20%22cas$2Fsrc$2Fmain$2Fresources%22|sort:date/cas-user/wkaESyEDyZo/5_vew52XBAAJ > > <https://groups.google.com/a/apereo.org/forum/#!searchin/cas-user/Andy$20%22cas$2Fsrc$2Fmain$2Fresources%22%7Csort:date/cas-user/wkaESyEDyZo/5_vew52XBAAJ> > > Soo, I suspect maybe if you put it like so it would work? I didn't try it > since don't have time to setup: > FROM apereo/cas:v5.2.6 > # A keypair is needed for SSL, and CAS simply will not work if you can't > do SSL regardless of whether you actually need it. > RUN keytool -genkeypair -alias cas -keyalg RSA > ************************************************************************** > > RUN mkdir -p /cas-overlay/src/main/resources/ > RUN cd /cas-overlay/cas/src/main > RUN mkdir -p my/company/cas/rest/ > > COPY spring.factories /cas-overlay/cas/src/main/resources/spring.factories > COPY MyCompanyRestConfiguraiton.java /cas-overlay/cas/ > src/main/my/company/cas/rest/MyCompanyRestConfiguraiton.java > COPY MyCompanyTicketGrantingTicketResourceGetMapper.java /cas-overlay/cas/ > src/main/my/company/cas/rest/MyCompanyTicketGrantingTicketResourceGetMapper.java > > COPY cas.properties /cas-overlay/etc/cas/config/cas.properties > COPY pom.xml /cas-overlay/pom.xml > COPY JWTServices.json /cas-overlay/etc/cas/services/JWTServices.json > COPY log4j2.xml /cas-overlay/etc/cas/config/log4j2.xml > COPY run-cas.sh cas-overlay/bin/run-cas.sh > COPY build.sh /cas-overlay/build.sh > > > Just speculation, might or might not work, but worth a try if you have > time. > > - Andy > > -- ******************************************** *Inmar Confidentiality Note*: This e-mail and any attachments are confidential and intended to be viewed and used solely by the intended recipient. If you are not the intended recipient, be aware that any disclosure, dissemination, distribution, copying or use of this e-mail or any attachment is prohibited. If you received this e-mail in error, please notify us immediately by returning it to the sender and delete this copy and all attachments from your system and destroy any printed copies. Thank you for your cooperation. *Notice of Protected Rights*: The removal of any copyright, trademark, or proprietary legend contained in this e-mail or any attachment is prohibited without the express, written permission of Inmar, Inc. Furthermore, the intended recipient must maintain all copyright notices, trademarks, and proprietary legends within this e-mail and any attachments in their original form and location if the e-mail or any attachments are reproduced, printed or distributed. ******************************************** -- - 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/72d65810-ec4e-428f-ade4-04a6f5a905e5%40apereo.org.
