grouper-dev - hasMember and subjectNotFound
Subject: Grouper Developers Forum
List archive
- From: Chris Hyzer <>
- To: "" <>
- Subject: hasMember and subjectNotFound
- Date: Wed, 14 Apr 2010 17:21:35 -0400
- Accept-language: en-US
- Acceptlanguage: en-US
Hey, In web services, in a hasMember call, you pass in a
SubjectFinder. And in the SubjectFinder you specify a subject Id or a
subject Identifier, and for either you can also optionally specify a source. At Penn we have the situation where new Penn People try to
use an app, and the hourly job that copies their user data to Grouper hasn’t
run yet, so there is a subject not found exception error thrown from web
services. However, in LDAP I believe it is just returned as a “false”
when the person is not in the system. I think a solution would be to have
a custom source where if a person isn’t found, it looks in the data of
record, and if there, adds them to the grouper source table. Another solution
is to have the “hasMember” web service return a SUCCESS-false when the
subject is not found, since the subject is not in the group if it is not
found. I could add an option so that subjectNotFound is an error if we
like. Do other people want this behavior? Thanks, Chris Ps. We have a massaged description field that is searchable
that merges all the various names and affiliations, which is why we don’t
just go to the system of record and do the hourly copy… |
- hasMember and subjectNotFound, Chris Hyzer, 04/14/2010
- Re: [grouper-dev] hasMember and subjectNotFound, Tom Barton, 04/15/2010
- RE: [grouper-dev] hasMember and subjectNotFound, Chris Hyzer, 04/15/2010
- RE: [grouper-dev] hasMember and subjectNotFound, Jim Fox, 04/15/2010
- RE: [grouper-dev] hasMember and subjectNotFound, Chris Hyzer, 04/15/2010
- Re: [grouper-dev] hasMember and subjectNotFound, Tom Barton, 04/15/2010
Archive powered by MHonArc 2.6.16.