Pablo, I only use the cas code for lookups. Where log messages are being generated, relationship among classes etc. It can be useful when something is not working the way you expect or if code has changed and docs have not been updated, etc. You would not include it or any parts in your overlay project. I have a separate directory where I keep vendor sources.
Ray On Tue, 2021-09-28 at 06:15 -0700, Pablo Vidaurri wrote: Notice: This message was sent from outside the University of Victoria email system. Please be cautious with links and sensitive information. So, I actually thought of doing that. But is it code I'll now have to maintain in my own repo and have jenkins also build. I guess no other choice. -psv On Monday, September 27, 2021 at 6:02:27 PM UTC-5 Ray Bon wrote: Pablo, Clone the cas repo, https://github.com/apereo/cas Then search for that file $ find . -name CoreAuthenticationTestUtils.java ./core/cas-server-core-authentication-api/src/test/java/org/apereo/cas/authentication/CoreAuthenticationTestUtils.java Then testImplementation "org.apereo.cas:cas-server-core-authentication-api" Ray On Mon, 2021-09-27 at 15:23 -0700, Pablo Vidaurri wrote: Notice: This message was sent from outside the University of Victoria email system. Please be cautious with links and sensitive information. I'm trying to test my custom webflow, for a few of the actions I have a principle. How do I mock the principle? I've reviewed cas code and see the use of CoreAuthenticationTestUtil but for the life of me I cannot get the dependency included in my project. -- Ray Bon Programmer Analyst Development Services, University Systems 2507218831<tel:(250)%20721-8831> | CLE 019 | [email protected] I acknowledge and respect the lək̓ʷəŋən peoples on whose traditional territory the university stands, and the Songhees, Esquimalt and WSÁNEĆ peoples whose historical relationships with the land continue to this day. -- Ray Bon Programmer Analyst Development Services, University Systems 2507218831 | CLE 019 | [email protected]<mailto:[email protected]> I acknowledge and respect the lək̓ʷəŋən peoples on whose traditional territory the university stands, and the Songhees, Esquimalt and WSÁNEĆ peoples whose historical relationships with the land continue to this day. -- - 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/0cc4539371d4b3c33a5137de3501d1226bfec61d.camel%40uvic.ca.
