enable endpoints actuator on cas 6.3.7

481 views
Skip to first unread message

Mathieu HETRU

unread,
Oct 14, 2021, 6:26:09 AM10/14/21
to cas-...@apereo.org
Hello,

i cannot enable any endpoint actuator on my cas 6.3.7...

i already got 404 not found on url...


how can i enable actuator endpoints ?

i wish use importServiceRegisteread endpoint.

Thanks for your help !

Best regards,

Mathieu

King, Robert

unread,
Oct 14, 2021, 8:43:15 AM10/14/21
to cas-...@apereo.org

What is your actuator endpoint configuration in your CAS properties?  Make sure you have at least the following:

 

management.endpoints.web.exposure.include=*

management.endpoint.importRegisteredServices.enabled=true

cas.monitor.endpoints.endpoint.defaults.access=IP_ADDRESS

cas.monitor.endpoints.endpoint.defaults.requiredIpAddresses=<IP regular expression match>

 

The management.endpoints.web.exposure.include statement should be switched to a list of allowed end points on a production environment.

 

The IP regular expression for an IPv4 address:  “12\.210\.12\.34”

 

--
- 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.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAHNwO5kxp9FQTKiYYOcR7kuujKbiYwf_pOT_sNxz0xK8PAJrjw%40mail.gmail.com.

Mathieu HETRU

unread,
Oct 18, 2021, 7:43:08 AM10/18/21
to cas-...@apereo.org
Thanks but i got 404 not found for /actuator/importRegisteredServices
so even actuators works because i got response with /actuator/health

i search the reason, but if u have an idea..

Best regards,

Mathieu HETRU

Mathieu HETRU

unread,
Oct 18, 2021, 8:56:52 AM10/18/21
to cas-...@apereo.org
Hello,
it works fine with adding this plugin in cas-overlay-template in build.gradle in dependencies :
implementation "org.apereo.cas:cas-server-support-reports:${project.'cas.version'}"
Thanks Pascal Rigaux ;-)
Best regards,
Mathieu HETRU
Reply all
Reply to author
Forward
0 new messages