grouper-users - Re: [grouper-users] testing sources.xml in Grouper 2.1.0 API
Subject: Grouper Users - Open Discussion List
List archive
- From: Tom Zeller <>
- To: grouper-users <>
- Subject: Re: [grouper-users] testing sources.xml in Grouper 2.1.0 API
- Date: Tue, 27 Mar 2012 15:40:35 -0500
I agree, we should not modify subject identifiers.
2012/3/27 Chris Hyzer
<>:
>
> Regarding the lower case part, Im looking at
>
> LdapSourceAdapter line 450:
>
> subjectID = ((String)attribute.get()).toLowerCase();
>
> Maybe TomZ or JimF can comment on if we can not toLowerCase it, or make it
> an option which defaults to off if some people want it, I would think we
> wouldn't want to change case by default, maybe we do...
>
> About the subject finding and grouper session, the subject filter (which is
> optional) needs the grouper session so it can know who is querying to see
> if the caller is allowed to see the results. We could not fail if no
> session if there is no filter, though I think we should require it since
> you might add a filter later and we can see where the gaps are. The hard
> part is you need to bootstrap it. If you want a session started as a non
> root user, you need to start a root session, find that subject, and start
> as that subject, and run the search. I added Jira GRP-766 which will make
> this easier. Also I changed the error message to suggest using a root
> session.
>
> Thanks,
> Chris
>
>
>
> -----Original Message-----
> From:
>
>
> [mailto:]
> On Behalf Of Scott Koranda
> Sent: Tuesday, March 27, 2012 3:53 PM
> To: Gagné Sébastien
> Cc: grouper-users
> Subject: Re: [grouper-users] testing sources.xml in Grouper 2.1.0 API
>
>> Try this, it worked for me in my last installation :
>>
>> GrouperSession.startRootSession()
>
> Thanks (and also to Tom Z.). After starting a root session I
> can query for the subject, but it brings up another question:
>
> gsh 1%
> findSubject("")
> subject:
> '
> type='person' source='ligo' name='Scott Koranda'
>
> The output is not the same as with Grouper 1.6.3, specifically
> the id has lowercase '@ligo.org' but previously it was
> '@LIGO.ORG'.
>
> Since I have configured sources.xml with krbPrincipalName as
> the attribute to use for searching in both
>
> <searchType>searchSubject</searchType>
>
> and
>
> <searchType>searchSubjectByIdentifier</searchType>
>
> I expect to get back the Kerberos principal name, which is
>
>
>
> Why the change in case?
>
> Should I be concerned that when I import the state from my
> 1.6.3 production deployment the subjects will not be
> recognized?
>
> Thanks,
>
> Scott
- [grouper-users] testing sources.xml in Grouper 2.1.0 API, Scott Koranda, 03/27/2012
- RE: [grouper-users] testing sources.xml in Grouper 2.1.0 API, Gagné Sébastien, 03/27/2012
- Re: [grouper-users] testing sources.xml in Grouper 2.1.0 API, Scott Koranda, 03/27/2012
- RE: [grouper-users] testing sources.xml in Grouper 2.1.0 API, Chris Hyzer, 03/27/2012
- Re: [grouper-users] testing sources.xml in Grouper 2.1.0 API, Scott Koranda, 03/27/2012
- RE: [grouper-users] testing sources.xml in Grouper 2.1.0 API, Chris Hyzer, 03/27/2012
- Re: [grouper-users] testing sources.xml in Grouper 2.1.0 API, Tom Zeller, 03/27/2012
- RE: [grouper-users] testing sources.xml in Grouper 2.1.0 API, Jim Fox, 03/27/2012
- RE: [grouper-users] testing sources.xml in Grouper 2.1.0 API, Chris Hyzer, 03/28/2012
- Re: [grouper-users] testing sources.xml in Grouper 2.1.0 API, Scott Koranda, 03/28/2012
- RE: [grouper-users] testing sources.xml in Grouper 2.1.0 API, Chris Hyzer, 03/28/2012
- Re: [grouper-users] testing sources.xml in Grouper 2.1.0 API, Scott Koranda, 03/27/2012
- RE: [grouper-users] testing sources.xml in Grouper 2.1.0 API, Chris Hyzer, 03/27/2012
- Re: [grouper-users] testing sources.xml in Grouper 2.1.0 API, Scott Koranda, 03/27/2012
- Re: [grouper-users] testing sources.xml in Grouper 2.1.0 API, Tom Zeller, 03/27/2012
- RE: [grouper-users] testing sources.xml in Grouper 2.1.0 API, Gagné Sébastien, 03/27/2012
Archive powered by MHonArc 2.6.16.