Shibbboleth IDP 3 Multiple Username Logins
Raymond Gardner
r.gardner at ntta.com
Wed Aug 17 16:47:16 EDT 2016
>>We are currently running Shibboleth IDP 3 using ldap for authentication. We would like to be able to have users login with both their username (ex: jdoe) as well as their numerical username (ex: 1111111) but resolving that value back to their regular username (jdoe). Has anyone using shibboleth dealt with authenticating different usernames for a user?
[Raymond Gardner]
I'm working on something similar. User logs in with username1, we take that and lookup in the database a mapped username2. Then, we use username2 to authenticate against LDAP.
Sounds like both your usernames are already in LDAP. For us, I have to go to a database. You might have more flexibility.
To do this, I'm using JAAS authentication. It is more flexible and allows multiple sources.
I'm still working on my implementation. I plan to extend the LDAPLoginModule from the ldaptive library so I may modify the incoming JAAS options.
I recommend looking into Ldaptive and the Shibboleth JAAS examples. I believe their wiki for IDP2 has better JAAS documentation examples, but it is the same setup for IDP3.
For JAAS, the main configuration is in conf/authn/password-authn-config.xml. This plus the JAAS config files.
****************************************************************
This email message is intended for the use of the person to whom it has been sent, and may contain information that is confidential or legally protected. If you are not the intended recipient or have received this message in error, you are not authorized to copy, distribute, or otherwise use this message or its attachments. Please notify the sender immediately by return e-mail and permanently delete this message and any attachments. NTT America makes no warranty that this email is error or virus free. Thank you.
****************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20160817/13a6e306/attachment-0001.html>
More information about the users
mailing list