See link below ..
Spring security access UserDetailsService from deeper layers
Everywhere I read it says UserDetails or principal is automatically stored by Spring in session on successful Authentication. But is it really done ? By Which name then ? Is it possible to get UserDetails from session by session.getAttribute(...) ?
All other methods are ok, but I am confused about this