Announcement Announcement Module
Collapse
No announcement yet.
using AbstractUserDetailsAuthenticationProvider Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • using AbstractUserDetailsAuthenticationProvider

    Hi,

    I want to authenticate the user based on two credentials e.g date of birth and password

    Can I extend the AbstractUserDetailsAuthenticationProvider even though it uses UsernamePasswordAuthenticationToken?
    The credentials instance field is an Object so could i create my own custom credentials object with dob and password and set that in UsernamePasswordAuthenticationToken

    I've read it might be better just to implement AuthenticationProvider directly and work from there.
Working...
X