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) voidsetProviderUrl(String val) voidsetQueryLimit(int val) Set the query limit - 0 for no limitvoidvoidMethods 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, info, isAuditLoggerEnabled, isErrorLoggerEnabled, isMetricsDebugEnabled, isMetricsLoggerEnabled, metrics, setLoggerClass, setLoggerClass, trace, trace, trace, warn, warn
-
Constructor Details
-
LdapDirHandlerConf
-
-
Method Details
-
setInitialContextFactory
- Specified by:
setInitialContextFactoryin interfaceLdapDirHandlerConfMBean- Parameters:
val-
-
getInitialContextFactory
- Specified by:
getInitialContextFactoryin interfaceLdapDirHandlerConfMBean- Returns:
- String
-
setSecurityAuthentication
- Specified by:
setSecurityAuthenticationin interfaceLdapDirHandlerConfMBean- Parameters:
val-
-
getSecurityAuthentication
- Specified by:
getSecurityAuthenticationin interfaceLdapDirHandlerConfMBean- Returns:
- String
-
setSecurityProtocol
- Specified by:
setSecurityProtocolin interfaceLdapDirHandlerConfMBean- Parameters:
val- e.g. "ssl"
-
getSecurityProtocol
Description copied from interface:LdapDirHandlerConfMBeane.g "ssl"- Specified by:
getSecurityProtocolin interfaceLdapDirHandlerConfMBean- Returns:
- String val
-
setProviderUrl
- Specified by:
setProviderUrlin interfaceLdapDirHandlerConfMBean- Parameters:
val- URL of ldap server
-
getProviderUrl
Description copied from interface:LdapDirHandlerConfMBeanURL of ldap server- Specified by:
getProviderUrlin interfaceLdapDirHandlerConfMBean- Returns:
- String val
-
setBaseDn
- Specified by:
setBaseDnin interfaceLdapDirHandlerConfMBean- Parameters:
val- ldap base dn
-
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- Parameters:
val- the query limit - 0 for no limit
-
getQueryLimit
public int getQueryLimit()- Specified by:
getQueryLimitin interfaceLdapDirHandlerConfMBean- Returns:
- int val
-
setAttrIds
- Specified by:
setAttrIdsin interfaceLdapDirHandlerConfMBean- Parameters:
val- comma separated list of attribute ids
-
getAttrIds
- Specified by:
getAttrIdsin interfaceLdapDirHandlerConfMBean- Returns:
- String val
-
setFolderObjectClass
- Specified by:
setFolderObjectClassin interfaceLdapDirHandlerConfMBean- Parameters:
val- objectclass used to represent a folder
-
getFolderObjectClass
- Specified by:
getFolderObjectClassin interfaceLdapDirHandlerConfMBean- Returns:
- String val
-
setAddressbookObjectClass
- Specified by:
setAddressbookObjectClassin interfaceLdapDirHandlerConfMBean- Parameters:
val- Addressbook ObjectClass
-
getAddressbookObjectClass
- Specified by:
getAddressbookObjectClassin interfaceLdapDirHandlerConfMBean- Returns:
- String val
-
setAddressbookEntryObjectClass
- Specified by:
setAddressbookEntryObjectClassin interfaceLdapDirHandlerConfMBean- Parameters:
val- Addressbook entry ObjectClass
-
getAddressbookEntryObjectClass
- Specified by:
getAddressbookEntryObjectClassin interfaceLdapDirHandlerConfMBean- Returns:
- String val
-
setPrincipalIdAttr
- Specified by:
setPrincipalIdAttrin interfaceLdapDirHandlerConfMBean- Parameters:
val- Attribute we search for to get a principal
-
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- Parameters:
val- attribute used to designate the equivalent of a folder
-
getFolderIdAttr
- Specified by:
getFolderIdAttrin interfaceLdapDirHandlerConfMBean- Returns:
- String val
-
setAddressbookIdAttr
- Specified by:
setAddressbookIdAttrin interfaceLdapDirHandlerConfMBean- Parameters:
val- addressbook Id Attr
-
getAddressbookIdAttr
- Specified by:
getAddressbookIdAttrin interfaceLdapDirHandlerConfMBean- Returns:
- String val
-
setAddressbookEntryIdAttr
- Specified by:
setAddressbookEntryIdAttrin interfaceLdapDirHandlerConfMBean- Parameters:
val-
-
getAddressbookEntryIdAttr
- Specified by:
getAddressbookEntryIdAttrin interfaceLdapDirHandlerConfMBean- Returns:
- String val
-
setGroupMemberAttr
Description copied from interface:LdapDirHandlerConfMBeanAttribute we want back identifying a member- Specified by:
setGroupMemberAttrin interfaceLdapDirHandlerConfMBean- Parameters:
val-
-
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- Parameters:
val-
-
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- Parameters:
val-
-
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
-