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

Shib attribute character set conversion enabled #6956

Merged

Conversation

pallinger
Copy link
Contributor

This fixes #6946
(Shibboleth attribute character set conversion error.)

Closes #6946

You can test it by logging in with someone having an accented name (containing e.g. öüóőúéáűä) using shibboleth.

I think the release notes or documentation should include the new ShibAttributeCharacterSetConversionEnabled setting that is now true by default.

@djbrooke
Copy link
Contributor

djbrooke commented Jun 2, 2020

@pallinger thanks for the PR! Let us know when this is ready for review and we'll be happy to take a look. If you need help with docs or have other questions let us know. Thanks again!

@coveralls
Copy link

coveralls commented Jun 2, 2020

Coverage Status

Coverage increased (+3.0e-05%) to 19.632% when pulling fd4b160 on dsd-sztaki-hu:ShibAttributeCharacterSetConversionEnabled into 66ed398 on IQSS:develop.

Copy link
Member

@pdurbin pdurbin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall this looks ok but can you please add docs and look at my other comment? Thanks.

@pallinger
Copy link
Contributor Author

pallinger commented Jun 3, 2020

I tested it on our dev server, and it fixed the bad characters in names. However, I needed need to do a clean before you deploy it though, else I got a permission error:

permission(("javax.security.jacc.EJBMethodPermission" "SystemConfig" "isShibAttributeCharacterSetConversionEnabled,Local,"))]]

The PR is ready for review.

@djbrooke
Copy link
Contributor

djbrooke commented Jun 3, 2020

Thanks @pallinger for the quick changes, we'll take another look.

Copy link
Member

@pdurbin pdurbin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a couple small changes left. Thanks! If you prefer, we can make them. Please let us know.

@djbrooke djbrooke moved this from Code Review 🦁 to Community Dev 💻❤️ in IQSS/dataverse (TO BE RETIRED / DELETED in favor of project 34) Jun 3, 2020
Copy link
Contributor

@djbrooke djbrooke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pallinger Thanks again. Can you add a release note for this in doc/release-notes following the process described in the readme there? If you want to give me push access to your fork, I can make the changes there as well.

pallinger and others added 2 commits June 4, 2020 10:51
- move section above an unrelated anchor
- rename Glassfish to something more generic
@pallinger
Copy link
Contributor Author

pallinger commented Jun 4, 2020

I pushed some release notes, I hope they are all right.

@pallinger pallinger requested a review from pdurbin June 4, 2020 09:16
@djbrooke djbrooke moved this from Community Dev 💻❤️ to Code Review 🦁 in IQSS/dataverse (TO BE RETIRED / DELETED in favor of project 34) Jun 4, 2020
IQSS/dataverse (TO BE RETIRED / DELETED in favor of project 34) automation moved this from Code Review 🦁 to QA 🔎✅ Jun 4, 2020
Copy link
Member

@pdurbin pdurbin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Thanks, @pallinger ! 🎉

@kcondon kcondon self-assigned this Jun 4, 2020
Copy link
Contributor

@djbrooke djbrooke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @pallinger -- I may make some edits to the release note when we are getting the next release ready, but this gives me all of the information that I need!

@kcondon kcondon merged commit 498c021 into IQSS:develop Jun 5, 2020
IQSS/dataverse (TO BE RETIRED / DELETED in favor of project 34) automation moved this from QA 🔎✅ to Done 🚀 Jun 5, 2020
@pallinger pallinger deleted the ShibAttributeCharacterSetConversionEnabled branch June 6, 2020 10:16
@djbrooke djbrooke added this to the Dataverse 5 milestone Jun 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

Shibboleth registration results in badly converted accented characters in user's name
5 participants