Skip to Content.
Sympa Menu

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: "Hyzer, Chris" <>, "Waldbieser, Carl" <>
  • Cc: grouper-users <>
  • Subject: [grouper-users] RE: Grouper UI - set subject columns in all relevant search/membership lists
  • Date: Mon, 13 Nov 2017 18:56:34 +0000
  • Accept-language: en-US
  • Authentication-results: spf=none (sender IP is ) ;
  • Ironport-phdr: 9a23:sdEVOBKcF+eX61B89NmcpTZWNBhigK39O0sv0rFitYgfI/vxwZ3uMQTl6Ol3ixeRBMOAuqIC07KempujcFRI2YyGvnEGfc4EfD4+ouJSoTYdBtWYA1bwNv/gYn9yNs1DUFh44yPzahANS47xaFLIv3K98yMZFAnhOgppPOT1HZPZg9iq2+yo9ZDeZwZFiCChbb9uMR67sRjfus4KjIV4N60/0AHJonxGe+RXwWNnO1eelAvi68mz4ZBu7T1et+ou+MBcX6r6eb84TaFDAzQ9L281/szrugLdQgaJ+3ART38ZkhtMAwjC8RH6QpL8uTb0u+ZhxCWXO9D9QKsqUjq+8ahkVB7oiD8GNzEn9mHXltdwh79frB64uhBz35LYbISTOfFjfK3SYMkaSHJBUMhPSiJBHo2yYYgBD+UDPOZXs4bzqFQVoBuiHgagGP/jxiNUinL026AxzuQvERvB3AwlB98CvnbardX0NagMS+C51LTDwCvDb/NM2Df984bEeQ0mrPGJQb1wccrQyEgxGAPflViQqJflMC+P2uQQq2iU8exgVeS1h2E5tg5xvyGiy8ExgYfHgYIVz0rL9SR/wIstJN24TlJ7bsC+EJtWqS6aK5V6Ttk8TG51pSY3zKANt52jfCUS1pgo3QLTZ+GCfoSV/x7vSeOcITl3iX55ZL6yghS//lavx+D8U8S51UhGojZZntXUq3wA2QDf5tKDR/dg5EutxyuD2gTJ5u1ZI005lKzWIIM7zLEqjJocq0HDEzf2mEroiK+WcV0p9PC05urgfrnquIaQOpF2hQ3jK6gundewDvoiPggJQmib5f+z1Lr+/U3/XbpGlOU2krPesJDGO8sUurK5Aw5S0oYl8Rq/CCqm0MgcnXkAK1JFewiLgJTuO1HLOPz4DPG/jEqwkDpz2fzJJKHtDojII3TejbvtYLNw60BTxQYv0dxS4pBZBa8OLf/zX0L8scLUAgMlPwCsxuboEtR91ocQWWKVBa+ZNbvfsVqU6eIvI+iNZZEauCzmJvgk/P7hkWU1mUIFfaa325sXbmq0Eep7LEWEeXbsmMsOEX8WvgoiS+znkFKCUSRUZ3avR6Iz+Cs7BJu7DYfYWI+tmqeB0Ty/Hp1XfWBGFkuMHWnye4WFXfcMdDydItVnkjMaSbitVZUt2g+zuw/nmPJbKb+e2jwKuIinnPN1/ezI31lm8Dd0HtaQyUmMVGoyg3sFQTlw0axi9wg1gGiK1aRygvFDGMYXr9hASANwfcrDxuh2AdH/USrFd9mAWVu6XtjgDD0sGIEf2dgLNgxdCsevlFSL9CqwAqRf3+iOD5wl4K/G93nqLIBg03vA0u8sg0RwEZgHDnGvmqMqr1ubPIXOiUjM0v/yLak=
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

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



Archive powered by MHonArc 2.6.19.

Top of Page