<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 8/27/2013 8:23 AM, Brewer, Edward L
      wrote:<br>
    </div>
    <blockquote
cite="mid:986FC1CB53E9F24A8FBD3623AB5655971932F8@ITS-HCWNEM105.ds.vanderbilt.edu"
      type="cite">
      <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">When

          I use Test Shib I am directed to &nbsp;idp/Authn/UserVPassword&nbsp; and
          the login page is displayed.&nbsp; When I enter my credentials it
          fails&#8230; and I see in the log<o:p></o:p></span></p>
      <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
      <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">08:14:07.967

          - DEBUG
          [edu.internet2.middleware.shibboleth.idp.authn.provider.UsernamePasswordLoginServlet:177]

          - User authentication for brewerel failed<o:p></o:p></span></p>
      <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">javax.security.auth.login.LoginException:
          No LoginModules configured for test<o:p></o:p></span></p>
      <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
      <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">I
          have also tried changing jaasConfigurationLocation in the
          second entry to a different file (leaving ShibUserPassAuth for
          the name) and dropping the init-param and that makes it use
          the original file and LDAP1 to auth&#8230;.<o:p></o:p></span></p>
      <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
      <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">So,
          any suggestions.</span></p>
    </blockquote>
    <br>
    I'm afraid you've already exceeded my experience with the
    UsernamePassword handler and JAAS... :/<br>
    <br>
    The one remaining configuration combo I'd try is use the same JAAS
    config file for both, but use a different jaasConfigName section for
    the second handler (the default appears to be "ShibUserPassAuth").<br>
    <br>
    <pre class="moz-signature" cols="72">-- 
%%  Christopher A. Bongaarts   %%  <a class="moz-txt-link-abbreviated" href="mailto:cab@umn.edu">cab@umn.edu</a>          %%
%%  OIT - Identity Management  %%  <a class="moz-txt-link-freetext" href="http://umn.edu/~cab">http://umn.edu/~cab</a>  %%
%%  University of Minnesota    %%  +1 (612) 625-1809    %%
</pre>
  </body>
</html>