ExceptionHandlingBuilder->ExceptionHandlingSpec
Issue: gh-4822
This commit is contained in:
parent
903cbd7c35
commit
01154614d1
|
@ -101,7 +101,7 @@ public class ServerHttpSecurity {
|
||||||
|
|
||||||
private CsrfSpec csrf = new CsrfSpec();
|
private CsrfSpec csrf = new CsrfSpec();
|
||||||
|
|
||||||
private ExceptionHandlingBuilder exceptionHandling = new ExceptionHandlingBuilder();
|
private ExceptionHandlingSpec exceptionHandling = new ExceptionHandlingSpec();
|
||||||
|
|
||||||
private HttpBasicBuilder httpBasic;
|
private HttpBasicBuilder httpBasic;
|
||||||
|
|
||||||
|
@ -182,9 +182,9 @@ public class ServerHttpSecurity {
|
||||||
return this.headers;
|
return this.headers;
|
||||||
}
|
}
|
||||||
|
|
||||||
public ExceptionHandlingBuilder exceptionHandling() {
|
public ExceptionHandlingSpec exceptionHandling() {
|
||||||
if(this.exceptionHandling == null) {
|
if(this.exceptionHandling == null) {
|
||||||
this.exceptionHandling = new ExceptionHandlingBuilder();
|
this.exceptionHandling = new ExceptionHandlingSpec();
|
||||||
}
|
}
|
||||||
return this.exceptionHandling;
|
return this.exceptionHandling;
|
||||||
}
|
}
|
||||||
|
@ -431,8 +431,8 @@ public class ServerHttpSecurity {
|
||||||
* @author Rob Winch
|
* @author Rob Winch
|
||||||
* @since 5.0
|
* @since 5.0
|
||||||
*/
|
*/
|
||||||
public class ExceptionHandlingBuilder {
|
public class ExceptionHandlingSpec {
|
||||||
public ExceptionHandlingBuilder serverAuthenticationEntryPoint(ServerAuthenticationEntryPoint authenticationEntryPoint) {
|
public ExceptionHandlingSpec serverAuthenticationEntryPoint(ServerAuthenticationEntryPoint authenticationEntryPoint) {
|
||||||
ServerHttpSecurity.this.serverAuthenticationEntryPoint = authenticationEntryPoint;
|
ServerHttpSecurity.this.serverAuthenticationEntryPoint = authenticationEntryPoint;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
@ -441,7 +441,7 @@ public class ServerHttpSecurity {
|
||||||
return ServerHttpSecurity.this;
|
return ServerHttpSecurity.this;
|
||||||
}
|
}
|
||||||
|
|
||||||
private ExceptionHandlingBuilder() {}
|
private ExceptionHandlingSpec() {}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue