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

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

-- 
- 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/10db53e6-57b3-4043-a203-7102477b4878%40apereo.org.

Reply via email to