Skip to Content.
Sympa Menu

grouper-users - RE: [grouper-users] subject.properties "virtual attribute" being passed to LDAP backend

Subject: Grouper Users - Open Discussion List

List archive

RE: [grouper-users] subject.properties "virtual attribute" being passed to LDAP backend


Chronological Thread 
  • From: "Black, Carey M." <>
  • To: Liam Hoekenga <>, "" <>
  • Subject: RE: [grouper-users] subject.properties "virtual attribute" being passed to LDAP backend
  • Date: Thu, 25 Jan 2018 17:03:05 +0000
  • Accept-language: en-US
  • Authentication-results: spf=pass (sender IP is 128.146.163.18) smtp.mailfrom=osu.edu; internet2.edu; dkim=none (message not signed) header.d=none;internet2.edu; dmarc=pass action=none header.from=osu.edu;
  • Ironport-phdr: 9a23:ZlwuHxCVluzhWcyVmQChUyQJP3N1i/DPJgcQr6AfoPdwSP37p8+wAkXT6L1XgUPTWs2DsrQY07OQ6/iocFdDyK7JiGoFfp1IWk1NouQttCtkPvS4D1bmJuXhdS0wEZcKflZk+3amLRodQ56mNBXdrXKo8DEdBAj0OxZrKeTpAI7SiNm82/yv95HJbAhEmCexbaluIBmqsA7cqtQYjYx+J6gr1xDHuGFIe+NYxWNpIVKcgRPx7dqu8ZBg7ipdpesv+9ZPXqvmcas4S6dYDCk9PGAu+MLrrxjDQhCR6XYaT24bjwBHAwnB7BH9Q5fxri73vfdz1SWGIcH7S60/VC+85Kl3VhDnlCYHNyY48G7JjMxwkLlbqw+lqxBm3oLYfJ2ZOP94c6jAf90VWHBBU95RWSJfH428c4UBAekPPelaronyu1QBoACkCgWwAO7i0CNEimP00KA8zu8vERvG3AslH98WvnjZsdH1O70OXuC21KXD0CvOYOlM2Tjj6InDbxcvreuCUbltdsfe0k0vGBnZgVWTs4DpIi2Z2+oWvmic9OpgSPijhHA6pAFsuzWiwNonhIrRho8N1FzL7zl1zJswKNGlVUJ3fNupEJVfui2GK4d7R80iTH9ntSs7z7ALvJy2cDQKxZg/2hLSavOKf5KV7h7/VuudOyl0iX1ndb6lmRq//kytxvXyVsaq01tGsi9In9zMu38RyxPT5M2KRuVy80qgxDmC0g/e5+FGLE06kKfUN4UuzaUqmZcVrE/NBDX5mF/sg6+Tbkgk+van6+DgYrj+vpGRK4h6hh3gPqg3h8GxB/o0PhEJX2eA5+uwzrrj/VDlQLpRif02j6/Zv43AKcQDvK65BBNV3Zg/5BajDjem19IYkWMALFJYZBKHi4/pO1bNIPziEfi/hFGsnC9qx/DAILLhHo3AImbZn7v9YLpw7lNQxBcuwd1a6ZJZBa0NLO72V0//qtPVAR40PgmxzuvlFNlw1psSWWeVDa+YNKPSv0WI5uUqI+SUf4AVvCzyJOQm5/L0kHM1h1EQcLKu3ZsMdXC0BOppLFiEYXb0mNcODX8KvhYiTOztkFCCXiRTZ3GvX6Ik+D47EpuqDZrYRo+zmryBxzy2HplXZmBdFlCMCmnke5+FW/cKdCKdPNVhkjoaWri9VYMtzw+huxLny+kvEu2B3iwRsNrD09V26uvcnFlm8T19Ct61zmSMRGEyk28VEXt+lq9lplFlx03GzLN1medwFNpP6ulPXxtgc5PQ0qYyX9/oXR/Zc83MVU2rWM6OADctQ8g3zsNUJUtxBoPxoArE2n/gKbscnL/PTLc96K/Nl123bY4pwXLP36pn1gN9asxUKCurirMppFubPJLAj0jMz/XiTq8bxiOYsT7blWc=
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

Liam,

 

I think that you have full control over the search filters that are used. I would check those settings.

 

--

Carey Matthew

 

From: [mailto:] On Behalf Of Liam Hoekenga
Sent: Wednesday, January 24, 2018 4:38 PM
To:
Subject: [grouper-users] subject.properties "virtual attribute" being passed to LDAP backend

 

We are constructing a virtual attribute in subject.properties to provide a description string..

 

subjectApi.source.ldap.param.subjectVirtualAttribute_0_searchAttribute0.value = ${subjectUtils.defaultIfBlank(subject.getAttributeValueOrCommaSeparated('UID'), "")},${subjectUtils.defaultIfBlank(subject.getAttributeValueOrCommaSeparated('CN'), "")},${subjectUtils.defaultIfBlank(subject.getAttributeValueOrCommaSeparated('ENTITYID'), "")}

 

We then tell the subjectApi to use that virtual attribute as the description...

subjectApi.source.ldap.param.Description_AttributeType.value = searchAttribute1

 

The subject mechanism includes searchAttribute1 in it's LDAP query.  I'm confused as to why it does that if it's a virtual attribute?

 

Liam




Archive powered by MHonArc 2.6.19.

Top of Page