code: @Bean(name = "sessionAttributesOverridesMap")
      @Scope(value = "globalSession", proxyMode = ScopedProxyMode.TARGET_CLASS)
      public Map getSessionAttributesOverridesMap() {
          return new ConcurrentHashMap();
      }
docs: Store attribute overrides in a session scoped map to ensure overrides don't show up for other
  users and swapped attributes will be cleaned up on user logout.