renaming the DSL to configurer

This commit is contained in:
Eugen Paraschiv 2018-02-17 01:02:20 +02:00
parent 0f6f60f825
commit 5d4bfa2e73
2 changed files with 5 additions and 5 deletions

View File

@ -7,15 +7,15 @@ import org.springframework.security.config.annotation.web.builders.HttpSecurity;
import org.springframework.security.config.annotation.web.configurers.AbstractHttpConfigurer;
import org.springframework.security.web.access.intercept.FilterSecurityInterceptor;
public class ClientErrorLoggingDsl extends AbstractHttpConfigurer<ClientErrorLoggingDsl, HttpSecurity> {
public class ClientErrorLoggingConfigurer extends AbstractHttpConfigurer<ClientErrorLoggingConfigurer, HttpSecurity> {
private List<HttpStatus> errorCodes;
public ClientErrorLoggingDsl(List<HttpStatus> errorCodes) {
public ClientErrorLoggingConfigurer(List<HttpStatus> errorCodes) {
this.errorCodes = errorCodes;
}
public ClientErrorLoggingDsl() {
public ClientErrorLoggingConfigurer() {
}

View File

@ -25,8 +25,8 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
}
@Bean
public ClientErrorLoggingDsl clientErrorLogging() {
return new ClientErrorLoggingDsl();
public ClientErrorLoggingConfigurer clientErrorLogging() {
return new ClientErrorLoggingConfigurer();
}
@Override