Link to home
Start Free TrialLog in
Avatar of ltpitt
ltpitt

asked on

Spring Actuator authentication check

Hello there,

I've just enabled Spring Actuator and the information provided even just by the simple health endpoint is amazing.

I would like to make it secure so that a user is forced to authenticate and I can do it adding to application.properties:
management.endpoint.health.show-details=when_authorized

My application is not using spring-security but it is authenticating against LDAP.

Using LDAP credentials doesn't work when requesting the actuator endpoint, I would like to understand how I can make it so that the actuator endpoint can use LDAP authentication too.

Thanks for your help!
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.