public interface CoreSchemaCfg extends SchemaProviderCfg
Core Schema define the core schema elements to load.
Modifier and Type | Method and Description |
---|---|
void |
addCoreSchemaChangeListener(ConfigurationChangeListener<CoreSchemaCfg> listener)
Register to be notified when this Core Schema is changed.
|
Class<? extends CoreSchemaCfg> |
configurationClass()
Gets the configuration class 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 |
removeCoreSchemaChangeListener(ConfigurationChangeListener<CoreSchemaCfg> listener)
Deregister an existing Core Schema configuration change listener.
|
addChangeListener, isEnabled, removeChangeListener
dn
Class<? extends CoreSchemaCfg> configurationClass()
configurationClass
in interface Configuration
configurationClass
in interface SchemaProviderCfg
void addCoreSchemaChangeListener(ConfigurationChangeListener<CoreSchemaCfg> listener)
listener
- The Core Schema configuration change listener.void removeCoreSchemaChangeListener(ConfigurationChangeListener<CoreSchemaCfg> listener)
listener
- The Core Schema configuration change listener.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.
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.
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.
String getJavaClass()
Specifies the fully-qualified name of the Java class that provides the Core Schema implementation.
getJavaClass
in interface SchemaProviderCfg
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.
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.
Copyright 2010-2017 ForgeRock AS.