-
Notifications
You must be signed in to change notification settings - Fork 492
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
Shibboleth: Remote Authentication Phase 1 #3025
Conversation
The basics are in place but code should be cleaned up more and refactored. Started working a bit on user management. Added PROVIDER_ID static field for Shib provider.
…mpty render logic to the Affiliation and Position fields. Fixed broken tooltip issue on the Edit Account Information pg. [ref #2046]
… on Log In pg. [ref #2950]
Redirect to 403 (unauthorized) if you try to hack the URL. Also, only show "user.signup.tip" when you are really about to create.
…dataset pg. [ref #2838]
- Put email addresses throught the same "find single value" logic originally developed in #1608 for multiple first and last names. - Add `@ValidateEmail` to the "email" field on AuthenticatedUser to match BuiltinUser. - Add null check added to EmailValidator to make it testable. - Add `INVALID_EMAIL` and `MISSING_REQUIRED_ATTR` modes for Shib testing in dev. - Remove red warning when TestShib doesn't provide "mail" attribute. - Catch authSvc.createAuthenticatedUser exceptions and handle errors better. - Reformat code (getPrettyFacesHomePageString seems ok).
- Some debugging relates to groups #105 - Some code cleanup.
I believe this is a reversal of an earlier design decision but @mheppler said it should be removed so I'm removing it: #2950 (comment)
Also catch exception calling authSvc.authenticate when builtinuser password is not populated. Reformat code.
Having this endpoint makes documenting the conversion from Shib to builtin for #2915 easier.
This is for #2975. still need to add pictures in.
fixed some inconsistencies and typos
Good on my end. Passing to @kcondon to merge. |
The merging of several pull requests yesterday has resulted in the message, "This branch has conflicts that must be resolved." I'm stealing this pull request back to resolve merge conflicts.
|
Conflicts from #3108 (3089-jsoup): src/main/java/Bundle.properties src/main/webapp/dataverseuser.xhtml src/test/java/edu/harvard/iq/dataverse/util/BundleUtilTest.java - Had to fix welcome notification on signup (no more notification.welcome1 and notification.welcome2) - Apply dataverse.saved.search.success fix from 09454b2
@scolapasta it seems that merging #3108 (3089-jsoup) into develop cause several merge conflicts for this pull request. I just merged "develop" into 2939-shib (this pull request) and resolved conflicts in fe5b00d. That commit message has the details of the nature of the conflict but I'll repeat them here: Conflicts from #3108 (3089-jsoup):
@scolapasta I'm going to pass this pull request to you to see what you think. If you could also please let me know if you think I should to the refactoring and cleanup I mentioned the other day, I'd appreciate it. I'm feeling a bit guilty about about the state of the code in the "convertShibToBuiltIn" method I added to the API:
|
@scolapasta gave me the go ahead to clean up the "convertShibToBuiltIn" code, which I did in a new pull request: #3120. |
RFI Checklist
1. Related Issues
2. Pull Request Checklist
3. Review Checklist
After the pull request has been submitted, fill out this section.