Apereo CAS - Actuator Endpoints with HAL Explorer

Posted by Misagh Moayyed on February 28, 2022 · 3 mins read ·

HAL Explorer is a very helpful project, allowing one to browse and explore HAL and HAL-FORMS based RESTful Hypermedia APIs. In the context of Apereo CAS, we can take advantage of the explorer to discover various actuator endpoints and interact with them live in the browser.

Our starting position is based on the following:

Configuration

While not strictly required, we can include the CAS reporting facilitiy in our build to expose a number of actuator endpoints that are owned and built by CAS:

implementation "org.apereo.cas:cas-server-support-reports"

If you build and bring up CAS, the HAL Explorer option should be available from the main drawer panel:

At this point, you should be able to browse the available actuator endpoints that are enabled and exposed via your CAS configuraton:

Need Help?

If you have questions about the contents and the topic of this blog post, or if you need additional guidance and support, feel free to send us a note and ask about consulting and support services.

So…

It’s important that you start off simple and make changes one step at a time. Once you have a functional environment, you can gradually and slowly add customizations to move files around.

I hope this review was of some help to you and I am sure that both this post as well as the functionality it attempts to explain can be improved in any number of ways. Please feel free to engage and contribute as best as you can.

Misagh Moayyed