Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] Using e-mail as SubjectID & merging users

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] Using e-mail as SubjectID & merging users


Chronological Thread 
  • From: Francesco Cepparo <>
  • To: "Hyzer, Chris" <>
  • Cc: "" <>
  • Subject: Re: [grouper-users] Using e-mail as SubjectID & merging users
  • Date: Fri, 25 Mar 2016 17:23:28 +0100

Thanks, I will try debugging as soon as I can. About the other issues:
1) If we use a custom, opaque identifier, then how do you usually implement this? I mean, how would the application know how to retrieve the correct user in Grouper?
2) What I meant by merging users, was that the email is not unique in the database, but entries with the same email should belong to the same Grouper Subject, so we want the Grouper Loader to merge those entries into a single Subject. Does it do this automatically if we use the e-mail as the SubjectID?

Thank you.

2016-03-25 16:45 GMT+01:00 Hyzer, Chris <>:

I hesitate to respond to this since email as identifier is a hot button issue J

 

There is Internet2 SubjectId and SubjectIdentifier.

 

The SubjectId is something that shouldn’t change, it should be opaque.  But if you must have it be something that can change, up to you J

A SubjectIdentifier is something that can uniquely lookup a user.  I haven’t heard of email being used for this, but if each email address uniquely identifies a user, you could certainly do it that way J

 

If you have multiple subjects with different subjectIds and you want to merge them together, you can do a memberChangeSubject

You can have multiple subjects with different identifiers (e.g. emails) and that is fine.

 

The authentication can use email as id, that doesn’t mean it has the be the subjectId in grouper, it can be an identifier

 

If it ran successfully and didn’t populate the group, then check the logs.  Maybe add debug to the loader in log4j.properties

 

log4j.logger.edu.internet2.middleware.grouper.app.loader = DEBUG

 

Thanks

Chris

 

From: [mailto:] On Behalf Of Francesco Cepparo
Sent: Thursday, March 24, 2016 8:10 AM
To:
Subject: [grouper-users] Using e-mail as SubjectID & merging users

 

Hi,

we're trying to configure the Grouper Loader to import users from a database. Each user is identified by an e-mail, but, in the database, there might be multiple entries with the same e-mail, and we would like to merge those entries into a single Subject in Grouper. Is this possible?

 

Also, is it possible to use e-mails as SubjectIDs? Our authentication system uses e-mails as IDs, and we would like to configure Grouper to use e-mails as well, to be able to reference users in an unified manner. However, when trying to load the users using the e-mail as the ID, the loader says that it ran succesfully, but that it inserted 0 memberships out of the 401 total memberships. (It doesn't work even if there are no duplicate e-mail entries)

 

Thank you.





Archive powered by MHonArc 2.6.16.

Top of Page