Class Json2LdapDetails

java.lang.Object
com.nimbusds.common.config.WebServiceDetails
com.nimbusds.common.config.Json2LdapDetails
All Implemented Interfaces:
LoggableConfiguration

public class Json2LdapDetails extends WebServiceDetails
Json2Ldap web service connect details.

The configuration is stored as public fields which become immutable (final) after their initialisation.

Property keys: [prefix]*

  • Field Details

    • useDefaultLDAPServer

      public final boolean useDefaultLDAPServer
      Determines whether to use the default LDAP server specified by the Json2Ldap web service.

      If false the LDAP server details must be specified explicitly in the LDAP server configuration.

      Property key: [prefix]useDefaultLDAPServer

    • DEFAULT_LDAP_SERVER

      public static final boolean DEFAULT_LDAP_SERVER
      The default LDAP server use.
      See Also:
  • Constructor Details

    • Json2LdapDetails

      public Json2LdapDetails(String prefix, Properties props) throws com.thetransactioncompany.util.PropertyParseException
      Creates a new Json2Ldap details instance from the specified properties.

      Mandatory properties:

      • [prefix]url

      Optional properties, with defaults:

      • [prefix]useDefaultLDAPServer = true
      • [prefix]trustSelfSignedCerts = false
      • [prefix]connectTimeout = 0
      • [prefix]readTimeout = 0
      • [prefix]apiKey = null
      Parameters:
      prefix - The properties prefix. Must not be null.
      props - The properties. Must not be null.
      Throws:
      com.thetransactioncompany.util.PropertyParseException - On a missing or invalid property.
  • Method Details