Announcement Announcement Module
Collapse
No announcement yet.
UserDetails data stored in ContextHolder Page Title Module
Move Remove Collapse
This topic is closed
X
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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

  • #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.

    Comment

    Working...
    X