edu.internet2.middleware.ldappc.util
Class QuotedDnResultHandler

java.lang.Object
  extended by edu.vt.middleware.ldap.handler.AbstractResultHandler<T,T>
      extended by edu.vt.middleware.ldap.handler.CopyResultHandler<SearchResult>
          extended by edu.vt.middleware.ldap.handler.CopySearchResultHandler
              extended by edu.internet2.middleware.ldappc.util.QuotedDnResultHandler
All Implemented Interfaces:
edu.vt.middleware.ldap.handler.ResultHandler<SearchResult,SearchResult>, edu.vt.middleware.ldap.handler.SearchResultHandler

public class QuotedDnResultHandler
extends edu.vt.middleware.ldap.handler.CopySearchResultHandler

The QuotedDnResultHandler rewrites relative dns without starting and ending quotes, e.g. "CN=Quoted/Name",DC=edu is rewritten as CN=Quoted/Name,DC=edu. This SearchResultHandler must be called before the default FqdnSearchResultHandler since it relies on relative names.


Field Summary
static String PATTERN_END
          The string expression matching the end of the dn.
static String PATTERN_START
          The string expression matching the start of the dn.
 
Fields inherited from class edu.vt.middleware.ldap.handler.AbstractResultHandler
logger
 
Constructor Summary
QuotedDnResultHandler()
           
 
Method Summary
protected  String processDn(edu.vt.middleware.ldap.handler.SearchCriteria sc, SearchResult sr)
           
 
Methods inherited from class edu.vt.middleware.ldap.handler.CopySearchResultHandler
getAttributeHandler, processAttributes, processResult, setAttributeHandler
 
Methods inherited from class edu.vt.middleware.ldap.handler.AbstractResultHandler
process, process, process
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface edu.vt.middleware.ldap.handler.ResultHandler
process, process, process
 

Field Detail

PATTERN_START

public static final String PATTERN_START
The string expression matching the start of the dn.

See Also:
Constant Field Values

PATTERN_END

public static final String PATTERN_END
The string expression matching the end of the dn.

See Also:
Constant Field Values
Constructor Detail

QuotedDnResultHandler

public QuotedDnResultHandler()
Method Detail

processDn

protected String processDn(edu.vt.middleware.ldap.handler.SearchCriteria sc,
                           SearchResult sr)
Overrides:
processDn in class edu.vt.middleware.ldap.handler.CopySearchResultHandler


Copyright © 2012 Internet2. All Rights Reserved.