if (StringUtils.hasLength(authConfig.getAuthenticationFilterName())) {
GeoServerSecurityFilter authFilter = getSecurityManager().loadFilter(authConfig.getAuthenticationFilterName());
ep.setEntryEntryPoint(authFilter.getAuthenticationEntryPoint());
}
HttpSessionRequestCache cache = new HttpSessionRequestCache();
cache.setCreateSessionAllowed(false);
ExceptionTranslationFilter filter = new ExceptionTranslationFilter(ep,cache);
AccessDeniedHandlerImpl accessDeniedHandler = new AccessDeniedHandlerImpl();
if (StringUtils.hasLength(authConfig.getAccessDeniedErrorPage())) {