filter.setAuthenticationEntryPoint(aep);
HttpDigestUserDetailsServiceWrapper wrapper =
new HttpDigestUserDetailsServiceWrapper(
getSecurityManager().loadUserGroupService(authConfig.getUserGroupServiceName()),
Charset.defaultCharset());
filter.setUserDetailsService(wrapper);
filter.afterPropertiesSet();