Class LdapConfiguration
- java.lang.Object
-
- org.camunda.bpm.identity.impl.ldap.LdapConfiguration
-
- Direct Known Subclasses:
LdapIdentityProviderPlugin
public class LdapConfiguration extends java.lang.Object
Java Bean holding LDAP configuration
- Author:
- Daniel Meyer
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
allowAnonymousLogin
protected boolean
authorizationCheckEnabled
protected java.lang.String
baseDn
protected java.util.Map<java.lang.String,java.lang.String>
contextProperties
static java.lang.String
DB_QUERY_WILDCARD
protected java.lang.String
groupIdAttribute
protected java.lang.String
groupMemberAttribute
protected java.lang.String
groupNameAttribute
protected java.lang.String
groupSearchBase
protected java.lang.String
groupSearchFilter
protected java.lang.String
groupTypeAttribute
protected java.lang.String
initialContextFactory
static java.lang.String
LDAP_QUERY_WILDCARD
protected java.lang.String
managerDn
protected java.lang.String
managerPassword
protected java.lang.String
securityAuthentication
protected java.lang.String
serverUrl
protected boolean
sortControlSupported
protected boolean
usePosixGroups
protected java.lang.String
userDnPattern
protected java.lang.String
userEmailAttribute
protected java.lang.String
userFirstnameAttribute
protected java.lang.String
userIdAttribute
protected java.lang.String
userLastnameAttribute
protected java.lang.String
userPasswordAttribute
protected java.lang.String
userSearchBase
protected java.lang.String
userSearchFilter
protected boolean
useSsl
-
Constructor Summary
Constructors Constructor Description LdapConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getBaseDn()
java.util.Map<java.lang.String,java.lang.String>
getContextProperties()
java.lang.String
getGroupIdAttribute()
java.lang.String
getGroupMemberAttribute()
java.lang.String
getGroupNameAttribute()
java.lang.String
getGroupSearchBase()
java.lang.String
getGroupSearchFilter()
java.lang.String
getGroupTypeAttribute()
java.lang.String
getInitialContextFactory()
java.lang.String
getManagerDn()
java.lang.String
getManagerPassword()
javax.naming.directory.SearchControls
getSearchControls()
java.lang.String
getSecurityAuthentication()
java.lang.String
getServerUrl()
java.lang.String
getUserDnPattern()
java.lang.String
getUserEmailAttribute()
java.lang.String
getUserFirstnameAttribute()
java.lang.String
getUserIdAttribute()
java.lang.String
getUserLastnameAttribute()
java.lang.String
getUserPasswordAttribute()
java.lang.String
getUserSearchBase()
java.lang.String
getUserSearchFilter()
boolean
isAllowAnonymousLogin()
boolean
isAuthorizationCheckEnabled()
boolean
isSortControlSupported()
boolean
isUsePosixGroups()
boolean
isUseSsl()
void
setAllowAnonymousLogin(boolean allowAnonymousLogin)
void
setAuthorizationCheckEnabled(boolean authorizationCheckEnabled)
void
setBaseDn(java.lang.String baseDn)
void
setContextProperties(java.util.Map<java.lang.String,java.lang.String> contextProperties)
void
setGroupIdAttribute(java.lang.String groupIdAttribute)
void
setGroupMemberAttribute(java.lang.String groupMemberAttribute)
void
setGroupNameAttribute(java.lang.String groupNameAttribute)
void
setGroupSearchBase(java.lang.String groupSearchBase)
void
setGroupSearchFilter(java.lang.String groupSearchFilter)
void
setGroupTypeAttribute(java.lang.String groupTypeAttribute)
void
setInitialContextFactory(java.lang.String initialContextFactory)
void
setManagerDn(java.lang.String managerDn)
void
setManagerPassword(java.lang.String managerPassword)
void
setSecurityAuthentication(java.lang.String securityAuthentication)
void
setServerUrl(java.lang.String serverUrl)
void
setSortControlSupported(boolean sortControlSupported)
void
setUsePosixGroups(boolean usePosixGroups)
void
setUserDnPattern(java.lang.String userDnPattern)
void
setUserEmailAttribute(java.lang.String userEmailAttribute)
void
setUserFirstnameAttribute(java.lang.String userFirstnameAttribute)
void
setUserIdAttribute(java.lang.String userIdAttribute)
void
setUserLastnameAttribute(java.lang.String userLastnameAttribute)
void
setUserPasswordAttribute(java.lang.String userPasswordAttribute)
void
setUserSearchBase(java.lang.String userSearchBase)
void
setUserSearchFilter(java.lang.String userSearchFilter)
void
setUseSsl(boolean useSsl)
-
-
-
Field Detail
-
LDAP_QUERY_WILDCARD
public static java.lang.String LDAP_QUERY_WILDCARD
-
DB_QUERY_WILDCARD
public static java.lang.String DB_QUERY_WILDCARD
-
initialContextFactory
protected java.lang.String initialContextFactory
-
securityAuthentication
protected java.lang.String securityAuthentication
-
contextProperties
protected java.util.Map<java.lang.String,java.lang.String> contextProperties
-
serverUrl
protected java.lang.String serverUrl
-
managerDn
protected java.lang.String managerDn
-
managerPassword
protected java.lang.String managerPassword
-
baseDn
protected java.lang.String baseDn
-
userDnPattern
protected java.lang.String userDnPattern
-
userSearchBase
protected java.lang.String userSearchBase
-
userSearchFilter
protected java.lang.String userSearchFilter
-
groupSearchBase
protected java.lang.String groupSearchBase
-
groupSearchFilter
protected java.lang.String groupSearchFilter
-
userIdAttribute
protected java.lang.String userIdAttribute
-
userFirstnameAttribute
protected java.lang.String userFirstnameAttribute
-
userLastnameAttribute
protected java.lang.String userLastnameAttribute
-
userEmailAttribute
protected java.lang.String userEmailAttribute
-
userPasswordAttribute
protected java.lang.String userPasswordAttribute
-
groupIdAttribute
protected java.lang.String groupIdAttribute
-
groupNameAttribute
protected java.lang.String groupNameAttribute
-
groupTypeAttribute
protected java.lang.String groupTypeAttribute
-
groupMemberAttribute
protected java.lang.String groupMemberAttribute
-
sortControlSupported
protected boolean sortControlSupported
-
useSsl
protected boolean useSsl
-
usePosixGroups
protected boolean usePosixGroups
-
allowAnonymousLogin
protected boolean allowAnonymousLogin
-
authorizationCheckEnabled
protected boolean authorizationCheckEnabled
-
-
Method Detail
-
getInitialContextFactory
public java.lang.String getInitialContextFactory()
-
setInitialContextFactory
public void setInitialContextFactory(java.lang.String initialContextFactory)
-
getSecurityAuthentication
public java.lang.String getSecurityAuthentication()
-
setSecurityAuthentication
public void setSecurityAuthentication(java.lang.String securityAuthentication)
-
getContextProperties
public java.util.Map<java.lang.String,java.lang.String> getContextProperties()
-
setContextProperties
public void setContextProperties(java.util.Map<java.lang.String,java.lang.String> contextProperties)
-
getServerUrl
public java.lang.String getServerUrl()
-
setServerUrl
public void setServerUrl(java.lang.String serverUrl)
-
getManagerDn
public java.lang.String getManagerDn()
-
setManagerDn
public void setManagerDn(java.lang.String managerDn)
-
getManagerPassword
public java.lang.String getManagerPassword()
-
setManagerPassword
public void setManagerPassword(java.lang.String managerPassword)
-
getUserDnPattern
public java.lang.String getUserDnPattern()
-
setUserDnPattern
public void setUserDnPattern(java.lang.String userDnPattern)
-
getGroupSearchBase
public java.lang.String getGroupSearchBase()
-
setGroupSearchBase
public void setGroupSearchBase(java.lang.String groupSearchBase)
-
getGroupSearchFilter
public java.lang.String getGroupSearchFilter()
-
setGroupSearchFilter
public void setGroupSearchFilter(java.lang.String groupSearchFilter)
-
getGroupNameAttribute
public java.lang.String getGroupNameAttribute()
-
setGroupNameAttribute
public void setGroupNameAttribute(java.lang.String groupNameAttribute)
-
getBaseDn
public java.lang.String getBaseDn()
-
setBaseDn
public void setBaseDn(java.lang.String baseDn)
-
getUserSearchBase
public java.lang.String getUserSearchBase()
-
setUserSearchBase
public void setUserSearchBase(java.lang.String userSearchBase)
-
getUserSearchFilter
public java.lang.String getUserSearchFilter()
-
setUserSearchFilter
public void setUserSearchFilter(java.lang.String userSearchFilter)
-
getUserIdAttribute
public java.lang.String getUserIdAttribute()
-
setUserIdAttribute
public void setUserIdAttribute(java.lang.String userIdAttribute)
-
getUserFirstnameAttribute
public java.lang.String getUserFirstnameAttribute()
-
setUserFirstnameAttribute
public void setUserFirstnameAttribute(java.lang.String userFirstnameAttribute)
-
getUserLastnameAttribute
public java.lang.String getUserLastnameAttribute()
-
setUserLastnameAttribute
public void setUserLastnameAttribute(java.lang.String userLastnameAttribute)
-
getUserEmailAttribute
public java.lang.String getUserEmailAttribute()
-
setUserEmailAttribute
public void setUserEmailAttribute(java.lang.String userEmailAttribute)
-
getUserPasswordAttribute
public java.lang.String getUserPasswordAttribute()
-
setUserPasswordAttribute
public void setUserPasswordAttribute(java.lang.String userPasswordAttribute)
-
isSortControlSupported
public boolean isSortControlSupported()
-
setSortControlSupported
public void setSortControlSupported(boolean sortControlSupported)
-
getGroupIdAttribute
public java.lang.String getGroupIdAttribute()
-
setGroupIdAttribute
public void setGroupIdAttribute(java.lang.String groupIdAttribute)
-
getGroupMemberAttribute
public java.lang.String getGroupMemberAttribute()
-
setGroupMemberAttribute
public void setGroupMemberAttribute(java.lang.String groupMemberAttribute)
-
isUseSsl
public boolean isUseSsl()
-
setUseSsl
public void setUseSsl(boolean useSsl)
-
isUsePosixGroups
public boolean isUsePosixGroups()
-
setUsePosixGroups
public void setUsePosixGroups(boolean usePosixGroups)
-
getSearchControls
public javax.naming.directory.SearchControls getSearchControls()
-
getGroupTypeAttribute
public java.lang.String getGroupTypeAttribute()
-
setGroupTypeAttribute
public void setGroupTypeAttribute(java.lang.String groupTypeAttribute)
-
isAllowAnonymousLogin
public boolean isAllowAnonymousLogin()
-
setAllowAnonymousLogin
public void setAllowAnonymousLogin(boolean allowAnonymousLogin)
-
isAuthorizationCheckEnabled
public boolean isAuthorizationCheckEnabled()
-
setAuthorizationCheckEnabled
public void setAuthorizationCheckEnabled(boolean authorizationCheckEnabled)
-
-