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

all user attributes in jexl for pspng group attribute resolver

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Minor
    • None
    • None
    • provisioning
    • None

    Description

      Alex Poulos 11:08 AM
      Curious PSPNG limitation I ran into today. We're trying to setup an attribute provisioner to write <subject username>@<subdomain> to an attribute, where subdomain is pulled from a group attribute. The latter part isn't a problem, but it looks like subject information isn't being passed into the jexl parser for provisionedAttributeValueFormat. Can someone verify this? I'd like to be able to write a jexl expression like this: changeLog.consumer.pspng_attributes.provisionedAttributeValueFormat=${ldapUser.getStringValue("uid")+"@"+groupAttributes.get("etc:attribute:mailForwarding:mailDomainDefName")} (edited) 
       
       
       
      Chris Hyzer 11:37 AM
      I dont think you are able to do that. but @Jeff Williams can we just pass LdapUser to the create grouper attribute method that does the jexl and it would start working? protected String getAttributeValueForGroup(GrouperGroupInfo grouperGroupInfo) throws PspException

      { return evaluateJexlExpression("ProvisionedAttributeValue", config.getProvisionedAttributeValueFormat(), null, null, grouperGroupInfo, null); }

      (that second null is the LdapUser)LdapAttributeProvisioner#89
      LdapAttributeProvisioner#103
      LdapAttributeProvisioner#184

      Attachments

        Activity

          People

            chris.hyzer@at.internet2.edu Chris Hyzer (upenn.edu)
            chris.hyzer@at.internet2.edu Chris Hyzer (upenn.edu)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: