Class Rest2ldapEndpointCfgDefn

    • Method Detail

      • getInstance

        public static Rest2ldapEndpointCfgDefn getInstance()
        Get the Rest2LDAP Endpoint configuration definition singleton.
        Returns:
        Returns the Rest2LDAP Endpoint configuration definition singleton.
      • getBasePathPropertyDefinition

        public StringPropertyDefinition getBasePathPropertyDefinition()
        Get the "base-path" property definition.

        All HTTP requests matching the base path or subordinate to it will be routed to the HTTP endpoint unless a more specific HTTP endpoint is found.

        Returns:
        Returns the "base-path" property definition.
      • getConfigDirectoryPropertyDefinition

        public StringPropertyDefinition getConfigDirectoryPropertyDefinition()
        Get the "config-directory" property definition.

        The directory containing the Rest2Ldap configuration file(s) for this specific endpoint.

        The directory must be readable by the server and may contain multiple configuration files, one for each supported version of the REST endpoint. If a relative path is used then it will be resolved against the server's instance directory.

        Returns:
        Returns the "config-directory" property definition.
      • getEnabledPropertyDefinition

        public BooleanPropertyDefinition getEnabledPropertyDefinition()
        Get the "enabled" property definition.

        Indicates whether the Rest2LDAP Endpoint is enabled.

        Returns:
        Returns the "enabled" property definition.
      • getJavaClassPropertyDefinition

        public ClassPropertyDefinition getJavaClassPropertyDefinition()
        Get the "java-class" property definition.

        Specifies the fully-qualified name of the Java class that provides the Rest2LDAP Endpoint implementation.

        Returns:
        Returns the "java-class" property definition.
      • getReturnNullForMissingPropertiesPropertyDefinition

        public BooleanPropertyDefinition getReturnNullForMissingPropertiesPropertyDefinition()
        Get the "return-null-for-missing-properties" property definition.

        Indicates whether missing (unmapped) JSON properties should be included in JSON resources.

        By default JSON properties that do not have a corresponding LDAP attribute are unmapped and not included in JSON resources returned by the REST endpoint. Set this option to true if unmapped JSON properties should be included with a value of null.

        Returns:
        Returns the "return-null-for-missing-properties" property definition.