* code optimization for `ConfigChangeHandler` * [ISSUE #9930] fix word spelling error in com.alibaba.nacos.common.http.AbstractHttpClientFactory#ASYNC_IO_REACTOR_NAME * [ISSUE #10020] Use Generic Type When Declaring `authFilterRegistration` in com.alibaba.nacos.core.auth.AuthConfig * fix code format * fix code format * Fix Code Format * Fix Code Format * [ISSUE #10308] Use Generic Type
This commit is contained in:
parent
b3b5236cd4
commit
1f28e28549
@ -61,7 +61,7 @@ public class PrometheusAuthFilter {
|
||||
@Bean
|
||||
public FilterRegistrationBean<AuthorizationFilter> authorizationFilter() {
|
||||
FilterRegistrationBean<AuthorizationFilter> registration = new FilterRegistrationBean<>();
|
||||
registration.setFilter(new AuthorizationFilter(new AuthenticatedAuthorizationManager()));
|
||||
registration.setFilter(new AuthorizationFilter(new AuthenticatedAuthorizationManager<>()));
|
||||
registration.addUrlPatterns(PROMETHEUS_CONTROLLER_PATH);
|
||||
registration.setName("prometheusAuthorizationFilter");
|
||||
registration.setOrder(4);
|
||||
|
Loading…
Reference in New Issue
Block a user