类 PropertiesEndpointAccessResolver
java.lang.Object
org.springframework.boot.actuate.autoconfigure.endpoint.PropertiesEndpointAccessResolver
- 所有已实现的接口:
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
.- 从以下版本开始:
- 3.4.0
- 作者:
- Andy Wilkinson
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明accessFor
(EndpointId endpointId, Access defaultAccess) Resolves the permitted level of access for the endpoint with the givenendpointId
anddefaultAccess
.
-
构造器详细资料
-
PropertiesEndpointAccessResolver
-
-
方法详细资料
-
accessFor
从接口复制的说明:EndpointAccessResolver
Resolves the permitted level of access for the endpoint with the givenendpointId
anddefaultAccess
.- 指定者:
accessFor
在接口中EndpointAccessResolver
- 参数:
endpointId
- the ID of the endpointdefaultAccess
- the default access level of the endpoint- 返回:
- the permitted level of access, never
null
-