<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    I have been unsuccessful thus far in setting up IdP 2.4.0 with my
    test ldap server (spring-security-ldap-sample).<br>
    <br>
    I have made the following config changes by adding config elements
    shown for each file below:<br>
    <br>
    <ul style="margin-top:0pt;margin-bottom:0pt;"
      id="docs-internal-guid-67ebb44e-c29c-e9ff-cdbb-e95ad1814002">
      <li dir="ltr"
style="list-style-type:disc;font-size:16px;font-family:Arial;color:#666666;background-color:transparent;font-weight:bold;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;">
        <p dir="ltr"
          style="line-height:1.15;margin-top:0pt;margin-bottom:0pt;"><span
style="font-size:15px;font-family:Arial;color:#000000;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;">conf/login.config</span></p>
      </li>
    </ul>
    <p dir="ltr"
      style="line-height:1.15;margin-top:0pt;margin-bottom:0pt;"><span
style="font-size:15px;font-family:Arial;color:#000000;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;"><br
          class="kix-line-break">
        edu.vt.middleware.ldap.jaas.LdapLoginModule required</span></p>
    <p dir="ltr"
      style="line-height:1.15;margin-top:0pt;margin-bottom:0pt;"><span
style="font-size:15px;font-family:Arial;color:#000000;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;">
        &nbsp;&nbsp;ldapUrl=<a class="moz-txt-link-rfc2396E" href="ldap://localhost:33389/dc=springframework,dc=org">"ldap://localhost:33389/dc=springframework,dc=org"</a></span></p>
    <p dir="ltr"
      style="line-height:1.15;margin-top:0pt;margin-bottom:0pt;"><span
style="font-size:15px;font-family:Arial;color:#000000;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;">
        &nbsp;&nbsp;baseDn=""</span></p>
    <p dir="ltr"
      style="line-height:1.15;margin-top:0pt;margin-bottom:0pt;"><span
style="font-size:15px;font-family:Arial;color:#000000;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;">
        &nbsp;&nbsp;ssl="false"</span></p>
    <p dir="ltr"
      style="line-height:1.15;margin-top:0pt;margin-bottom:0pt;"><span
style="font-size:15px;font-family:Arial;color:#000000;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;">
        &nbsp;&nbsp;userFilter="uid={0}";</span></p>
    <p dir="ltr"
      style="line-height:1.15;margin-top:0pt;margin-bottom:0pt;"><span
style="font-size:15px;font-family:Arial;color:#000000;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;">};</span></p>
    <ul style="margin-top:0pt;margin-bottom:0pt;">
      <li dir="ltr"
style="list-style-type:disc;font-size:16px;font-family:Arial;color:#666666;background-color:transparent;font-weight:bold;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;">
        <h3 dir="ltr"
          style="line-height:1.15;margin-top:14pt;margin-bottom:4pt;"><span
style="font-size:15px;font-family:Arial;color:#000000;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;">conf/handler.xml</span></h3>
      </li>
    </ul>
    <p dir="ltr"
      style="line-height:1.15;margin-top:0pt;margin-bottom:0pt;"><span
style="font-size:15px;font-family:Arial;color:#000000;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;"><br
          class="kix-line-break">
        &nbsp;&nbsp;&nbsp; &lt;!-- &nbsp;Username/password login handler --&gt;&nbsp;&nbsp;&nbsp; &nbsp;</span></p>
    <p dir="ltr"
      style="line-height:1.15;margin-top:0pt;margin-bottom:0pt;"><span
style="font-size:15px;font-family:Arial;color:#000000;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;">&nbsp;&nbsp;&nbsp;
        &lt;ph:LoginHandler xsi:type="ph:UsernamePassword"</span></p>
    <p dir="ltr"
      style="line-height:1.15;margin-top:0pt;margin-bottom:0pt;"><span
style="font-size:15px;font-family:Arial;color:#000000;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;">
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
jaasConfigurationLocation=<a class="moz-txt-link-rfc2396E" href="file:///home/najmi/shibboleth/shibboleth-identityprovider-2.4.0/installation/conf/login.config">"file:///home/najmi/shibboleth/shibboleth-identityprovider-2.4.0/installation/conf/login.config"</a>&gt;</span></p>
    <p dir="ltr"
      style="line-height:1.15;margin-top:0pt;margin-bottom:0pt;"><span
style="font-size:15px;font-family:Arial;color:#000000;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;">
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;ph:AuthenticationMethod&gt;urn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport&lt;/ph:AuthenticationMethod&gt;</span></p>
    <p dir="ltr"
      style="line-height:1.15;margin-top:0pt;margin-bottom:0pt;"><span
style="font-size:15px;font-family:Arial;color:#000000;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;">&nbsp;&nbsp;&nbsp;
        &lt;/ph:LoginHandler&gt;</span></p>
    <br>
    <span
style="font-size:15px;font-family:Arial;color:#000000;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;"></span>I
    then try and login at the idp/login.jsp page with well-known
    credentials. I get the error below.<br>
    <h3>ERROR</h3>
    <p> An error occurred while processing your request. Please contact
      your helpdesk or user ID office for assistance. </p>
    <p> <strong>Error Message: Invalid IdP URL (HTTP 404)</strong> </p>
    <br>
    Also, I notice that the login.jsp code "Log in to
    &lt;idpui:serviceName/&gt;"<br>
    <br>
    renders as "Log in to Unspecified Service Provider". I guess this is
    telling that my config for the ldap provider is not being read for
    some reason.<br>
    <br>
    I have done no customization of the login.jsp page beyond changing
    the logo. <br>
    What could be wrong and how can I debug this better.<br>
    <br>
    TIA for your kind help.<br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Regards,
Farrukh Najmi

Web: <a class="moz-txt-link-freetext" href="http://www.wellfleetsoftware.com">http://www.wellfleetsoftware.com</a>

</pre>
  </body>
</html>