0

My application has 2 types of users, first would never have a LDAP id and their authentication is going to be via DB and second would have a LDAP id and their authentication would be via LDAP. My DB has a flag on the authentication type (LDAP or DB) and roles. Even after LDAP authentication, I need to access my DB to get the roles(Hope this can be retrieved using UserDetailsService) I did go through few links showing how multiple authentication provider can be used or a custom authentication can be used. But I am unable to make a concrete decision on how to go about this. I have not put any code because I am still finding how to go about this. Please suggest the best approach for this. Thanks in advance

KGDK
  • 25
  • 11

0 Answers0