-
Notifications
You must be signed in to change notification settings - Fork 136
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
Handle EPTI attribute parsing correctly #76
Handle EPTI attribute parsing correctly #76
Conversation
@jaimeperez @thijskh thoughts? |
Yes, I believe this is what we discussed. We concluded that since two of the saml2 using projects already ran into this, it makes sense to do something about it in the library. And because we are certain that an EPTI is a nameID, it's an acceptable tradeoff to special case this attribute. |
Fully agreed, big +1 here. With this, I'll save myself the work to write a filter in SimpleSAMLphp to do this conversion automatically. |
Alright, shall we consider this to be a bugfix or a BC-break? I'd prefer it to be a bugfix, and release it in the 2.x range. This will prevent incompatibilities in consuming projects due to it being released as a new major. |
That's a bit more complicated to answer. Breaking backwards compatibility in a bugfix is really bad, but having a new major seems a serious overkill... I'd probably go for a new bugfix release in the 2.x branch, but those are just my 2 cents. |
Yes, 2.x branch is fine. |
Thanks a lot for this @DRvanR! |
As an eduPersonTargetedID is specified as always containing a NameID, we can detect and handle that case by treating the attribute values as NameID. This also resolves the issue of an EPTI attribute not being serializeable, as reported here and discussed in #60.
Do note that this is a BC break and therefor should result in the release of a new major, albeit it arguably can be treated as a bugfix. It the latter case it could be released in the 2.x range.