November 2017
Intermediate to advanced
542 pages
14h 24m
English
The default constructor for ExceptionTranslationFilter and the setAuthenticationEntryPoint method was removed in favor of using the constructor injection:
ExceptionTranslationFilter filter = new ExceptionTranslationFilter();filter.setAuthenticationEntryPoint(entryPoint);filter.setRequestCache(requestCache);
This can be replaced with the following code:
ExceptionTranslationFilter filter = new ExceptionTranslationFilter(entryPoint, requestCache);
Read now
Unlock full access