@ -118,38 +118,44 @@ final class SecurityMockMvcConfigurer extends MockMvcConfigurerAdapter {
@@ -118,38 +118,44 @@ final class SecurityMockMvcConfigurer extends MockMvcConfigurerAdapter {
}
FiltergetDelegate(){
returnthis.delegate;
Filterresult=this.delegate;
if(result==null){
thrownewIllegalStateException("delegate cannot be null. Ensure a Bean with the name "
+BeanIds.SPRING_SECURITY_FILTER_CHAIN
+" implementing Filter is present or inject the Filter to be used.");