<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    <br>
    <div class="moz-cite-prefix">On 2/18/16 3:35 PM, Cantor, Scott
      wrote:<br>
    </div>
    <blockquote
cite="mid:9846A6064BD102419D06814DD0D78DE11283598E@CIO-TNC-D2MBX02.osuad.osu.edu"
      type="cite">
      <blockquote type="cite">
        <pre wrap="">Yes, that's what I meant. Each application uses a different LDAP configuration
for password-based login.
So there's really no way to select which LDAP to use for each application?
</pre>
      </blockquote>
      <pre wrap="">
The IdP doesn't know about applications, only SPs. So assuming that's what you mean, no, there has never really been a way to do that other than duplicating the login mechanism. I wouldn't say that's really a "feature", more a workaround. Duplicating that is more complex in V3 than V2 because the authentication requirements were vastly more complex than what could be achieved before, and the complexity of the system is a reflection of that.

I believe it's tractable to add such a feature directly to the current flow, and would encourage you to file a RFE, but right now duplicating the login flow is the only way, just like duplicating the login handler was the way to do this in V2.
</pre>
    </blockquote>
    <br>
    FWIW, our IDM guys here had some weird use case where, based on the
    invoking SP, they needed to use a different LDAP directory for
    authN, meaning a different JAAS config block. (And simply stacking
    them with 'sufficient' wasn't an option due to directory overlap. 
    Don't ask, I didn't really understand the underlying IDM reasons
    either.)  I wrote a V2 extension for them with an updated login
    servlet which just used a Spring-wired Map of entityID -> JAAS
    config name.  So for v2 it was pretty simple.  They just asked me
    week before last how to replicate this type of thing in V3 and it's
    on my TODO list to look into that.
    <blockquote
cite="mid:9846A6064BD102419D06814DD0D78DE11283598E@CIO-TNC-D2MBX02.osuad.osu.edu"
      type="cite">
    </blockquote>
    <br>
  </body>
</html>