我正在使用 spring boot 和 spring security 启动一个Web项目。
首先,我使用jdbcAuthentication
登录;连接成功。
其次,我使用ldapAuthentication
登录;同样,这种联系也很成功。
我想结合这两种身份验证,因此当用户使用“... @ abc.com”登录时,spring安全性将使用ldapAuthentication
进行身份验证,如果没有,则spring security将使用{{进行身份验证1}}。
我正在寻找这样的例子:
jdbcAuthentication
有没有人有同样的问题?