mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Polish
This commit is contained in:
parent
8b69856fc9
commit
367963f29f
@ -144,8 +144,8 @@ public class JolokiaAutoConfigurationTests {
|
||||
public EndpointHandlerMapping endpointHandlerMapping(
|
||||
Collection<? extends MvcEndpoint> endpoints) {
|
||||
EndpointHandlerMapping mapping = new EndpointHandlerMapping(endpoints);
|
||||
mapping.setSecurityInterceptor(
|
||||
new MvcEndpointSecurityInterceptor(false, Collections.emptyList()));
|
||||
mapping.setSecurityInterceptor(new MvcEndpointSecurityInterceptor(false,
|
||||
Collections.<String>emptyList()));
|
||||
return mapping;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user