spring security not in memory