}
}).csrfTokenRepository(str);
http.sessionManagement().enableSessionUrlRewriting(false);
http.sessionManagement().sessionCreationPolicy(SessionCreationPolicy.NEVER);
http.sessionManagement().sessionAuthenticationStrategy(new NullAuthenticatedSessionStrategy());
http.securityContext().securityContextRepository(new NullSecurityContextRepository());
http.exceptionHandling().authenticationEntryPoint(new SimpleAuthenticationEntryPoint(confMap.get("security.signin")));
http.exceptionHandling().accessDeniedHandler(new SimpleAccessDeniedHandler(confMap.get("security.access_denied")));
http.requestCache().requestCache(new SimpleRequestCache());