Details
-
Bug
-
Resolution: Fixed
-
Blocker
-
2.4.0
-
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.