Class PropertiesEndpointAccessResolver
java.lang.Object
org.springframework.boot.actuate.autoconfigure.endpoint.PropertiesEndpointAccessResolver
- All Implemented Interfaces:
EndpointAccessResolver
EndpointAccessResolver
that resolves the permitted level of access to an
endpoint using the following properties:
management.endpoint.<id>.access
ormanagement.endpoint.<id>.enabled
(deprecated)management.endpoints.access.default
ormanagement.endpoints.enabled-by-default
(deprecated)
management.endpoints.access.max-permitted
.- Since:
- 3.4.0
- Author:
- Andy Wilkinson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaccessFor
(EndpointId endpointId, Access defaultAccess) Resolves the permitted level of access for the endpoint with the givenendpointId
anddefaultAccess
.
-
Constructor Details
-
PropertiesEndpointAccessResolver
-
-
Method Details
-
accessFor
Description copied from interface:EndpointAccessResolver
Resolves the permitted level of access for the endpoint with the givenendpointId
anddefaultAccess
.- Specified by:
accessFor
in interfaceEndpointAccessResolver
- Parameters:
endpointId
- the ID of the endpointdefaultAccess
- the default access level of the endpoint- Returns:
- the permitted level of access, never
null
-