-
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 #2939
Comments
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.
@mheppler and @pdurbin I'm not seeing an issue in the above list that it makes sense to add in the bug we found where the Help link in the Institutional Log In box isn't going to the right URL and doesn't open the guides in a new tab. Is there one above either of you would want me to add it to or should I go ahead and create a new one? |
@eaquigley I just created #2951 and added it to the list in the description. Thanks for the reminder! |
Redirect to 403 (unauthorized) if you try to hack the URL. Also, only show "user.signup.tip" when you are really about to create.
- 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.
Conflicts: - pom.xml - src/main/java/Bundle.properties
When merging from "develop" I let develop win. Need to reapply these fixes.
This is the parent ticket I've been using to organize the "phase 1" Shibboleth work (and name the branch after) and I'm passing this issue to QA now that I've made my pull request at #3025. |
Tested closing. |
Dataverse 4.0 shipped with experimental Shibboleth support, but there are a number of issues we'd like to resolve before we re-enable Shibboleth at https://dataverse.harvard.edu . In a Remote Authentication Business Requirements Document (BRD) the scope of work is described as "Phase 1". I'm creating this issue to have an issue number to use in the name of a branch where I'll start to push code. If you don't see an issue listed below, I'm not working on it for Phase 1. I'll update this description as necessary. A checkmark indicates that @pdurbin thinks that issue is code-complete and included in pull request #3025.
New features to add
Bugs to fix
Features that should be re-tested (no regressions)
These were developed for 4.0 were based on Shibboleth Functional Requirements Document for Dataverse 4.0:
Bonus bug fixes that should be re-tested (no regressions)
When will Shibboleth support no longer be considered experimental?
Once the issues above have gone through QA and a release has been deployed to https://dataverse.harvard.edu for some amount of time without incident, we'll remove "experimental" from the docs and close the issue below:
Issues that may be included or may be out of scope
Issues that are definitely out of scope
code clean up: rename Shib.java to ShibPage.java? Move from default package to edu.harvard.iq.dataverse.authorization.providers.shib(looked at this, probably not a lot of value to doing this)The text was updated successfully, but these errors were encountered: