Archives

Datapower Custom RBM LDAP

<?xml version=”1.0″ encoding=”UTF-8″?> <xsl:stylesheet xmlns:xsl=”http://www.w3.org/1999/XSL/Transform&#8221; xmlns:dp=”http://www.datapower.com/extensions&#8221; xmlns:regexp=”http://exslt.org/regular-expressions&#8221; extension-element-prefixes=”dp regexp” exclude-result-prefixes=”dp regexp” version=”1.0″> <xsl:output method=”text”/> <!–+ Expected input document looks like this: <credentials> <entry type=”ldap”>uid=sarah,ou=users,dc=ibmdemo,dc=com</entry> </credentials> +–> <xsl:variable name=”ldapServerIP” select=”‘kaplang'”/> <xsl:variable name=”ldapServerPort” select=”‘11389′”/> <xsl:variable name=”bindDN” select=”‘uid=admin,ou=system'”/> <xsl:variable name=”bindPW” select=”‘mysecret'”/> <xsl:variable name=”rbmfile” select=”‘local:///rbmTemplates.xml'” /> <xsl:variable name=”rbm-templates” select=”document($rbmfile)”/> <xsl:variable name=”targetDN” select=”‘ou=domains,dc=ibm,dc=com'”/> <xsl:variable name=”attributeName” select=”‘cn'”/> <xsl:variable name=”filterTemplate” select=”‘(&amp;(objectClass=groupOfNames)(member=USER_DN))'”/> <xsl:variable […]

Rate this:

Read More