serverAccessDeniedHandler->accessDeniedHandler

Issue: gh-4822
This commit is contained in:
Rob Winch
2017-11-14 15:18:26 -06:00
parent 9e82fc0b83
commit 3bfda6cff7
4 changed files with 18 additions and 17 deletions

View File

@@ -67,7 +67,7 @@ public class ExceptionTranslationWebFilterTests {
when(this.entryPoint.commence(any(), any())).thenReturn(this.entryPointPublisher.mono());
this.filter.setAuthenticationEntryPoint(this.entryPoint);
this.filter.setServerAccessDeniedHandler(this.deniedHandler);
this.filter.setAccessDeniedHandler(this.deniedHandler);
}
@Test
@@ -150,7 +150,7 @@ public class ExceptionTranslationWebFilterTests {
@Test(expected = IllegalArgumentException.class)
public void setAccessDeniedHandlerWhenNullThenException() {
this.filter.setServerAccessDeniedHandler(null);
this.filter.setAccessDeniedHandler(null);
}
@Test(expected = IllegalArgumentException.class)