Skip to content
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

Merged
merged 3 commits into from
Sep 13, 2016
Merged

Handle EPTI attribute parsing correctly #76

merged 3 commits into from
Sep 13, 2016

Conversation

DRvanR
Copy link
Contributor

@DRvanR DRvanR commented Sep 7, 2016

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.

@DRvanR
Copy link
Contributor Author

DRvanR commented Sep 7, 2016

@jaimeperez @thijskh thoughts?

@coveralls
Copy link

Coverage Status

Coverage increased (+0.2%) to 63.089% when pulling 09e4157 on SURFnet:feature/correct-epti-attribute-parsing into e25ed1a on simplesamlphp:master.

@thijskh
Copy link
Member

thijskh commented Sep 8, 2016

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.

@jaimeperez
Copy link
Member

Fully agreed, big +1 here.

With this, I'll save myself the work to write a filter in SimpleSAMLphp to do this conversion automatically.

@DRvanR
Copy link
Contributor Author

DRvanR commented Sep 8, 2016

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.

@jaimeperez
Copy link
Member

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.

@thijskh
Copy link
Member

thijskh commented Sep 8, 2016

Yes, 2.x branch is fine.

@DRvanR DRvanR changed the base branch from master to release-2.x September 13, 2016 11:46
@DRvanR DRvanR changed the base branch from release-2.x to master September 13, 2016 11:50
@DRvanR DRvanR merged commit eeefb67 into simplesamlphp:master Sep 13, 2016
@DRvanR DRvanR deleted the feature/correct-epti-attribute-parsing branch September 13, 2016 11:54
@jaimeperez
Copy link
Member

Thanks a lot for this @DRvanR!

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants