Interface HdapEndpointCfgClient
- All Superinterfaces:
- ConfigurationClient,- HttpEndpointCfgClient
The Hdap Endpoint provides a lightweight REST API for accessing all directory data.
- 
Method SummaryModifier and TypeMethodDescriptionManagedObjectDefinition<? extends HdapEndpointCfgClient,? extends HdapEndpointCfg> Get the configuration definition associated with this Hdap Endpoint.Gets the "java-class" property.Gets the "normalize-attribute-names" property.Gets the "return-null-for-missing-properties" property.voidsetJavaClass(ValueOrExpression<String> value) Sets the "java-class" property.voidSets the "normalize-attribute-names" property.voidSets the "return-null-for-missing-properties" property.Methods inherited from interface org.forgerock.opendj.config.ConfigurationClientcommit, propertiesMethods inherited from interface org.forgerock.opendj.server.config.client.HttpEndpointCfgClientgetAuthorizationMechanism, getBasePath, isEnabled, setAuthorizationMechanism, setBasePath, setEnabled
- 
Method Details- 
definitionManagedObjectDefinition<? extends HdapEndpointCfgClient,? extends HdapEndpointCfg> definition()Get the configuration definition associated with this Hdap Endpoint.- Specified by:
- definitionin interface- ConfigurationClient
- Specified by:
- definitionin interface- HttpEndpointCfgClient
- Returns:
- Returns the configuration definition associated with this Hdap Endpoint.
 
- 
getJavaClassGets the "java-class" property.Specifies the fully-qualified name of the Java class that provides the Hdap Endpoint implementation. Default value: org.opends.server.protocols.http.rest2ldap.HdapEndpoint- Specified by:
- getJavaClassin interface- HttpEndpointCfgClient
- Returns:
- Returns the value of the "java-class" property.
 
- 
setJavaClassSets the "java-class" property.Specifies the fully-qualified name of the Java class that provides the Hdap Endpoint implementation. - Specified by:
- setJavaClassin interface- HttpEndpointCfgClient
- Parameters:
- value- The value of the "java-class" property.
- Throws:
- PropertyException- If the new value is invalid.
 
- 
isNormalizeAttributeNamesValueOrExpression<Boolean> isNormalizeAttributeNames()Gets the "normalize-attribute-names" property.Indicates if LDAP attribute names should be normalized in JSON resource names. LDAP attributes often have multiple names (e.g. "cn" and "commonName") and the names are also case-insensitive. This option controls whether the attribute names in JSON resources should be normalized to a single consistent name, or whether they should be returned as-is from the LDAP entry or request. Default value: true- Returns:
- Returns the value of the "normalize-attribute-names" property.
 
- 
setNormalizeAttributeNamesSets the "normalize-attribute-names" property.Indicates if LDAP attribute names should be normalized in JSON resource names. LDAP attributes often have multiple names (e.g. "cn" and "commonName") and the names are also case-insensitive. This option controls whether the attribute names in JSON resources should be normalized to a single consistent name, or whether they should be returned as-is from the LDAP entry or request. - Parameters:
- value- The value of the "normalize-attribute-names" property.
- Throws:
- PropertyException- If the new value is invalid.
 
- 
isReturnNullForMissingPropertiesValueOrExpression<Boolean> isReturnNullForMissingProperties()Gets the "return-null-for-missing-properties" property.Indicates whether missing JSON properties should be included in JSON resources. By default JSON properties which are not present in the target LDAP entries are not included in JSON resources returned by the REST endpoint. Set this option to true if these JSON properties should be included. LDAP attributes that are defined as SINGLE-VALUE are returned as null, or as an empty array if not. Default value: false- Returns:
- Returns the value of the "return-null-for-missing-properties" property.
 
- 
setReturnNullForMissingPropertiesSets the "return-null-for-missing-properties" property.Indicates whether missing JSON properties should be included in JSON resources. By default JSON properties which are not present in the target LDAP entries are not included in JSON resources returned by the REST endpoint. Set this option to true if these JSON properties should be included. LDAP attributes that are defined as SINGLE-VALUE are returned as null, or as an empty array if not. - Parameters:
- value- The value of the "return-null-for-missing-properties" property.
- Throws:
- PropertyException- If the new value is invalid.
 
 
-