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:
management.endpoint.<id>.accessormanagement.endpoint.<id>.enabled(deprecated)management.endpoints.access.defaultormanagement.endpoints.enabled-by-default(deprecated)
management.endpoints.access.max-permitted.- Since:
- 3.4.0
-
Constructor Summary
ConstructorsConstructorDescriptionPropertiesEndpointAccessResolver(org.springframework.core.env.PropertyResolver properties) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.boot.actuate.endpoint.AccessaccessFor(org.springframework.boot.actuate.endpoint.EndpointId endpointId, org.springframework.boot.actuate.endpoint.Access defaultAccess)
-
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:
accessForin interfaceorg.springframework.boot.actuate.endpoint.EndpointAccessResolver
-