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>.accessormanagement.endpoint.<id>.enabled(deprecated)management.endpoints.access.defaultormanagement.endpoints.enabled-by-default(deprecated)
management.endpoints.access.max-permitted.- Since:
- 3.4.0
- Author:
- Andy Wilkinson
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccessFor(EndpointId endpointId, Access defaultAccess) Resolves the permitted level of access for the endpoint with the givenendpointIdanddefaultAccess.
-
Constructor Details
-
PropertiesEndpointAccessResolver
-
-
Method Details
-
accessFor
Description copied from interface:EndpointAccessResolverResolves the permitted level of access for the endpoint with the givenendpointIdanddefaultAccess.- Specified by:
accessForin interfaceEndpointAccessResolver- Parameters:
endpointId- the ID of the endpointdefaultAccess- the default access level of the endpoint- Returns:
- the permitted level of access, never
null
-