I'm currently working on a new project (from scracth) started with Spring Boot with Spring Security.
I need to implements two way of authentication on the same REST API. First the SSO authentication and the LDAP authentication, the choice is made by the user by clicking a checkbox on the web application who transmit the auth request to the API.
My question is : How can i achieve this ? i already implemented LDAP authentication or SSO authentication but never both on the same project, i don't found any documentation on that
Regards