Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] Attributes

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] Attributes


Chronological Thread 
  • From: Earl Lewis <>
  • To: Earl Lewis <>, Shilen Patel <>, "<>" <>
  • Subject: Re: [grouper-users] Attributes
  • Date: Fri, 31 May 2013 21:10:59 +0000
  • Accept-language: en-US
  • Authentication-results: sfpop-ironport04.merit.edu; dkim=neutral (message not signed) header.i=none

Sorry, I should have said "when I'm looking at a group member that was loaded via and LDAP loader job, in the UI…"

Earl
801-581-3635 (office)
801-554-3596 (mobile)

On 5/31/13 1:58 PM, "Earl Lewis" <> wrote:

Here is one of my dilemmas. I just wiped clean my database and started from scratch. I have the following configuration in my sources.xml in both the grouper.apiBinary-2.1.3/conf and grouper.ui-2.1.3/dist/grouper/WEB-INF/classes

   ///Attributes to display when doing a search 
    <attribute>cn</attribute>
    <attribute>givenName</attribute>
    <attribute>sn</attribute>
    <attribute>displayName</attribute>
    <attribute>title</attribute>
    <attribute>mail</attribute>
    <attribute>telephoneNumber</attribute>
    <attribute>uuemporgid</attribute> 
    <attribute>streetAddress</attribute>
    <attribute>l</attribute>

When I'm looking at a group that was loaded via an LDAP loader job, in the UI, this is what I see:

telephonenumber 801-581-9999
dn CN=u9999999,ou=people,dc=testad,dc=utah,dc=edu
mail
displayname Joe Blow
givenname Joe
sn Blow
uuemporgid 99999
cn u9999999
Entity type person
ID u9999999
I was under the impression that when you set the attributes in the sources.xml as above that those are what would be displayed in the UI. Apparently I'm wrong. Also, where in the heck are these other values possibly coming from, meaning which config file?

Earl
801-581-3635 (office)
801-554-3596 (mobile)

On 5/31/13 5:59 AM, "Shilen Patel" <> wrote:

Hi Earl,

You can mark attributes as "internal" to prevent them from being retrieved when making subject api calls (e.g. subject.getAttributes() ), unless you explicitly ask for them.  This prevents those attributes from being visible in the Grouper UI for instance.  Virtual attributes are usually based on other attributes and you can use _expression_ language to dynamically create them.

This entire video is based on virtual attributes and internal attributes:  

Also, part 4 in that series talks about member sorting and searching, which is a use case for using both of these.

I'm trying to figure out the context in which you're using "external attribute."  If you're thinking of external users, then these would be attributes of external subjects.   This doc goes into detail on that (and there's also a video):


Thanks!

-- Shilen

From: Earl Lewis <>
Date: Thursday, May 30, 2013 10:12 AM
To: "<>" <>
Subject: [grouper-users] Attributes

Can someone define for me the difference between an "internal attribute", an "external attribute" and a "virtual attribute"?

Earl
801-581-3635 (office)
801-554-3596 (mobile)



Archive powered by MHonArc 2.6.16.

Top of Page