Class LdapDirHandlerConfig
java.lang.Object
org.bedework.util.config.ConfigBase<LdapDirHandlerConfig>
org.bedework.util.config.OrmConfigBase<LdapDirHandlerConfig>
org.bedework.carddav.common.config.DirHandlerConfig<LdapDirHandlerConfig>
org.bedework.carddav.server.config.LdapDirHandlerConfig
- All Implemented Interfaces:
Serializable,Comparable<LdapDirHandlerConfig>,org.bedework.util.config.OrmConfigI,org.bedework.util.logging.Logged
This class defines the various properties we need to make a connection
and retrieve a group and user information via ldap.
- Author:
- Mike Douglass
- See Also:
-
Field Summary
Fields inherited from class org.bedework.util.config.ConfigBase
ns -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]If we need an id to authenticate this is it.If we need an id to authenticate this is it.Attribute we want back identifying a memberAttribute we search for to get a groupURL of ldap serverinte.g "ssl"voidvoidvoidvoidvoidsetAttrIds(String val) voidIf we need an id to authenticate this is it.voidIf we need an id to authenticate this is the pw.voidvoidsetFolderIdAttr(String val) voidvoidsetGroupMemberAttr(String val) voidvoidsetPrincipalIdAttr(String val) voidsetProviderUrl(String val) voidsetQueryLimit(int val) Set the query limit - 0 for no limitvoidvoidMethods inherited from class org.bedework.carddav.common.config.DirHandlerConfig
compareTo, getAddressBook, getCardKind, getCardPathPrefix, getCardPathPrefixes, getClassName, getConfBeanClass, getConfClass, getDirectory, getOwnerHref, getPathPrefix, getPrincipalPrefix, hashCode, setAddressBook, setCardKind, setCardPathPrefix, setCardPathPrefixes, setClassName, setConfBeanClass, setConfClass, setDirectory, setOwnerHref, setPathPrefix, setPrincipalPrefix, toStringSegmentMethods inherited from class org.bedework.util.config.OrmConfigBase
addOrmProperty, getHibernateDialect, getOrmProperties, getOrmProperty, removeOrmProperty, setHibernateDialect, setOrmProperties, setOrmProperty, toStringMethods inherited from class org.bedework.util.config.ConfigBase
addListProperty, compareTo, fromXml, fromXml, fromXml, getLastChanged, getLogger, getName, getProperty, markChanged, removeProperty, setListProperty, setName, toProperties, toXmlMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.bedework.util.logging.Logged
audit, debug, debug, debug, enableAuditLogger, enableErrorLogger, enableMetricsLogger, error, error, error, getLogLevel, info, info, isAuditLoggerEnabled, isErrorLoggerEnabled, isMetricsDebugEnabled, isMetricsLoggerEnabled, metrics, setLoggerClass, setLoggerClass, trace, trace, trace, warn, warn
-
Constructor Details
-
LdapDirHandlerConfig
public LdapDirHandlerConfig()
-
-
Method Details
-
setInitialContextFactory
- Parameters:
val-
-
getInitialContextFactory
- Returns:
- String
-
setSecurityAuthentication
- Parameters:
val-
-
getSecurityAuthentication
- Returns:
- String
-
setSecurityProtocol
- Parameters:
val- e.g. "ssl"
-
getSecurityProtocol
e.g "ssl"- Returns:
- String val
-
setProviderUrl
- Parameters:
val- URL of ldap server
-
getProviderUrl
URL of ldap server- Returns:
- String val
-
setBaseDn
- Parameters:
val- LDAP base dn
-
getBaseDn
- Returns:
- String val
-
setQueryLimit
public void setQueryLimit(int val) Set the query limit - 0 for no limit- Parameters:
val- the query limit - 0 for no limit
-
getQueryLimit
public int getQueryLimit()- Returns:
- int val
-
setAttrIds
- Parameters:
val- comma sparated list of attribute ids
-
getAttrIds
- Returns:
- String val
-
setFolderObjectClass
- Parameters:
val-
-
getFolderObjectClass
- Returns:
- String val
-
setAddressbookObjectClass
- Parameters:
val-
-
getAddressbookObjectClass
- Returns:
- String val
-
setAddressbookEntryObjectClass
- Parameters:
val-
-
getAddressbookEntryObjectClass
- Returns:
- String val
-
setPrincipalIdAttr
- Parameters:
val- Attribute we search for to get a principal
-
getPrincipalIdAttr
Attribute we search for to get a group- Returns:
- String val
-
setFolderIdAttr
- Parameters:
val-
-
getFolderIdAttr
- Returns:
- String val
-
setAddressbookIdAttr
- Parameters:
val-
-
getAddressbookIdAttr
- Returns:
- String val
-
setAddressbookEntryIdAttr
- Parameters:
val-
-
getAddressbookEntryIdAttr
- Returns:
- String val
-
setGroupMemberAttr
- Parameters:
val- Attribute we want back identifying a member
-
getGroupMemberAttr
Attribute we want back identifying a member- Returns:
- String val
-
setAuthDn
If we need an id to authenticate this is it.- Parameters:
val- an id
-
getAuthDn
If we need an id to authenticate this is it.- Returns:
- String val
-
setAuthPw
If we need an id to authenticate this is the pw.- Parameters:
val- the pw.
-
getAuthPw
If we need an id to authenticate this is it.- Returns:
- String val
-
getAttrIdList
- Returns:
- String[] val
-