Commit 2f484ee6 authored by Sascha Herzinger's avatar Sascha Herzinger
Browse files

removed AnonymousAuthenticationToken. It's functionality is provided by the...

removed AnonymousAuthenticationToken. It's functionality is provided by the RefreshAuthoritiesInterceptor by "accident"
parent 50e471ac
......@@ -59,14 +59,6 @@ public class SpringSecurityConfig extends WebSecurityConfigurerAdapter {
return authenticationProvider;
}
@Bean
public AnonymousAuthenticationToken anonymousAuthenticationToken() {
return new AnonymousAuthenticationToken(
"wRexHF3tChFUHP6h7EYX",
lcsb.mapviewer.common.Configuration.ANONYMOUS_LOGIN,
userDetailsService.loadUserByUsername(lcsb.mapviewer.common.Configuration.ANONYMOUS_LOGIN).getAuthorities());
}
@Override
public void configure(WebSecurity web) throws Exception {
web.ignoring()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment