I am new to the spring security. I am trying to get details of currently logged in user such as email, username etc.
I am able to get all values however I am not able