Provide security matchers for actuator links
Fixes gh-12353
This commit is contained in:
@@ -75,6 +75,14 @@ public class PathMappedEndpoints implements Iterable<PathMappedEndpoint> {
|
||||
return Collections.unmodifiableMap(endpoints);
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the base path for the endpoints.
|
||||
* @return the base path
|
||||
*/
|
||||
public String getBasePath() {
|
||||
return this.basePath;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the root path for the endpoint with the given ID or {@code null} if the
|
||||
* endpoint cannot be found.
|
||||
|
||||
Reference in New Issue
Block a user