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.
|
CoreSchemaCfgDefn.JsonValidationPolicy |
getJsonValidationPolicy()
Gets the "json-validation-policy" property.
|
boolean |
isAllowAttributeTypesWithNoSupOrSyntax()
Gets the "allow-attribute-types-with-no-sup-or-syntax" property.
|
boolean |
isAllowZeroLengthValuesDirectoryString()
Gets the "allow-zero-length-values-directory-string" property.
|
boolean |
isStrictFormatCertificates()
Gets the "strict-format-certificates" property.
|
boolean |
isStrictFormatCountryString()
Gets the "strict-format-country-string" property.
|
boolean |
isStrictFormatJpegPhotos()
Gets the "strict-format-jpeg-photos" property.
|
boolean |
isStrictFormatTelephoneNumbers()
Gets the "strict-format-telephone-numbers" property.
|
boolean |
isStripSyntaxMinUpperBoundAttributeTypeDescription()
Gets the "strip-syntax-min-upper-bound-attribute-type-description" property.
|
void |
setAllowAttributeTypesWithNoSupOrSyntax(Boolean value)
Sets the "allow-attribute-types-with-no-sup-or-syntax" 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 |
setJsonValidationPolicy(CoreSchemaCfgDefn.JsonValidationPolicy value)
Sets the "json-validation-policy" property.
|
void |
setStrictFormatCertificates(Boolean value)
Sets the "strict-format-certificates" property.
|
void |
setStrictFormatCountryString(Boolean value)
Sets the "strict-format-country-string" property.
|
void |
setStrictFormatJpegPhotos(Boolean value)
Sets the "strict-format-jpeg-photos" property.
|
void |
setStrictFormatTelephoneNumbers(Boolean value)
Sets the "strict-format-telephone-numbers" 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 isAllowAttributeTypesWithNoSupOrSyntax()
Indicates whether the schema should allow attribute type definitions that do not declare a superior attribute type or syntax
When set to true, invalid attribute type definitions will use the default syntax.
void setAllowAttributeTypesWithNoSupOrSyntax(Boolean value) throws PropertyException
Indicates whether the schema should allow attribute type definitions that do not declare a superior attribute type or syntax
When set to true, invalid attribute type definitions will use the default syntax.
value
- The value of the "allow-attribute-types-with-no-sup-or-syntax" property.PropertyException
- If the new value is invalid.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.CoreSchemaCfgDefn.JsonValidationPolicy getJsonValidationPolicy()
Specifies the policy that will be used when validating JSON syntax values.
void setJsonValidationPolicy(CoreSchemaCfgDefn.JsonValidationPolicy value) throws PropertyException
Specifies the policy that will be used when validating JSON syntax values.
value
- The value of the "json-validation-policy" property.PropertyException
- If the new value is invalid.boolean isStrictFormatCertificates()
Indicates whether X.509 Certificate values are required to strictly comply with the standard definition for this syntax.
When set to false, certificates will not be validated and, as a result any sequence of bytes will be acceptable.
void setStrictFormatCertificates(Boolean value) throws PropertyException
Indicates whether X.509 Certificate values are required to strictly comply with the standard definition for this syntax.
When set to false, certificates will not be validated and, as a result any sequence of bytes will be acceptable.
value
- The value of the "strict-format-certificates" 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 isStrictFormatJpegPhotos()
Indicates whether to require JPEG values to strictly comply with the standard definition for this syntax.
void setStrictFormatJpegPhotos(Boolean value) throws PropertyException
Indicates whether to require JPEG values to strictly comply with the standard definition for this syntax.
value
- The value of the "strict-format-jpeg-photos" property.PropertyException
- If the new value is invalid.boolean isStrictFormatTelephoneNumbers()
Indicates whether to require telephone number values to strictly comply with the standard definition for this syntax.
void setStrictFormatTelephoneNumbers(Boolean value) throws PropertyException
Indicates whether to require telephone number values to strictly comply with the standard definition for this syntax.
value
- The value of the "strict-format-telephone-numbers" 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-2020 ForgeRock AS.