-
Notifications
You must be signed in to change notification settings - Fork 497
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
Optionally read affiliation from a Shibbolet attribution instead of DiscoFeed #6514
Comments
I'm especially interested in fixing this. OAuth, Builtin, and OIDC users can set their affiliation to whatever they want whenever they want. Should we empower Shibboleth users to edit their affiliation as well? |
@pdurbin I agree, changing affiliation would be useful. We should take care that once the affiliation is manually changed Dataverse should not owverwrite it. On the other hand: changing affiliation is a related, but different issue, it needs change in different code than that of the extraction of the affiliation from Shibboleth attributes, so it deserves its own issue. |
I have created a new ticket for the manual change: #6515 |
…n-from-shibbolet-attribution Issue #6514: Implement affiliation reading from Shibboleth attribute.
In our Shibboleth implementation the DiscoFeed contains only one service name, and the user's affiliation is stored in an attribution of the XML file sent by Shibboleth service. This makes several problems:
This situation is frustrating for bot our users and us.
Here is a suggestion for a Dataverse code change to solve this issue. It would have multiple components (all of these are pseudo code):
affiliationSource
for the source of affiliation with two options:configure Shibbolet to send the attribute we set in step 1
within
ShibServiceBean.getAffiliation()
method add a switch like this:AffiliationSource
has a type, which is an enum ofShibbolethAttribute
andDiscoFeed
, and ashibboletAttribute
(String) field, which contains which attribute should be used.note: this comment is summary of a thread at the dataverse-community mailing list: https://groups.google.com/forum/#!topic/dataverse-community/7FwrzfIQZfY.
The text was updated successfully, but these errors were encountered: