CharacterEscapingStrategy (LDAPValueEscapingStrategy) in attribute-resolver.xml

Rockwell, Lucas Lucas.Rockwell at ucsf.edu
Fri Sep 9 00:27:55 BST 2011


Hmmm, looking at the source code for LdapDataConnector, it appears that the LDAPValueEscapingStrategy is already in use... I will have to see what is happening at a lower level.

-lucas

On Sep 8, 2011, at 4:08 PM, Rockwell, Lucas wrote:

> Hello all,
> 
> Is there an example on how to use/set CharacterEscapingStrategy, and in particular the LDAPValueEscapingStrategy, in an LDAPDirectory DataConnector in attribute-resolver.xml? I have searched the wiki and this page does not have an example:
> 
> https://wiki.shibboleth.net/confluence/display/SHIB2/ResolverLDAPDataConnector
> 
> We are going to allow people to qualify their AD domain, so we need to escape the value of $requestContext.principalName before it is sent to LDAP, as the "\" will produce an invalid filter.
> 
> Many thanks.
> 
> -lucas
> 
> --
> To unsubscribe from this list send an email to users-unsubscribe at shibboleth.net



More information about the users mailing list