grouper-users - [grouper-users] RE: Grouper UI - set subject columns in all relevant search/membership lists
Subject: Grouper Users - Open Discussion List
List archive
[grouper-users] RE: Grouper UI - set subject columns in all relevant search/membership lists
Chronological Thread
- From: "Hyzer, Chris" <>
- To: "Waldbieser, Carl" <>
- Cc: grouper-users <>
- Subject: [grouper-users] RE: Grouper UI - set subject columns in all relevant search/membership lists
- Date: Tue, 14 Nov 2017 02:11:03 +0000
- Accept-language: en-US
- Authentication-results: spf=none (sender IP is ) ;
- Ironport-phdr: 9a23:sxK32RPMGVK5qzZri20l6mtUPXoX/o7sNwtQ0KIMzox0I/34rarrMEGX3/hxlliBBdydsKMUzbKO+4nbGkU4qa6bt34DdJEeHzQksu4x2zIaPcieFEfgJ+TrZSFpVO5LVVti4m3peRMNQJW2aFLduGC94iAPERvjKwV1Ov71GonPhMiryuy+4ZPebgFLiTanfb9+MAi9oBnMuMURnYZsMLs6xAHTontPdeRWxGdoKkyWkh3h+Mq+/4Nt/jpJtf45+MFOTav1f6IjTbxFFzsmKHw65NfqtRbYUwSC4GYXX3gMnRpJBwjF6wz6Xov0vyDnuOdxxDWWMMvrRr0vRz+s87lkRwPpiCcfNj427mfXitBrjKlGpB6tvgFzz5LIbI2QMvd1Y6HTcs4ARWdZXshfSTFPAp+yYYUMAeoOP+dYoJXyqVQBtha+GRKjCP/zxjNUmnP736s32PkhHwHc2wwgGsoDvHrWotT1NaYdT/q1wLHVxjjdb/NWwzb96JPGfhs8pvyMWK5/ccrRyEguCQzFlE6dqY3+PzyJzOgNrnCb4PRmVeKpkWIotRx+oiW2y8oql4LHhZoVx0ja+Spj3Io5ONi1RFNmbdK5FZZQuS6XO5dqTs4nQWxnpik3xqMDtJO+YiQG1IorywbCZ/GJb4SE+BbuWPuLLTtmmX5ofKiziwuw/EWhzOD3S9O630xQriVfl9nBrnAN2ALX6siAUvZz5lus1zGT2wzO8+1JPEI7mbTCJ54m2bE/iIAfsUPeHi/qg0r2i7KWdkM59eSy8+TneLLmpoOCOIBolgH+M6MumsqlDeQ/LwgOQ2yb+eO71L3g50H2XLJKjvgunqnYtpDVO9gbq7anDwBPzoov9hOyAyq73NgFmHQHIl1IdA6bg4XsOVzBPv/1Aem6jlmpjjtn2+7KMqXkAprXL3jDlLnhfax6605Z0AczyMxQ55JUC7AAPv3zQFT8tN3DDhAlKQC03v7nB8t71oMYQ26AHLKWML7KvV+S+u0vO/WMZJMSuDvlJPgl/fnujWIhmVADZ6mlxIYXaGumEfR8OEWUen7sgtYaEWcWpQoyUvbmiFyEUT5PeXmyRaQ86S8nCI64F4vMWJ2igKHSlBu8S9dpb2RKAFGBCnryM82vUu0IImrGPcZlnjYFWLOJT4Yv3ACjqBP3jbdrM7yH1DcfsMep9Mln6veX3Toy7z1vRYzJ1mqNXnN5hEsJXDRwwbhyp0o7x1ueh/sry8dEHMBesqsaGjwxMoTRmqkjU4j/
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
Yes! Thanks!
-----Original Message-----
From: Waldbieser, Carl
[mailto:]
Sent: Monday, November 13, 2017 4:37 PM
To: Hyzer, Chris
<>
Cc: grouper-users
<>
Subject: Re: Grouper UI - set subject columns in all relevant
search/membership lists
I think I figured it out.
I first add a "virtual" attribute:
<init-param>
<param-name>subjectVirtualAttribute_0_nameAndId</param-name>
<param-value>${subject.getAttributeValue('givenName')}
${subject.getAttributeValue('sn')},
${subject.getAttributeValue('uid')}</param-value>
</init-param>
Then, I can use that as the actual "Name_AttributeType":
<init-param>
<param-name>Name_AttributeType</param-name>
<param-value>nameAndId</param-value>
</init-param>
It gives me the information I want in the list.
Thanks,
Carl Waldbieser
ITS Systems Programmer
Lafayette College
----- Original Message -----
From: "waldbiec"
<>
To: "Chris Hyzer"
<>
Cc: "grouper-users"
<>
Sent: Monday, November 13, 2017 3:15:30 PM
Subject: Re: Grouper UI - set subject columns in all relevant
search/membership lists
Chris,
I see that if I set the "Name_AttributeType" to a `displayName` attribute, I
can get the full name of an account to show up (required restarting my Tomcat
container).
Is there some way you can put an expression in the name that combines
attributes? I'd like to include the user ID in the list. E.g. the entry for
my name should look something like:
Carl Waldbieser - waldbiec
Can I use a JEXL expression or something?
Thanks,
Carl Waldbieser
ITS Systems Programmer
Lafayette College
----- Original Message -----
From: "Chris Hyzer"
<>
To: "Chris Hyzer"
<>,
"waldbiec"
<>
Cc: "grouper-users"
<>
Sent: Monday, November 13, 2017 1:56:34 PM
Subject: RE: Grouper UI - set subject columns in all relevant
search/membership lists
Btw, by default if you have the subjectName and description mapped correctly
you don’t have to adjust what the UI displays... it will automatically
display the name as whats on screen and the description as the search result
and tooltip...
Thanks
Chris
-----Original Message-----
From:
[mailto:]
On Behalf Of Hyzer, Chris
Sent: Monday, November 13, 2017 1:35 PM
To: Waldbieser, Carl
<>
Cc: grouper-users
<>
Subject: [grouper-users] RE: Grouper UI - set subject columns in all relevant
search/membership lists
Jdbc2 has the best searching my opinion, but the jndi one does ok too. yes,
you need to adjust your sources.xml. There is a 2.3 patch for a subject
source diagnostics tester:
https://spaces.internet2.edu/display/Grouper/Grouper+subject+API+diagnostics+in+UI
Otherwise you can test with GSH, just edit the file and run:
https://spaces.internet2.edu/pages/viewpage.action?pageId=14517859
grouperSession = GrouperSession.startRootSession();
SubjectFinder.findAll(searchString, source);
SubjectFinder.findByIdAndSource(id, source, exceptionIfNull);
SubjectFinder.findByIdentifierAndSource(identifier, source, exceptionIfNull);
SubjectFinder.findByIdAndSource("jsmith", "jdbc", true);
SubjectFinder.findByIdOrIdentifierAndSource(idOrIdentifier, source,
exceptionIfNull);
SubjectFinder.findByIdOrIdentifierAndSource("jsmith", "jdbc", true);
Then look at a subject, getId(), getName(), getDescription(), and
attributes...
Thanks
Chris
-----Original Message-----
From: Waldbieser, Carl
[mailto:]
Sent: Monday, November 13, 2017 12:30 PM
To: Hyzer, Chris
<>
Cc: grouper-users
<>
Subject: Re: Grouper UI - set subject columns in all relevant
search/membership lists
Chris,
I take it that I need to manipulate my `sources.xml` to make this happen?
Do I need to use the JDBCC2 source, or will the LdapSourceAdapter be able to
do this, too?
Where I am getting hung up is that I'm not entirely sure what the structure
of the source adapters is allowed to actually look like, and what stanzas
will be translated into something meaningful.
Also, is this something I can test in the GSH somehow, or do I need to update
a WAR file and restart a container to test each change?
Thanks,
Carl Waldbieser
ITS Systems Programmer
Lafayette College
----- Original Message -----
From: "Chris Hyzer"
<>
To: "waldbiec"
<>,
"grouper-users"
<>
Sent: Monday, November 13, 2017 11:47:58 AM
Subject: RE: Grouper UI - set subject columns in all relevant
search/membership lists
I use jdbc2 source at Penn, here is a description
https://spaces.internet2.edu/display/Grouper/Penn+subject+source+JDBC2+example
thanks
Chris
-----Original Message-----
From:
[mailto:]
On Behalf Of Waldbieser, Carl
Sent: Sunday, November 12, 2017 2:06 PM
To: grouper-users
<>
Subject: [grouper-users] Grouper UI - set subject columns in all relevant
search/membership lists
What is the recommended way to add additional subject attribute columns to
all the relevant search result and membership lists.
Currently, we are only showing the subject Identifier. This shows up as
"Entity name" on the membership list for a group or in the "Name" column for
a search result.
I'd really like to show the first name, last name, and subject ID in the
columns instead of just the subject ID.
In the detail widget for a subject, I can see these attributes, but I'd like
to see them in the list views, too.
Thanks,
Carl Waldbieser
ITS Systems Programmer
Lafayette College
- [grouper-users] Grouper UI - set subject columns in all relevant search/membership lists, Waldbieser, Carl, 11/12/2017
- [grouper-users] RE: Grouper UI - set subject columns in all relevant search/membership lists, Hyzer, Chris, 11/13/2017
- [grouper-users] Re: Grouper UI - set subject columns in all relevant search/membership lists, Waldbieser, Carl, 11/13/2017
- [grouper-users] RE: Grouper UI - set subject columns in all relevant search/membership lists, Black, Carey M., 11/13/2017
- Re: [grouper-users] RE: Grouper UI - set subject columns in all relevant search/membership lists, Paul Engle, 11/13/2017
- [grouper-users] Re: Grouper UI - set subject columns in all relevant search/membership lists, Waldbieser, Carl, 11/13/2017
- [grouper-users] RE: Grouper UI - set subject columns in all relevant search/membership lists, Hyzer, Chris, 11/13/2017
- [grouper-users] RE: Grouper UI - set subject columns in all relevant search/membership lists, Hyzer, Chris, 11/13/2017
- [grouper-users] Re: Grouper UI - set subject columns in all relevant search/membership lists, Waldbieser, Carl, 11/13/2017
- [grouper-users] Re: Grouper UI - set subject columns in all relevant search/membership lists, Waldbieser, Carl, 11/13/2017
- [grouper-users] RE: Grouper UI - set subject columns in all relevant search/membership lists, Hyzer, Chris, 11/14/2017
- [grouper-users] Re: Grouper UI - set subject columns in all relevant search/membership lists, Waldbieser, Carl, 11/13/2017
- [grouper-users] Re: Grouper UI - set subject columns in all relevant search/membership lists, Waldbieser, Carl, 11/13/2017
- [grouper-users] RE: Grouper UI - set subject columns in all relevant search/membership lists, Hyzer, Chris, 11/13/2017
- [grouper-users] RE: Grouper UI - set subject columns in all relevant search/membership lists, Black, Carey M., 11/13/2017
- [grouper-users] Re: Grouper UI - set subject columns in all relevant search/membership lists, Waldbieser, Carl, 11/13/2017
- [grouper-users] RE: Grouper UI - set subject columns in all relevant search/membership lists, Hyzer, Chris, 11/13/2017
Archive powered by MHonArc 2.6.19.