i have problem with spring security because when i log in on user with role admin i always log as user with role anonymous my full code is here :https://github.com/Conrado12