Authentication with Ldap not working

Kevin Flückiger kevin.flueckiger at inovitas.ch
Thu Mar 12 09:30:56 EDT 2015


Hi there

First of all, I’m using tomcat 6 and the shibboleth Idp 2.4.3
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:

javax.security.auth.login.LoginException: No LoginModules configured for ShibUserPassAuth

Eventhough I have enabled the UsernamePassword LoginHandler in the handler.xml. The following is the configuration in my login.config file:
ShibUserPassAuth {

   edu.vt.middleware.ldap.jaas.LdapLoginModule required
      ldapUrl="ldap://localhost:10389"
      baseDn="ou=services,ou=user,dc=example,dc=com"
      bindDn="cn=admin,ou=administrative,ou=user,dc=example,dc=com"
      bindCredential="password";
};

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:
<ph:LoginHandler xsi:type="ph:UsernamePassword" jaasConfigurationLocation="file:///opt/shibboleth-idp/conf/login.config">
        <ph:AuthenticationMethod>urn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport</ph:AuthenticationMethod>
</ph:LoginHandler>

I have no Idea where to go from here. Did I forget something? Any help or tip would be highly appreciated!

Thanks and have a nice day
Kevin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://shibboleth.net/pipermail/users/attachments/20150312/256a7c08/attachment.html 


More information about the users mailing list