Class LdapConfig

java.lang.Object
byps.BValueClass
de.elo.ix.client.ValueClass
de.elo.ix.client.ldap.LdapConfig
All Implemented Interfaces:
Serializable

public class LdapConfig extends ValueClass
Configuration data for LDAP plugin.
Since:
11.00.000.007
See Also:
  • Field Details

    • READ_AUTO_CONFIG

      public static final LdapConfig READ_AUTO_CONFIG
      Create a configuration. This symbol used as parameter for LdapService.configure(de.elo.ix.client.ClientInfo, LdapConfig) to create a configuration based on the current environment. The current configuration is not changed.
    • READ_CONFIG

      public static final LdapConfig READ_CONFIG
      Read configuration. This symbol used as paramter for LdapService.configure(de.elo.ix.client.ClientInfo, LdapConfig) to read the current configuration without changing it.
    • name

      protected String name
      Configuration name. Optional configuration name.
    • createNewUser

      protected boolean createNewUser
      If authentication succeeds, create a new ELO user if she does not already exist.
    • assignGroups

      protected boolean assignGroups
      If authentication succeeds, update the user's memberships in ELO groups.
    • notResponsibleForUserOrGroupIds

      protected Set<String> 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) and UserInfoC.GUID_ELOSERVICE (ELO Service), if this LdapConfig object is initialized by LdapService.createConfig(de.elo.ix.client.ClientInfo).
    • domains

      protected List<Domain> domains
      List of configuration data for each domain.
    • enabled

      protected boolean enabled
      Enable/disable authentication via LDAP.
      Since:
      20.00.000.004
  • Constructor Details

    • LdapConfig

      public LdapConfig()
    • LdapConfig

      public LdapConfig(String name)
  • Method Details

    • getDomains

      public List<Domain> getDomains()
    • setDomains

      public void setDomains(List<Domain> domains)
    • isCreateNewUser

      public boolean isCreateNewUser()
    • isAssignGroups

      public boolean isAssignGroups()
    • setCreateNewUser

      public void setCreateNewUser(boolean createNewUser)
    • setAssignGroups

      public void setAssignGroups(boolean assignGroups)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getNotResponsibleForUserOrGroupIds

      public Set<String> getNotResponsibleForUserOrGroupIds()
    • setNotResponsibleForUserOrGroupIds

      public void setNotResponsibleForUserOrGroupIds(Set<String> notResponsibleForUserOrGroupIds)
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • isEnabled

      public boolean isEnabled()
    • setEnabled

      public void setEnabled(boolean enabled)