Class PropertiesEndpointAccessResolver

java.lang.Object
org.springframework.boot.actuate.autoconfigure.endpoint.PropertiesEndpointAccessResolver
All Implemented Interfaces:
org.springframework.boot.actuate.endpoint.EndpointAccessResolver

public class PropertiesEndpointAccessResolver extends Object implements org.springframework.boot.actuate.endpoint.EndpointAccessResolver
EndpointAccessResolver that resolves the permitted level of access to an endpoint using the following properties:
  1. management.endpoint.<id>.access or management.endpoint.<id>.enabled (deprecated)
  2. management.endpoints.access.default or management.endpoints.enabled-by-default (deprecated)
The resulting access is capped using management.endpoints.access.max-permitted.
Since:
3.4.0
  • Constructor Details

    • PropertiesEndpointAccessResolver

      public PropertiesEndpointAccessResolver(org.springframework.core.env.PropertyResolver properties)
  • Method Details

    • accessFor

      public org.springframework.boot.actuate.endpoint.Access accessFor(org.springframework.boot.actuate.endpoint.EndpointId endpointId, org.springframework.boot.actuate.endpoint.Access defaultAccess)
      Specified by:
      accessFor in interface org.springframework.boot.actuate.endpoint.EndpointAccessResolver