edu.internet2.middleware.shibboleth.common.attribute.resolver.provider.dataConnector
Class LdapDataConnector.LDAPValueEscapingStrategy

java.lang.Object
  extended by edu.internet2.middleware.shibboleth.common.attribute.resolver.provider.dataConnector.LdapDataConnector.LDAPValueEscapingStrategy
All Implemented Interfaces:
TemplateEngine.CharacterEscapingStrategy
Enclosing class:
LdapDataConnector

protected class LdapDataConnector.LDAPValueEscapingStrategy
extends Object
implements TemplateEngine.CharacterEscapingStrategy

Escapes values that will be included within an LDAP filter.


Constructor Summary
protected LdapDataConnector.LDAPValueEscapingStrategy()
           
 
Method Summary
 String escape(String value)
          Creates a new string with necessary escaping rules.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LdapDataConnector.LDAPValueEscapingStrategy

protected LdapDataConnector.LDAPValueEscapingStrategy()
Method Detail

escape

public String escape(String value)
Creates a new string with necessary escaping rules.

Specified by:
escape in interface TemplateEngine.CharacterEscapingStrategy
Parameters:
value - the value to be escaped
Returns:
the escaped string


Copyright © 2006-2008 Internet2. All Rights Reserved.