The views are found at src/main/resources/templates. --
- CAS gitter chatroom: https://gitter.im/apereo/cas
- CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html
- CAS documentation website: https://apereo.github.io/cas
- CAS project website: https://github.com/apereo/cas
---
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/725eb3fb-fd9e-4186-b133-f427fd28666b%40apereo.org.
spring.thymeleaf.prefix=classpath:/templates/
cas.view.cas2.success=protocol/2.0/casServiceValidationSuccess
cas.view.cas3.success=protocol/3.0/casServiceValidationSuccess
Thanks! but alas, I am not quite off the ground yet. But I feel like it is just a little detail somewhere I'm missing. So in cas-gradle-overlay-template I made src/main/resources/templates. Just to be quick and easy I copied the entire templates directory from the repo listed. So I should have every possible template. I added what appeared to be the appropriate settings:
spring.thymeleaf.prefix=classpath:/templates/
cas.view.cas2.success=protocol/2.0/casServiceValidationSuccess
cas.view.cas3.success=protocol/3.0/casServiceValidationSuccess
I added <!-- sucess! --> to the two views listed above, but my change didn't show up so far as I could tell.
I tried classpath:/templates, and that didn't seem to do anything. When I was working with the service registry and the associated json files it copied the /services/ directory over in the process of building, but that was because it was in etc/cas/config. Incidentally I tried adding the templates directory to that directory. This also didn't appear to have any effect. So I changed the property to spring.thymeleaf.prefix=file:/etc/cas/config/templates, this seems to have worked, but now if I don't include every template blows up instead of using the default one.
On Thursday, July 20, 2017 at 10:59:33 AM UTC-5, Dmitriy Kopylenko wrote:
This email has been scanned for spam and viruses by Proofpoint Essentials. Click here to report this email as spam.
=
Best regards,
--
Carlos M. Fernández
Enterprise Systems Manager
Saint Joseph’s University
Philadelphia PA 19131
T: +1 610 660 1501
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/39ddcaff-dd17-4997-b9fb-d1596d42676d%40apereo.org.To unsubscribe from this group and stop receiving emails from it, send an email to cas-user+unsubscribe@apereo.org.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/39ddcaff-dd17-4997-b9fb-d1596d42676d%40apereo.org.
Best regards,
--
Carlos M. Fernández
Enterprise Systems Manager
Saint Joseph’s University
Philadelphia PA 19131
T: +1 610 660 1501
To unsubscribe from this group and stop receiving emails from it, send an email to cas-user+unsubscribe@apereo.org.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/c5180a09-8bb3-4da9-9195-cdc747b97539%40apereo.org.