-
-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CAS Username Mapper #49
base: master
Are you sure you want to change the base?
Conversation
…superclass implementation in several mappers
…AS username response
I'll try to review it by the end of the week. |
Thank you. One thing I forgot to mention in the merge description is that I tried to follow the same basic structure of the SAML Name ID Mapper and related interface which does something similar for SAML. I think the current naming can be confusing as it's "username" and "mappedUsername" everywhere. The Apereo CAS server calls this identifier the "Principal ID" but I wasn't sure if that would be more or less ambiguous. I'm open to any changes. One other issue was - what happens if more than Username mapper is defined for a specific client? I'm open to any changes you suggest. Thanks Again! |
What an amazing work. |
|
@daramos - would you follow-up on this pull request? |
e0ae2a8
to
bba8bfe
Compare
Hi, |
This Merge request adds a new protocol mapper to allow the username that the CAS protocol returns to the service be derived from one of the user's attributes.
This is useful for services that for example expect a user's email to be returned by CAS instead of the username. At my organization we have several vendor products that requires CAS to provide a GUID attribute instead of a username.
This functionality is supported by the Apereo CAS server and the Shibboleth server's CAS module implementations of the CAS protocol.
Implementing this functionality will allow a migration path from those severs.
The mapper has an option to default to the username if the required attribute is missing.
I know this is a rather large change but I am more than happy to accommodate any changes you'd like to see.
Thanks Again!