Package org.bedework.carddav.server.jmx
Class LdapDirHandlerConf
java.lang.Object
org.bedework.util.jmx.ConfBase<DirHandlerConfig>
org.bedework.carddav.server.jmx.DirHandlerConf
org.bedework.carddav.server.jmx.LdapDirHandlerConf
- All Implemented Interfaces:
DirHandlerConfMBean,LdapDirHandlerConfMBean,org.bedework.util.jmx.BaseMBean,org.bedework.util.jmx.ConfBaseMBean,org.bedework.util.logging.Logged
- Author:
- douglm
-
Field Summary
Fields inherited from class org.bedework.util.jmx.ConfBase
cfg, statusDone, statusFailed, statusInterrupted, statusRunning, statusStopped, statusTimedout, statusUnknown -
Constructor Summary
ConstructorsConstructorDescriptionLdapDirHandlerConf(String serviceName, org.bedework.util.config.ConfigurationStore store, String configName) -
Method Summary
Modifier and TypeMethodDescriptionIf we need an id to authenticate this is it.If we need an id to authenticate this is the pw.getConf()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) Attribute we want back identifying a membervoidvoidsetPrincipalIdAttr(String val) Attribute we search for to get a principalvoidsetProviderUrl(String val) URL of ldap servervoidsetQueryLimit(int val) Set the query limit - 0 for no limitvoidvoide.g.Methods inherited from class org.bedework.carddav.server.jmx.DirHandlerConf
getAddressBook, getCardKind, getCardPathPrefix, getCardPathPrefixes, getClassName, getDirectory, getOwnerHref, getPathPrefix, getPrincipalPrefix, loadConfig, setAddressBook, setCardKind, setCardPathPrefix, setCardPathPrefixes, setClassName, setConfig, setDirectory, setOwnerHref, setPathPrefix, setPrincipalPrefixMethods inherited from class org.bedework.util.jmx.ConfBase
createObjectName, ensureDir, getConfig, getConfigDirectory, getConfigInfo, getConfigInfo, getConfigInfo, getConfigName, getLogger, getManagementContext, getPathSuffix, getRegisteredMBeans, getServiceName, getServiceObjectName, getStatus, getStore, isRunning, loadConfig, makeObject, register, register, saveConfig, setStatus, setStore, start, stop, unregister, unregisterMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.bedework.util.jmx.BaseMBean
getServiceName, isRunning, start, stopMethods inherited from interface org.bedework.util.jmx.ConfBaseMBean
getConfigName, getStatus, saveConfig, setStatusMethods inherited from interface org.bedework.carddav.server.jmx.DirHandlerConfMBean
getAddressBook, getCardKind, getCardPathPrefix, getCardPathPrefixes, getClassName, getDirectory, getOwnerHref, getPathPrefix, getPrincipalPrefix, setAddressBook, setCardKind, setCardPathPrefix, setCardPathPrefixes, setClassName, setDirectory, setOwnerHref, setPathPrefix, setPrincipalPrefixMethods inherited from interface org.bedework.util.logging.Logged
audit, debug, debug, debug, enableAuditLogger, enableErrorLogger, enableMetricsLogger, error, error, error, getLogLevel, info, isAuditLoggerEnabled, isErrorLoggerEnabled, isMetricsDebugEnabled, isMetricsLoggerEnabled, metrics, setLoggerClass, setLoggerClass, trace, trace, trace, warn
-
Constructor Details
-
LdapDirHandlerConf
-
-
Method Details
-
setInitialContextFactory
- Specified by:
setInitialContextFactoryin interfaceLdapDirHandlerConfMBean
-
getInitialContextFactory
- Specified by:
getInitialContextFactoryin interfaceLdapDirHandlerConfMBean- Returns:
- String
-
setSecurityAuthentication
- Specified by:
setSecurityAuthenticationin interfaceLdapDirHandlerConfMBean
-
getSecurityAuthentication
- Specified by:
getSecurityAuthenticationin interfaceLdapDirHandlerConfMBean- Returns:
- String
-
setSecurityProtocol
Description copied from interface:LdapDirHandlerConfMBeane.g. "ssl"- Specified by:
setSecurityProtocolin interfaceLdapDirHandlerConfMBean
-
getSecurityProtocol
Description copied from interface:LdapDirHandlerConfMBeane.g "ssl"- Specified by:
getSecurityProtocolin interfaceLdapDirHandlerConfMBean- Returns:
- String val
-
setProviderUrl
Description copied from interface:LdapDirHandlerConfMBeanURL of ldap server- Specified by:
setProviderUrlin interfaceLdapDirHandlerConfMBean
-
getProviderUrl
Description copied from interface:LdapDirHandlerConfMBeanURL of ldap server- Specified by:
getProviderUrlin interfaceLdapDirHandlerConfMBean- Returns:
- String val
-
setBaseDn
- Specified by:
setBaseDnin interfaceLdapDirHandlerConfMBean
-
getBaseDn
- Specified by:
getBaseDnin interfaceLdapDirHandlerConfMBean- Returns:
- String val
-
setQueryLimit
public void setQueryLimit(int val) Description copied from interface:LdapDirHandlerConfMBeanSet the query limit - 0 for no limit- Specified by:
setQueryLimitin interfaceLdapDirHandlerConfMBean
-
getQueryLimit
public int getQueryLimit()- Specified by:
getQueryLimitin interfaceLdapDirHandlerConfMBean- Returns:
- int val
-
setAttrIds
- Specified by:
setAttrIdsin interfaceLdapDirHandlerConfMBean
-
getAttrIds
- Specified by:
getAttrIdsin interfaceLdapDirHandlerConfMBean- Returns:
- String val
-
setFolderObjectClass
- Specified by:
setFolderObjectClassin interfaceLdapDirHandlerConfMBean
-
getFolderObjectClass
- Specified by:
getFolderObjectClassin interfaceLdapDirHandlerConfMBean- Returns:
- String val
-
setAddressbookObjectClass
- Specified by:
setAddressbookObjectClassin interfaceLdapDirHandlerConfMBean
-
getAddressbookObjectClass
- Specified by:
getAddressbookObjectClassin interfaceLdapDirHandlerConfMBean- Returns:
- String val
-
setAddressbookEntryObjectClass
- Specified by:
setAddressbookEntryObjectClassin interfaceLdapDirHandlerConfMBean
-
getAddressbookEntryObjectClass
- Specified by:
getAddressbookEntryObjectClassin interfaceLdapDirHandlerConfMBean- Returns:
- String val
-
setPrincipalIdAttr
Description copied from interface:LdapDirHandlerConfMBeanAttribute we search for to get a principal- Specified by:
setPrincipalIdAttrin interfaceLdapDirHandlerConfMBean
-
getPrincipalIdAttr
Description copied from interface:LdapDirHandlerConfMBeanAttribute we search for to get a group- Specified by:
getPrincipalIdAttrin interfaceLdapDirHandlerConfMBean- Returns:
- String val
-
setFolderIdAttr
- Specified by:
setFolderIdAttrin interfaceLdapDirHandlerConfMBean
-
getFolderIdAttr
- Specified by:
getFolderIdAttrin interfaceLdapDirHandlerConfMBean- Returns:
- String val
-
setAddressbookIdAttr
- Specified by:
setAddressbookIdAttrin interfaceLdapDirHandlerConfMBean
-
getAddressbookIdAttr
- Specified by:
getAddressbookIdAttrin interfaceLdapDirHandlerConfMBean- Returns:
- String val
-
setAddressbookEntryIdAttr
- Specified by:
setAddressbookEntryIdAttrin interfaceLdapDirHandlerConfMBean
-
getAddressbookEntryIdAttr
- Specified by:
getAddressbookEntryIdAttrin interfaceLdapDirHandlerConfMBean- Returns:
- String val
-
setGroupMemberAttr
Description copied from interface:LdapDirHandlerConfMBeanAttribute we want back identifying a member- Specified by:
setGroupMemberAttrin interfaceLdapDirHandlerConfMBean
-
getGroupMemberAttr
Description copied from interface:LdapDirHandlerConfMBeanAttribute we want back identifying a member- Specified by:
getGroupMemberAttrin interfaceLdapDirHandlerConfMBean- Returns:
- String val
-
setAuthDn
Description copied from interface:LdapDirHandlerConfMBeanIf we need an id to authenticate this is it.- Specified by:
setAuthDnin interfaceLdapDirHandlerConfMBean
-
getAuthDn
Description copied from interface:LdapDirHandlerConfMBeanIf we need an id to authenticate this is it.- Specified by:
getAuthDnin interfaceLdapDirHandlerConfMBean- Returns:
- String val
-
setAuthPw
Description copied from interface:LdapDirHandlerConfMBeanIf we need an id to authenticate this is the pw.- Specified by:
setAuthPwin interfaceLdapDirHandlerConfMBean
-
getAuthPw
Description copied from interface:LdapDirHandlerConfMBeanIf we need an id to authenticate this is the pw.- Specified by:
getAuthPwin interfaceLdapDirHandlerConfMBean- Returns:
- String val
-
getConf
- Overrides:
getConfin classDirHandlerConf- Returns:
- current state of config
-