public class FqdnSearchResultHandler extends CopySearchResultHandler
FqdnSearchResultHandler
ensures that the DN of a search result
is fully qualified. Any non-relative names will have the URL removed if
getRemoveUrls()
is true.logger
Constructor and Description |
---|
FqdnSearchResultHandler() |
Modifier and Type | Method and Description |
---|---|
boolean |
getRemoveUrls()
Returns whether the URL will be removed from any DNs which are not
relative.
|
protected String |
processDn(SearchCriteria sc,
SearchResult sr)
Process the dn of an ldap search result.
|
void |
setRemoveUrls(boolean b)
Sets whether the URL will be removed from any DNs which are not relative
The default value is true.
|
getAttributeHandler, processAttributes, processResult, setAttributeHandler
process, process, process
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
process, process, process
public boolean getRemoveUrls()
boolean
public void setRemoveUrls(boolean b)
b
- boolean
protected String processDn(SearchCriteria sc, SearchResult sr)
processDn
in class CopySearchResultHandler
sc
- SearchCriteria
used to find search resultsr
- SearchResult
to extract the dn fromString
processed dnCopyright © 2016. All rights reserved.