<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:"Calibri Light";
        panose-1:2 15 3 2 2 2 4 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.E-MailFormatvorlage17
        {mso-style-type:personal-compose;
        font-family:"Calibri Light",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="DE-CH" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri Light&quot;,sans-serif">Hi there<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri Light&quot;,sans-serif"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">First of all, I’m using tomcat 6 and the shibboleth Idp 2.4.3<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I’m trying to use an apacheds ldap server running on port 10389 (on the same machine) for authentication but am struggling. I see the following exception in the idp-process.log:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><i><span lang="EN-US">javax.security.auth.login.LoginException: No LoginModules configured for ShibUserPassAuth<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span lang="EN-US"><o:p>&nbsp;</o:p></span></i></p>
<p class="MsoNormal"><span lang="EN-US">Eventhough I have enabled the UsernamePassword LoginHandler in the handler.xml. The following is the configuration in my login.config file:<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><i><span lang="EN-US">ShibUserPassAuth {<o:p></o:p></span></i></p>
<p class="MsoNormal" style="text-autospace:none"><i><span lang="EN-US"><o:p>&nbsp;</o:p></span></i></p>
<p class="MsoNormal" style="text-autospace:none"><i><span lang="EN-US">&nbsp;&nbsp; edu.vt.middleware.ldap.jaas.LdapLoginModule required<o:p></o:p></span></i></p>
<p class="MsoNormal" style="text-autospace:none"><i><span lang="EN-US">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ldapUrl=&quot;ldap://localhost:10389&quot;<o:p></o:p></span></i></p>
<p class="MsoNormal" style="text-autospace:none"><i><span lang="EN-US">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; baseDn=&quot;ou=services,ou=user,dc=example,dc=com&quot;<o:p></o:p></span></i></p>
<p class="MsoNormal" style="text-autospace:none"><i><span lang="EN-US">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; bindDn=&quot;cn=admin,ou=administrative,ou=user,dc=example,dc=com&quot;<o:p></o:p></span></i></p>
<p class="MsoNormal" style="text-autospace:none"><i><span lang="EN-US">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; bindCredential=&quot;password&quot;;<o:p></o:p></span></i></p>
<p class="MsoNormal" style="text-autospace:none"><i><span lang="EN-US">};<o:p></o:p></span></i></p>
<p class="MsoNormal"><span lang="EN-US"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">To me it looks as if the login.config never gets loaded. I can put in there whatever I want, the exception stays the same. These are the lines in my handler.xml:<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><i><span lang="EN-US">&lt;ph:LoginHandler xsi:type=&quot;ph:UsernamePassword&quot; jaasConfigurationLocation=&quot;file:///opt/shibboleth-idp/conf/login.config&quot;&gt;<o:p></o:p></span></i></p>
<p class="MsoNormal" style="text-autospace:none"><i><span lang="EN-US">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;ph:AuthenticationMethod&gt;urn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport&lt;/ph:AuthenticationMethod&gt;<o:p></o:p></span></i></p>
<p class="MsoNormal" style="text-autospace:none"><i><span lang="EN-US">&lt;/ph:LoginHandler&gt;<o:p></o:p></span></i></p>
<p class="MsoNormal"><span lang="EN-US"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I have no Idea where to go from here. Did I forget something? Any help or tip would be highly appreciated!<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Thanks and have a nice day<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Kevin<o:p></o:p></span></p>
</div>
</body>
</html>