public abstract class LdapDirHandler extends AbstractDirHandler
| Modifier and Type | Class and Description |
|---|---|
static class |
LdapDirHandler.LdapObject |
AbstractDirHandler.SplitResultDirHandler.CollectionBatcher| Modifier and Type | Field and Description |
|---|---|
protected DirContext |
ctx |
protected LdapDirHandlerConfig |
ldapConfig |
account, cdConfig, debug, dhConfig, open, principalNotFound, superUser, unknownPrincipalType, urlHandlerstatusChangeUid, statusCreated, statusDestinationExists, statusDuplicate, statusDuplicateUid, statusIllegal, statusNoAccess, statusOK| Constructor and Description |
|---|
LdapDirHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
closeContext() |
protected String |
dnEscape(String val) |
protected String[] |
getAttrIdList() |
Card |
getCard(String path,
String name) |
Card |
getCardByUid(String path,
String uid) |
GetResult |
getCards(String path,
Filter filter,
GetLimits limits) |
CarddavCollection |
getCollection(String path) |
GetResult |
getCollections(String path,
GetLimits limits) |
protected LdapDirHandler.LdapObject |
getObject(String path,
boolean isCollection) |
void |
init(CardDAVConfig cdConfig,
DirHandlerConfig dhConfig,
org.bedework.webdav.servlet.shared.UrlHandler urlHandler) |
protected String |
makeAddrbookDn(String path,
boolean isCollection) |
protected CarddavCollection |
makeCdCollection(String path,
boolean fullPath,
Attributes attrs) |
protected String |
makePrincipalDn(String account) |
protected Card |
makeVcard(String path,
boolean fullPath,
Attributes attrs,
String dn) |
protected org.bedework.carddav.server.dirHandlers.ldap.LdapDirHandler.CardObject |
nextCard(String path,
boolean fullPath) |
protected org.bedework.carddav.server.dirHandlers.ldap.LdapDirHandler.CollectionObject |
nextCdCollection(String path,
boolean fullPath) |
protected void |
openContext() |
protected GetResult |
search(String base,
String filter,
GetLimits limits,
int scope) |
protected GetResult |
searchChildren(String path,
String filter,
GetLimits limits,
boolean cards) |
addValidUser, close, ensureEndSlash, error, exportData, getCollections, getDirectoryInfo, getGroups, getLogger, getPrincipal, getprincipalHome, getprincipalHome, isOpen, isPrincipal, lookupUser, makePrincipalHref, makePrincipalUri, open, splitUri, trace, verifyPath, warnclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddCard, copyMove, deleteCard, deleteCollection, getAll, getPrincipalCard, makeCollection, rename, updateCard, updateCollectionprotected LdapDirHandlerConfig ldapConfig
protected DirContext ctx
public void init(CardDAVConfig cdConfig, DirHandlerConfig dhConfig, org.bedework.webdav.servlet.shared.UrlHandler urlHandler) throws org.bedework.webdav.servlet.shared.WebdavException
init in interface DirHandlerinit in class AbstractDirHandlerorg.bedework.webdav.servlet.shared.WebdavExceptionpublic Card getCard(String path, String name) throws org.bedework.webdav.servlet.shared.WebdavException
org.bedework.webdav.servlet.shared.WebdavExceptionpublic Card getCardByUid(String path, String uid) throws org.bedework.webdav.servlet.shared.WebdavException
org.bedework.webdav.servlet.shared.WebdavExceptionpublic GetResult getCards(String path, Filter filter, GetLimits limits) throws org.bedework.webdav.servlet.shared.WebdavException
org.bedework.webdav.servlet.shared.WebdavExceptionpublic CarddavCollection getCollection(String path) throws org.bedework.webdav.servlet.shared.WebdavException
org.bedework.webdav.servlet.shared.WebdavExceptionpublic GetResult getCollections(String path, GetLimits limits) throws org.bedework.webdav.servlet.shared.WebdavException
org.bedework.webdav.servlet.shared.WebdavExceptionprotected GetResult search(String base, String filter, GetLimits limits, int scope) throws org.bedework.webdav.servlet.shared.WebdavException
org.bedework.webdav.servlet.shared.WebdavExceptionprotected org.bedework.carddav.server.dirHandlers.ldap.LdapDirHandler.CardObject nextCard(String path, boolean fullPath) throws org.bedework.webdav.servlet.shared.WebdavException
org.bedework.webdav.servlet.shared.WebdavExceptionprotected org.bedework.carddav.server.dirHandlers.ldap.LdapDirHandler.CollectionObject nextCdCollection(String path, boolean fullPath) throws org.bedework.webdav.servlet.shared.WebdavException
org.bedework.webdav.servlet.shared.WebdavExceptionprotected CarddavCollection makeCdCollection(String path, boolean fullPath, Attributes attrs) throws org.bedework.webdav.servlet.shared.WebdavException
org.bedework.webdav.servlet.shared.WebdavExceptionprotected Card makeVcard(String path, boolean fullPath, Attributes attrs, String dn) throws org.bedework.webdav.servlet.shared.WebdavException
path - path to this cardfullPath - - path includes card nameattrs - attributes for the entryorg.bedework.webdav.servlet.shared.WebdavExceptionprotected LdapDirHandler.LdapObject getObject(String path, boolean isCollection) throws org.bedework.webdav.servlet.shared.WebdavException
org.bedework.webdav.servlet.shared.WebdavExceptionprotected GetResult searchChildren(String path, String filter, GetLimits limits, boolean cards) throws org.bedework.webdav.servlet.shared.WebdavException
org.bedework.webdav.servlet.shared.WebdavExceptionprotected String makeAddrbookDn(String path, boolean isCollection) throws org.bedework.webdav.servlet.shared.WebdavException
org.bedework.webdav.servlet.shared.WebdavExceptionprotected void openContext()
throws org.bedework.webdav.servlet.shared.WebdavException
org.bedework.webdav.servlet.shared.WebdavExceptionprotected void closeContext()
protected String[] getAttrIdList()
Copyright © 2015 Bedework. All rights reserved.