-
Aug 13th, 2010, 10:46 AM
#1
UserDetails data stored in ContextHolder
Hi,
I created my own implementation of UserDetails and UserDetailsService. But I don't know how this will work.
I want to store with username and credentials additional data like email and phone number. So I declare this fields in UserDetailsImpl. But where is it will call?
Do I have to return in AuthenticationProvider a UserDetails?
Where will my custon UserDetails be stored?
PS: I want to create a custom authentication and it is difficult to see the dataflow. Is there some flow chart web authentication?
Regards
-
Aug 13th, 2010, 04:24 PM
#2
If you are writing your own UserDetailsService you are in charge of determining where to store the UserDetails (you might extends one of the existing UserDetailsService implementations).
Try reading the technical overview to get an understanding of the flow.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules