mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-02-23 23:31:27 +00:00
This is a better option than using the toString() method where the latter doesn't return the username. e.g when the principal is a UserDetails.