Shibboleth 4 IDP: Query two different login sources with the Password flow
问题 I have two login sources (an Active Directory and a local MySQL Database) that each contain different users. I want to configure the Password flow in this way: query the AD first if this succeeds, the user gets logged in if it fails, query the local database and log the user in if this succeeds else, authentication fails How can I achieve that? 回答1: This is the solution I found: inside the file conf/authn/password-authn-config.xml put the following lines or replace if they already exist: