Package de.elo.ix.client.ldap
Class LdapConfig
java.lang.Object
byps.BValueClass
de.elo.ix.client.ValueClass
de.elo.ix.client.ldap.LdapConfig
- All Implemented Interfaces:
Serializable
Configuration data for LDAP plugin.
- Since:
- 11.00.000.007
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected boolean
If authentication succeeds, update the user's memberships in ELO groups.protected boolean
If authentication succeeds, create a new ELO user if she does not already exist.List of configuration data for each domain.protected boolean
Enable/disable authentication via LDAP.protected String
Configuration name.List of user IDs, or user GUIDs, or group IDs (not group GUIDs) that cannot be authenticated by this UserDirectory.static final LdapConfig
Create a configuration.static final LdapConfig
Read configuration.Fields inherited from class byps.BValueClass
bypsClient, changedMembers, dbHelper, FLAG_SEALED, flags
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()
boolean
boolean
boolean
void
setAssignGroups
(boolean assignGroups) void
setCreateNewUser
(boolean createNewUser) void
setDomains
(List<Domain> domains) void
setEnabled
(boolean enabled) void
void
setNotResponsibleForUserOrGroupIds
(Set<String> notResponsibleForUserOrGroupIds) toString()
Methods inherited from class byps.BValueClass
getBypsClient, getChangedMembers, getDbHelper, isChangedMember, isSealed, seal, seal, setBypsClient, setChangedMember, setChangedMembers, setDbHelper
-
Field Details
-
READ_AUTO_CONFIG
Create a configuration. This symbol used as parameter forLdapService.configure(de.elo.ix.client.ClientInfo, LdapConfig)
to create a configuration based on the current environment. The current configuration is not changed. -
READ_CONFIG
Read configuration. This symbol used as paramter forLdapService.configure(de.elo.ix.client.ClientInfo, LdapConfig)
to read the current configuration without changing it. -
name
Configuration name. Optional configuration name. -
createNewUser
protected boolean createNewUserIf authentication succeeds, create a new ELO user if she does not already exist. -
assignGroups
protected boolean assignGroupsIf authentication succeeds, update the user's memberships in ELO groups. -
notResponsibleForUserOrGroupIds
List of user IDs, or user GUIDs, or group IDs (not group GUIDs) that cannot be authenticated by this UserDirectory. If the user passed in UserDirectory.authenticate, parameter loginName, is associated to an ID found in this list, function authenticate returns NOT_RESPONSIBLE_FOR_AUTHENTICATION. This value is also returned, if one of the user's groups is included in the list. The list contains user ID 0 (Administrator) andUserInfoC.GUID_ELOSERVICE
(ELO Service), if this LdapConfig object is initialized byLdapService.createConfig(de.elo.ix.client.ClientInfo)
. -
domains
List of configuration data for each domain. -
enabled
protected boolean enabledEnable/disable authentication via LDAP.- Since:
- 20.00.000.004
-
-
Constructor Details
-
LdapConfig
public LdapConfig() -
LdapConfig
-
-
Method Details
-
getDomains
-
setDomains
-
isCreateNewUser
public boolean isCreateNewUser() -
isAssignGroups
public boolean isAssignGroups() -
setCreateNewUser
public void setCreateNewUser(boolean createNewUser) -
setAssignGroups
public void setAssignGroups(boolean assignGroups) -
toString
-
getNotResponsibleForUserOrGroupIds
-
setNotResponsibleForUserOrGroupIds
-
getName
-
setName
-
isEnabled
public boolean isEnabled() -
setEnabled
public void setEnabled(boolean enabled)
-