Hi,
i want to use the users by name strategy. To find out my user name i print out getCurrentUser().getName() of the UserProvider dependency. There was an very large outcome like this: Name: [Jon Doe], Granted Authorities: [ROLE__ADMIN], User Attributes: [sub=cDmN-tVr_wzTvm] and so on.
My questions are:
• Is this the right outcome to use for the Strategy?
• If yes, how can i define that the whole outcome (with commas) only define one user?
• If no, how can i find out the right value? Just with name (Jon Doe) it doesn't work.
Greetings
Thomas