Extending CAS 5 Webflows - build instructions?

137 views
Skip to first unread message

Adam Causey

unread,
May 12, 2017, 11:16:44 AM5/12/17
to cas-...@apereo.org
I've gone through the blog entry "Extending CAS 5 Webflows" (https://apereo.github.io/2016/10/07/webflow-extcfg/), but I can't figure out where I put my module code and how to I build it?  I attempted putting my Java files in their own project and then adding the jar as a dependency to my WAR overlay, but it doesn't pickup the @Configuration class.

Has anyone customized the webflow in this manner?

Thanks,
Adam

Dmitriy Kopylenko

unread,
May 12, 2017, 11:25:41 AM5/12/17
to cas-...@apereo.org
Try this one for the info on configuration mechanism: https://apereo.github.io/2017/02/21/cas-autocfg-strategy/ Note, this applies to CAS 5.1. In CAS 5.0.x line, the configuration classes are contributed to Spring app ctx. by means of component scanning, so in order for CAS to pick ‘em up in 5.0.x, put your custom @Configuration classes in `org/apereo.cas` base package

Best,
D.
--
- 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/CAN6MV5OFzsdefiRdx9B2gw4YL2%3Dk0BknqnBPtqXuPy0bagm5Ew%40mail.gmail.com.

Pablo Vidaurri

unread,
Jan 12, 2018, 1:10:31 AM1/12/18
to CAS Community, dkopy...@unicon.net
Just to confirm, in CAS 5.1.x and 5.2.x there is no absolute requirement to have classes in org/apereo/cas package ... correct?


On Friday, May 12, 2017 at 10:25:41 AM UTC-5, Dmitriy Kopylenko wrote:
Try this one for the info on configuration mechanism: https://apereo.github.io/2017/02/21/cas-autocfg-strategy/ Note, this applies to CAS 5.1. In CAS 5.0.x line, the configuration classes are contributed to Spring app ctx. by means of component scanning, so in order for CAS to pick ‘em up in 5.0.x, put your custom @Configuration classes in `org/apereo.cas` base package

Best,
D.

dkopy...@unicon.net

unread,
Jan 12, 2018, 6:02:17 AM1/12/18
to cas-...@apereo.org
Correct.

D.




--
- 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+u...@apereo.org.
Reply all
Reply to author
Forward
0 new messages