Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] Re: LDAP load from attributes

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] Re: LDAP load from attributes


Chronological Thread 
  • From: David Langenberg <>
  • To: "Bryan E. Wooten" <>
  • Cc: Chris Hyzer <>, Earl Lewis <>, "<>" <>
  • Subject: Re: [grouper-users] Re: LDAP load from attributes
  • Date: Mon, 13 May 2013 20:53:59 -0600
  • Authentication-results: sfpop-ironport03.merit.edu; dkim=neutral (message not signed) header.i=none

The 2.3 PSP should work fine with the 2.4 API. 

Dave

On Monday, May 13, 2013, Bryan E. Wooten wrote:
Thanks Chris! That is a welcome enhancement.

Can I mix and match the 2.1.4 api with the other 2.1.3 components (i.e. UI / PSP)?

I think I can give that a try in our world in fairly short order.

-Bryan


This is in 2.1.4:

 

https://bugs.internet2.edu/jira/browse/GRP-906

 

You can use the attribute: grouperLoaderLdapGroupAttribute

 

The value is a JEXL _expression_ with the variable: attributeValue

 

e.g. to specify a few values: ${attributeValue == 'a' || attributeValue == 'b'}

e.g. to restrict a few values: ${attributeValue != 'a' && attributeValue != 'b'}

e.g. to use some java methods: ${attributeName.toLowerCase().startsWith('st')}

e.g. to do a regex: ${attributeName =~ '^fa.*$' }

 

 

Thanks,

Chris

 

 

We can do a JEXL _expression_:

 

    variableMap.put("attributeName", "staff");

    String value = GrouperUtil.substituteExpressionLanguage("${attributeName == 'staff'}"



--
David Langenberg
Identity & Access Management
The University of Chicago




Archive powered by MHonArc 2.6.16.

Top of Page