Layer7 Access Management

Expand all | Collapse all

Custom Reponse script for a User Attribute

Jump to Best Answer
  • 1.  Custom Reponse script for a User Attribute

    Posted 09-22-2016 04:43 PM

    I have Response in my siteminder domain that is adding a header value from our LDAP store. I used the "User Attribute" to select the LDAP value. This works fine, but I want to be able to filter the values from LDAP with something like BEGINS_WITH or LIKE. The value used to compare with would be static. Is this possible? What is the syntax?



  • 2.  Re: Custom Reponse script for a User Attribute
    Best Answer

    Posted 09-23-2016 01:59 PM

    I figured out how to do this. This is the script I used in the response:

     

    headerName=<$expr="FILTER('<%userattr="ldapAttributeName"%>', 'prefix*')"$>