Uploaded image for project: 'Grouper'
  1. Grouper
  2. GRP-2322

pspng is an throwing exception when using ${subject.getAttributeValue(“loginid”)} in the userSearchFilter and subject is not in the cache.

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 2.4.0
    • 2.4.0.patch, 2.5.0, 2.4.1
    • provisioning
    • None

    Description

      pspng is throwing an error when using '${subject.getAttributeValue(“loginid”)} in the userSearchFilter.

      PSPNG setting is
      changeLog.consumer.pspng_activedirectory.userSearchFilter = (&(objectclass=person)(cn=${subject.getAttributeValue("loginid")})).

      When subject is not in cache, we got following error:

      java.lang.RuntimeException: Error substituting string: ‘${subject.getAttributeValue(“loginid”)}’

      Caused by: java.lang.IllegalStateException: There is no open GrouperSession detected. Make sure to start a grouper session (e.g. GrouperSession.startRootSession() if you want to use a root session ) before calling this method

      stack trace attached.

      Attachments

        Activity

          People

            chris.hyzer@at.internet2.edu Chris Hyzer (upenn.edu)
            bill.thompson.2@at.internet2.edu Bill Thompson (lafayette.edu)
            Wenlai Wang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Smart Checklist