public interface CoreSchemaCfgClient extends SchemaProviderCfgClient
Core Schema define the core schema elements to load.
Modifier and Type | Method and Description |
---|---|
ManagedObjectDefinition<? extends CoreSchemaCfgClient,? extends CoreSchemaCfg> |
definition()
Get the configuration definition associated with this Core Schema.
|
SortedSet<String> |
getDisabledMatchingRule()
Gets the "disabled-matching-rule" property.
|
SortedSet<String> |
getDisabledSyntax()
Gets the "disabled-syntax" property.
|
String |
getJavaClass()
Gets the "java-class" property.
|
boolean |
isAllowZeroLengthValuesDirectoryString()
Gets the "allow-zero-length-values-directory-string" property.
|
boolean |
isStrictFormatCountryString()
Gets the "strict-format-country-string" property.
|
boolean |
isStripSyntaxMinUpperBoundAttributeTypeDescription()
Gets the "strip-syntax-min-upper-bound-attribute-type-description" property.
|
void |
setAllowZeroLengthValuesDirectoryString(Boolean value)
Sets the "allow-zero-length-values-directory-string" property.
|
void |
setDisabledMatchingRule(Collection<String> values)
Sets the "disabled-matching-rule" property.
|
void |
setDisabledSyntax(Collection<String> values)
Sets the "disabled-syntax" property.
|
void |
setJavaClass(String value)
Sets the "java-class" property.
|
void |
setStrictFormatCountryString(Boolean value)
Sets the "strict-format-country-string" property.
|
void |
setStripSyntaxMinUpperBoundAttributeTypeDescription(Boolean value)
Sets the "strip-syntax-min-upper-bound-attribute-type-description" property.
|
isEnabled, setEnabled
commit, properties
ManagedObjectDefinition<? extends CoreSchemaCfgClient,? extends CoreSchemaCfg> definition()
definition
in interface ConfigurationClient
definition
in interface SchemaProviderCfgClient
boolean isAllowZeroLengthValuesDirectoryString()
Indicates whether zero-length (that is, an empty string) values are allowed for directory string.
This is technically not allowed by the revised LDAPv3 specification, but some environments may require it for backward compatibility with servers that do allow it.
void setAllowZeroLengthValuesDirectoryString(Boolean value) throws PropertyException
Indicates whether zero-length (that is, an empty string) values are allowed for directory string.
This is technically not allowed by the revised LDAPv3 specification, but some environments may require it for backward compatibility with servers that do allow it.
value
- The value of the "allow-zero-length-values-directory-string" property.PropertyException
- If the new value is invalid.SortedSet<String> getDisabledMatchingRule()
The set of disabled matching rules.
Matching rules must be specified using the syntax: OID, or use the default value 'NONE' to specify no value.
void setDisabledMatchingRule(Collection<String> values) throws PropertyException
The set of disabled matching rules.
Matching rules must be specified using the syntax: OID, or use the default value 'NONE' to specify no value.
values
- The values of the "disabled-matching-rule" property.PropertyException
- If one or more of the new values are invalid.SortedSet<String> getDisabledSyntax()
The set of disabled syntaxes.
Syntaxes must be specified using the syntax: OID, or use the default value 'NONE' to specify no value.
void setDisabledSyntax(Collection<String> values) throws PropertyException
The set of disabled syntaxes.
Syntaxes must be specified using the syntax: OID, or use the default value 'NONE' to specify no value.
values
- The values of the "disabled-syntax" property.PropertyException
- If one or more of the new values are invalid.String getJavaClass()
Specifies the fully-qualified name of the Java class that provides the Core Schema implementation.
getJavaClass
in interface SchemaProviderCfgClient
void setJavaClass(String value) throws PropertyException
Specifies the fully-qualified name of the Java class that provides the Core Schema implementation.
setJavaClass
in interface SchemaProviderCfgClient
value
- The value of the "java-class" property.PropertyException
- If the new value is invalid.boolean isStrictFormatCountryString()
Indicates whether country code values are required to strictly comply with the standard definition for this syntax.
When set to false, country codes will not be validated and, as a result any string containing 2 characters will be acceptable.
void setStrictFormatCountryString(Boolean value) throws PropertyException
Indicates whether country code values are required to strictly comply with the standard definition for this syntax.
When set to false, country codes will not be validated and, as a result any string containing 2 characters will be acceptable.
value
- The value of the "strict-format-country-string" property.PropertyException
- If the new value is invalid.boolean isStripSyntaxMinUpperBoundAttributeTypeDescription()
Indicates whether the suggested minimum upper bound appended to an attribute's syntax OID in it's schema definition Attribute Type Description is stripped off.
When retrieving the server's schema, some APIs (JNDI) fail in their syntax lookup methods, because they do not parse this value correctly. This configuration option allows the server to be configured to provide schema definitions these APIs can parse correctly.
void setStripSyntaxMinUpperBoundAttributeTypeDescription(Boolean value) throws PropertyException
Indicates whether the suggested minimum upper bound appended to an attribute's syntax OID in it's schema definition Attribute Type Description is stripped off.
When retrieving the server's schema, some APIs (JNDI) fail in their syntax lookup methods, because they do not parse this value correctly. This configuration option allows the server to be configured to provide schema definitions these APIs can parse correctly.
value
- The value of the "strip-syntax-min-upper-bound-attribute-type-description" property.PropertyException
- If the new value is invalid.Copyright 2010-2017 ForgeRock AS.