enable endpoints actuator on cas 6.3.7

已查看 496 次
跳至第一个未读帖子

Mathieu HETRU

未读,
2021年10月14日 06:26:092021/10/14
收件人 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

未读,
2021年10月14日 08:43:152021/10/14
收件人 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

未读,
2021年10月18日 07:43:082021/10/18
收件人 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

未读,
2021年10月18日 08:56:522021/10/18
收件人 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
回复全部
回复作者
转发
0 个新帖子