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, setAttributeHandlerprocess, process, processclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprocess, process, processpublic boolean getRemoveUrls()
booleanpublic void setRemoveUrls(boolean b)
b - booleanprotected String processDn(SearchCriteria sc, SearchResult sr)
processDn in class CopySearchResultHandlersc - SearchCriteria used to find search resultsr - SearchResult to extract the dn fromString processed dnCopyright © 2014. All rights reserved.