Uses of Class
org.apache.directory.api.ldap.model.exception.LdapException
-
-
Uses of LdapException in org.apache.directory.api.dsmlv2.request
Methods in org.apache.directory.api.dsmlv2.request that throw LdapException Modifier and Type Method Description void
AddRequestDsml. addAttributeType(String type)
Create a new attributeValuevoid
AddRequestDsml. addAttributeValue(byte[] value)
Add a new value to the current attributevoid
AddRequestDsml. addAttributeValue(Object value)
Add a new value to the current attributevoid
AddRequestDsml. addAttributeValue(String value)
Add a new value to the current attributevoid
AddRequestDsml. addAttributeValue(Value value)
Add a new value to the current attributevoid
ModifyRequestDsml. addAttributeValue(byte[] value)
Add a new value to the current attributevoid
ModifyRequestDsml. addAttributeValue(String value)
Add a new value to the current attributeSearchRequest
SearchRequestDsml. setFilter(String filter)
Sets the search filter associated with this search request. -
Uses of LdapException in org.apache.directory.api.dsmlv2.response
Methods in org.apache.directory.api.dsmlv2.response that throw LdapException Modifier and Type Method Description void
SearchResultEntryDsml. addAttribute(String type)
Create a new attributevoid
SearchResultEntryDsml. addAttributeValue(Object value)
Add a new value to the current attribute -
Uses of LdapException in org.apache.directory.api.ldap.model.cursor
Methods in org.apache.directory.api.ldap.model.cursor that throw LdapException Modifier and Type Method Description void
Cursor. after(E element)
Prepares this Cursor, so a subsequent call to Cursor#previous() with a true return value, will have positioned the Cursor on a dataSet element equal to or less than the element argument but not greater.void
EmptyCursor. after(E element)
Prepares this Cursor, so a subsequent call to Cursor#previous() with a true return value, will have positioned the Cursor on a dataSet element equal to or less than the element argument but not greater.void
ListCursor. after(E element)
Prepares this Cursor, so a subsequent call to Cursor#previous() with a true return value, will have positioned the Cursor on a dataSet element equal to or less than the element argument but not greater.void
SetCursor. after(E element)
Prepares this Cursor, so a subsequent call to Cursor#previous() with a true return value, will have positioned the Cursor on a dataSet element equal to or less than the element argument but not greater.void
SingletonCursor. after(E element)
Prepares this Cursor, so a subsequent call to Cursor#previous() with a true return value, will have positioned the Cursor on a dataSet element equal to or less than the element argument but not greater.void
Cursor. afterLast()
Positions this Cursor after the last element.void
EmptyCursor. afterLast()
Positions this Cursor after the last element.void
ListCursor. afterLast()
Positions this Cursor after the last element.void
SetCursor. afterLast()
Positions this Cursor after the last element.void
SingletonCursor. afterLast()
Positions this Cursor after the last element.void
Cursor. before(E element)
Prepares this Cursor, so a subsequent call to Cursor#next() with a true return value, will have positioned the Cursor on a dataSet element equal to or less than the element argument but not greater.void
EmptyCursor. before(E element)
Prepares this Cursor, so a subsequent call to Cursor#next() with a true return value, will have positioned the Cursor on a dataSet element equal to or less than the element argument but not greater.void
ListCursor. before(E element)
Prepares this Cursor, so a subsequent call to Cursor#next() with a true return value, will have positioned the Cursor on a dataSet element equal to or less than the element argument but not greater.void
SetCursor. before(E element)
Prepares this Cursor, so a subsequent call to Cursor#next() with a true return value, will have positioned the Cursor on a dataSet element equal to or less than the element argument but not greater.void
SingletonCursor. before(E element)
Prepares this Cursor, so a subsequent call to Cursor#next() with a true return value, will have positioned the Cursor on a dataSet element equal to or less than the element argument but not greater.void
Cursor. beforeFirst()
Positions this Cursor before the first element.void
EmptyCursor. beforeFirst()
Positions this Cursor before the first element.void
ListCursor. beforeFirst()
Positions this Cursor before the first element.void
SetCursor. beforeFirst()
Positions this Cursor before the first element.void
SingletonCursor. beforeFirst()
Positions this Cursor before the first element.boolean
Cursor. first()
Positions this Cursor at the first element.boolean
EmptyCursor. first()
Positions this Cursor at the first element.boolean
ListCursor. first()
Positions this Cursor at the first element.boolean
SetCursor. first()
Positions this Cursor at the first element.boolean
SingletonCursor. first()
Positions this Cursor at the first element.Entry
SearchCursor. getEntry()
IntermediateResponse
SearchCursor. getIntermediate()
Referral
SearchCursor. getReferral()
boolean
Cursor. last()
Positions this Cursor at the last element.boolean
EmptyCursor. last()
Positions this Cursor at the last element.boolean
ListCursor. last()
Positions this Cursor at the last element.boolean
SetCursor. last()
Positions this Cursor at the last element.boolean
SingletonCursor. last()
Positions this Cursor at the last element.boolean
Cursor. next()
Advances this Cursor to the next position.boolean
EmptyCursor. next()
Advances this Cursor to the next position.boolean
ListCursor. next()
Advances this Cursor to the next position.boolean
SetCursor. next()
Advances this Cursor to the next position.boolean
SingletonCursor. next()
Advances this Cursor to the next position.boolean
Cursor. previous()
Advances this Cursor to the previous position.boolean
EmptyCursor. previous()
Advances this Cursor to the previous position.boolean
ListCursor. previous()
Advances this Cursor to the previous position.boolean
SetCursor. previous()
Advances this Cursor to the previous position.boolean
SingletonCursor. previous()
Advances this Cursor to the previous position. -
Uses of LdapException in org.apache.directory.api.ldap.model.entry
Methods in org.apache.directory.api.ldap.model.entry that throw LdapException Modifier and Type Method Description Entry
DefaultEntry. add(String upId, byte[]... values)
Add some binary values to the current Entry.Entry
DefaultEntry. add(String upId, String... values)
Add some String values to the current Entry.Entry
DefaultEntry. add(String upId, Value... values)
Add some Values to the current Entry.Entry
DefaultEntry. add(String upId, AttributeType attributeType, byte[]... values)
Add an attribute (represented by its AttributeType and some binary values) into an entry.Entry
DefaultEntry. add(String upId, AttributeType attributeType, String... values)
Add an attribute (represented by its AttributeType and some String values) into an entry.Entry
DefaultEntry. add(String upId, AttributeType attributeType, Value... values)
Add an attribute (represented by its AttributeType and some values) into an entry.Entry
DefaultEntry. add(Attribute... attributes)
Add some Attributes to the current Entry.Entry
DefaultEntry. add(AttributeType attributeType, byte[]... values)
Add an attribute (represented by its AttributeType and some binary values) into an entry.Entry
DefaultEntry. add(AttributeType attributeType, String... values)
Add an attribute (represented by its AttributeType and some String values) into an entry.Entry
DefaultEntry. add(AttributeType attributeType, Value... values)
Add an attribute (represented by its AttributeType and some values) into an entry.Entry
Entry. add(String upId, byte[]... values)
Add some binary values to the current Entry.Entry
Entry. add(String upId, String... values)
Add some String values to the current Entry.Entry
Entry. add(String upId, Value... values)
Add some Values to the current Entry.Entry
Entry. add(String upId, AttributeType attributeType, byte[]... values)
Add an attribute (represented by its AttributeType and some binary values) into an entry.Entry
Entry. add(String upId, AttributeType attributeType, String... values)
Add an attribute (represented by its AttributeType and some String values) into an entry.Entry
Entry. add(String upId, AttributeType attributeType, Value... values)
Add an attribute (represented by its AttributeType and some values) into an entry.Entry
Entry. add(Attribute... attributes)
Add some Attributes to the current Entry.Entry
Entry. add(AttributeType attributeType, byte[]... values)
Add an attribute (represented by its AttributeType and some binary values) into an entry.Entry
Entry. add(AttributeType attributeType, String... values)
Add an attribute (represented by its AttributeType and some String values) into an entry.Entry
Entry. add(AttributeType attributeType, Value... values)
Add an attribute (represented by its AttributeType and some values) into an entry.Entry
ImmutableEntry. add(String upId, byte[]... values)
Add some binary values to the current Entry.Entry
ImmutableEntry. add(String upId, String... values)
Add some String values to the current Entry.Entry
ImmutableEntry. add(String upId, Value... values)
Add some Values to the current Entry.Entry
ImmutableEntry. add(String upId, AttributeType attributeType, byte[]... values)
Add an attribute (represented by its AttributeType and some binary values) into an entry.Entry
ImmutableEntry. add(String upId, AttributeType attributeType, String... values)
Add an attribute (represented by its AttributeType and some String values) into an entry.Entry
ImmutableEntry. add(String upId, AttributeType attributeType, Value... values)
Add an attribute (represented by its AttributeType and some values) into an entry.Entry
ImmutableEntry. add(Attribute... attributes)
Add some Attributes to the current Entry.Entry
ImmutableEntry. add(AttributeType attributeType, byte[]... values)
Add an attribute (represented by its AttributeType and some binary values) into an entry.Entry
ImmutableEntry. add(AttributeType attributeType, String... values)
Add an attribute (represented by its AttributeType and some String values) into an entry.Entry
ImmutableEntry. add(AttributeType attributeType, Value... values)
Add an attribute (represented by its AttributeType and some values) into an entry.static void
AttributeUtils. applyModification(Entry entry, Modification modification)
A method to apply a modification to an existing entry.Attribute
DefaultEntry. put(String upId, AttributeType attributeType, byte[]... values)
Places a new attribute with the supplied AttributeType and some binary values into the attribute collection.Attribute
DefaultEntry. put(String upId, AttributeType attributeType, String... values)
Places a new attribute with the supplied AttributeType and some String values into the attribute collection.Attribute
DefaultEntry. put(String upId, AttributeType attributeType, Value... values)
Places a new attribute with the supplied AttributeType and some values into the attribute collection.List<Attribute>
DefaultEntry. put(Attribute... attributes)
Places attributes in the attribute collection.Attribute
DefaultEntry. put(AttributeType attributeType, byte[]... values)
Places a new attribute with the supplied AttributeType and binary values into the attribute collection.Attribute
DefaultEntry. put(AttributeType attributeType, String... values)
Places a new attribute with the supplied AttributeType and String values into the attribute collection.Attribute
DefaultEntry. put(AttributeType attributeType, Value... values)
Places a new attribute with the supplied AttributeType and some values into the attribute collection.Attribute
Entry. put(String upId, AttributeType attributeType, byte[]... values)
Places a new attribute with the supplied AttributeType and some binary values into the attribute collection.Attribute
Entry. put(String upId, AttributeType attributeType, String... values)
Places a new attribute with the supplied AttributeType and some String values into the attribute collection.Attribute
Entry. put(String upId, AttributeType attributeType, Value... values)
Places a new attribute with the supplied AttributeType and some values into the attribute collection.List<Attribute>
Entry. put(Attribute... attributes)
Places attributes in the attribute collection.Attribute
Entry. put(AttributeType attributeType, byte[]... values)
Places a new attribute with the supplied AttributeType and binary values into the attribute collection.Attribute
Entry. put(AttributeType attributeType, String... values)
Places a new attribute with the supplied AttributeType and String values into the attribute collection.Attribute
Entry. put(AttributeType attributeType, Value... values)
Places a new attribute with the supplied AttributeType and some values into the attribute collection.Attribute
ImmutableEntry. put(String upId, AttributeType attributeType, byte[]... values)
Places a new attribute with the supplied AttributeType and some binary values into the attribute collection.Attribute
ImmutableEntry. put(String upId, AttributeType attributeType, String... values)
Places a new attribute with the supplied AttributeType and some String values into the attribute collection.Attribute
ImmutableEntry. put(String upId, AttributeType attributeType, Value... values)
Places a new attribute with the supplied AttributeType and some values into the attribute collection.List<Attribute>
ImmutableEntry. put(Attribute... attributes)
Places attributes in the attribute collection.Attribute
ImmutableEntry. put(AttributeType attributeType, byte[]... values)
Places a new attribute with the supplied AttributeType and binary values into the attribute collection.Attribute
ImmutableEntry. put(AttributeType attributeType, String... values)
Places a new attribute with the supplied AttributeType and String values into the attribute collection.Attribute
ImmutableEntry. put(AttributeType attributeType, Value... values)
Places a new attribute with the supplied AttributeType and some values into the attribute collection.boolean
DefaultEntry. remove(String upId, byte[]... values)
Removes the specified binary values from an attribute.boolean
DefaultEntry. remove(String upId, String... values)
Removes the specified String values from an attribute.boolean
DefaultEntry. remove(String upId, Value... values)
Removes the specified values from an attribute.List<Attribute>
DefaultEntry. remove(Attribute... attributes)
Removes the specified attributes.boolean
DefaultEntry. remove(AttributeType attributeType, byte[]... values)
Removes the specified binary values from an attribute.boolean
DefaultEntry. remove(AttributeType attributeType, String... values)
Removes the specified String values from an attribute.boolean
DefaultEntry. remove(AttributeType attributeType, Value... values)
Removes the specified values from an attribute.boolean
Entry. remove(String upId, byte[]... values)
Removes the specified binary values from an attribute.boolean
Entry. remove(String upId, String... values)
Removes the specified String values from an attribute.boolean
Entry. remove(String upId, Value... values)
Removes the specified values from an attribute.List<Attribute>
Entry. remove(Attribute... attributes)
Removes the specified attributes.boolean
Entry. remove(AttributeType attributeType, byte[]... values)
Removes the specified binary values from an attribute.boolean
Entry. remove(AttributeType attributeType, String... values)
Removes the specified String values from an attribute.boolean
Entry. remove(AttributeType attributeType, Value... values)
Removes the specified values from an attribute.boolean
ImmutableEntry. remove(String upId, byte[]... values)
Removes the specified binary values from an attribute.boolean
ImmutableEntry. remove(String upId, String... values)
Removes the specified String values from an attribute.boolean
ImmutableEntry. remove(String upId, Value... values)
Removes the specified values from an attribute.List<Attribute>
ImmutableEntry. remove(Attribute... attributes)
Removes the specified attributes.boolean
ImmutableEntry. remove(AttributeType attributeType, byte[]... values)
Removes the specified binary values from an attribute.boolean
ImmutableEntry. remove(AttributeType attributeType, String... values)
Removes the specified String values from an attribute.boolean
ImmutableEntry. remove(AttributeType attributeType, Value... values)
Removes the specified values from an attribute.static Entry
AttributeUtils. toEntry(Attributes attributes, Dn dn)
Convert a BasicAttributes or a AttributesImpl to an EntryConstructors in org.apache.directory.api.ldap.model.entry that throw LdapException Constructor Description DefaultAttribute(AttributeType attributeType, Attribute attribute)
Creates a new instance of schema aware Attribute, by copying another attribute.DefaultEntry(String dn, Object... elements)
Creates a new instance of DefaultEntry, with a Dn and a list of IDs.DefaultEntry(Dn dn, Object... elements)
Creates a new instance of DefaultEntry, with a Dn and a list of IDs.DefaultEntry(SchemaManager schemaManager, String dn, Object... elements)
Creates a new instance of DefaultEntry, with a Dn and a list of IDs.DefaultEntry(SchemaManager schemaManager, Entry entry)
Creates a new instance of DefaultEntry, copying another entry.DefaultEntry(SchemaManager schemaManager, Dn dn, Object... elements)
Creates a new instance of DefaultEntry, with a Dn and a list of IDs. -
Uses of LdapException in org.apache.directory.api.ldap.model.exception
Subclasses of LdapException in org.apache.directory.api.ldap.model.exception Modifier and Type Class Description class
AbstractLdapReferralException
ALdapOperationException
which associates a resultCode namely theResultCodeEnum.REFERRAL
resultCode with the exception.class
LdapAdminLimitExceededException
A LdapTimeLimitExceededException which associates a resultCode namely theResultCodeEnum.ADMIN_LIMIT_EXCEEDED
resultCode with the exception.class
LdapAffectMultipleDsaException
A subclass ofLdapOperationException
which associates theResultCodeEnum.AFFECTS_MULTIPLE_DSAS
value with the type.class
LdapAliasDereferencingException
A subclass ofLdapOperationException
which associates theResultCodeEnum.ALIAS_DEREFERENCING_PROBLEM
value with the type.class
LdapAliasException
A subclass ofLdapOperationException
which associates theResultCodeEnum.ALIAS_PROBLEM
value with the type.class
LdapAttributeInUseException
A subclass ofLdapOperationException
which holds the LDAP resultCode associated with the exception.class
LdapAuthenticationException
A subclass ofLdapOperationException
which associates theResultCodeEnum.INVALID_CREDENTIALS
value with the type.class
LdapAuthenticationNotSupportedException
A subclass of theLdapOperationException
carrying along an unequivocal ResultCodeEnum value.class
LdapCannotCancelException
A LdapCannotCancelException which associates a resultCode, namely theResultCodeEnum.CANNOT_CANCEL
resultCode with the exception.class
LdapConfigurationException
ALdapException
which associates a resultCode namely theResultCodeEnum.OTHER
resultCode with the exception.class
LdapContextNotEmptyException
A LdapContextNotEmptyException which contains an LDAP result code.class
LdapEntryAlreadyExistsException
ALdapOperationException
which contains LDAP specific information such as a result code.class
LdapInvalidAttributeTypeException
A subclass ofLdapOperationException
which holds the LDAP resultCode associated with the exception.class
LdapInvalidAttributeValueException
Makes aLdapOperationException
unambiguous with respect to the result code it corresponds to by associating an LDAP specific result code with it.class
LdapInvalidDnException
A subclass ofLdapOperationException
designed to hold an unequivocal LDAP result code.class
LdapInvalidSearchFilterException
A subclass ofLdapOperationException
which associates theResultCodeEnum.INAPPROPRIATE_MATCHING
value with the type.class
LdapLoopDetectedException
A subclass ofLdapOperationException
which associates theResultCodeEnum.LOOP_DETECT
value with the type.class
LdapNoPermissionException
ALdapOperationException
which associates a resultCode namely theResultCodeEnum.INSUFFICIENT_ACCESS_RIGHTS
resultCode with the exception.class
LdapNoSuchAttributeException
A subclass ofLdapOperationException
which holds the LDAP resultCode associated with the exception.class
LdapNoSuchObjectException
ALdapOperationException
holding LDAP specific information such as the LDAP ResultCode.class
LdapNoSuchOperationException
A LdapNoSuchOperationException which associates a resultCode, namely theResultCodeEnum.NO_SUCH_OPERATION
resultCode with the exception.class
LdapOperationErrorException
A subclass ofLdapOperationException
which associates theResultCodeEnum.OPERATIONS_ERROR
value with the type.class
LdapOperationException
An class for LDAP operation exceptions which add LDAP specific information to Exceptions.class
LdapOtherException
A subclass ofLdapOperationException
which associates theResultCodeEnum.OTHER
value with the type.class
LdapPartialResultException
ALdapOperationException
which associates a resultCode namely theResultCodeEnum.REFERRAL
resultCode with the exception.class
LdapProtocolErrorException
A subclass ofLdapOperationException
which associates theResultCodeEnum.PROTOCOL_ERROR
value with the type.class
LdapReferralException
ALdapOperationException
which associates a resultCode namely theResultCodeEnum.REFERRAL
resultCode with the exception.class
LdapSchemaException
A subclass ofLdapException
which is used to report issues during the integrity check of the schema by the SchemaManager.class
LdapSchemaViolationException
Makes aLdapOperationException
unambiguous with respect to the result code it corresponds to by associating an LDAP specific result code with it.class
LdapServiceUnavailableException
LDAP specificLdapOperationException
that preserves resultCode resolution.class
LdapSizeLimitExceededException
A LdapSizeLimitExceededException which associates a resultCode namely theResultCodeEnum.SIZE_LIMIT_EXCEEDED
resultCode with the exception.class
LdapStrongAuthenticationRequiredException
A subclass ofLdapOperationException
which associates theResultCodeEnum.STRONG_AUTH_REQUIRED
value with the type.class
LdapTimeLimitExceededException
A LdapTimeLimitExceededException which associates a resultCode namely theResultCodeEnum.TIME_LIMIT_EXCEEDED
resultCode with the exception.class
LdapTlsHandshakeException
A LdapTlsException is thrown if the SSL/TLS handshake failed.class
LdapTooLateException
A LdapTooLateException which associates a resultCode namely theResultCodeEnum.TOO_LATE
resultCode with the exception.class
LdapUnknownException
A LdapUnknownException which associates a resultCode, namely theResultCodeEnum.UNKNOWN
resultCode with the exception.class
LdapUnwillingToPerformException
An LDAPException that extends theLdapOperationException
carrying with it the corresponding result codes for this condition.class
LdapUriException
The URI parsing and escape encoding exception.class
LdapURLEncodingException
Thrown when a LdapStringEncodingDecoder has encountered a failure condition during the String creation.class
OperationAbandonedException
Marker exception thrown when an operation is cancelled.class
UrlDecoderException
Thrown when a Decoder has encountered a failure condition during a decode. -
Uses of LdapException in org.apache.directory.api.ldap.model.filter
Methods in org.apache.directory.api.ldap.model.filter that throw LdapException Modifier and Type Method Description Pattern
SubstringNode. getRegex(Normalizer normalizer)
Gets the compiled regular expression for the substring expression. -
Uses of LdapException in org.apache.directory.api.ldap.model.ldif
Subclasses of LdapException in org.apache.directory.api.ldap.model.ldif Modifier and Type Class Description class
LdapLdifException
An exception throws when we get an error while parsing a LDIF file.Methods in org.apache.directory.api.ldap.model.ldif that throw LdapException Modifier and Type Method Description void
LdifEntry. addAttribute(String id, Object... values)
Add an attribute to the entryvoid
LdifEntry. addAttribute(Attribute attr)
Add an attribute to the entrystatic String
LdifUtils. convertToLdif(Attributes attrs)
Convert an Attributes as LDIFstatic String
LdifUtils. convertToLdif(Attributes attrs, int length)
Convert an Attributes as LDIFstatic String
LdifUtils. convertToLdif(Attributes attrs, Dn dn)
Convert an Attributes as LDIF.static String
LdifUtils. convertToLdif(Attributes attrs, Dn dn, int length)
Convert an Attributes as LDIF.static String
LdifUtils. convertToLdif(LdifEntry entry)
Convert an LdifEntry to LDIFstatic String
LdifUtils. convertToLdif(LdifEntry entry, int length)
Convert an LdifEntry to LDIFstatic Attributes
LdifUtils. createJndiAttributes(Object... avas)
Build a new Attributes instance from a LDIF list of lines.void
LdifReader. init()
Initialize the LdifReadervoid
LdifReader. parseAttributeValue(LdifEntry entry, String line, String lowerLine)
Parse an AttributeType/AttributeValueList<LdifEntry>
LdifReader. parseLdif(BufferedReader reader)
The main entry point of the LdifParser.void
LdifEntry. putAttribute(String id, Object value)
Add an attribute value to an existing attributestatic LdifEntry
LdifRevertor. reverseDel(Dn dn, Entry deletedEntry)
Compute a reverse LDIF of a DeleteRequest.static LdifEntry
LdifRevertor. reverseModify(Dn dn, List<Modification> forwardModifications, Entry modifiedEntry)
Compute the reversed LDIF for a modify request.static LdifEntry
LdifRevertor. reverseMove(Dn newSuperiorDn, Dn modifiedDn)
Compute a reverse LDIF for a forward change which if in LDIF format would represent a Move operation.Constructors in org.apache.directory.api.ldap.model.ldif that throw LdapException Constructor Description LdifReader(InputStream in)
A constructor which takes an InputStream.LdifReader(Reader in)
A constructor which takes a Reader. -
Uses of LdapException in org.apache.directory.api.ldap.model.message
Methods in org.apache.directory.api.ldap.model.message that throw LdapException Modifier and Type Method Description void
AddRequestImpl. addAttributeType(String type)
Create a new attributeValuevoid
AddRequestImpl. addAttributeValue(byte[] value)
Add a new value to the current attributevoid
AddRequestImpl. addAttributeValue(String value)
Add a new value to the current attributevoid
AddRequestImpl. addAttributeValue(Value value)
Add a new value to the current attributestatic boolean
ResultCodeEnum. processResponse(ResultResponse response)
Process the response, throwing the associated exception if needed.SearchRequest
SearchRequest. setFilter(String filter)
Sets the search filter associated with this search request.SearchRequest
SearchRequestImpl. setFilter(String filter)
Sets the search filter associated with this search request. -
Uses of LdapException in org.apache.directory.api.ldap.model.name
Subclasses of LdapException in org.apache.directory.api.ldap.model.name Modifier and Type Class Description class
TooComplexDnException
This exception is used to signal that the complex parser should be used. -
Uses of LdapException in org.apache.directory.api.ldap.model.schema
Methods in org.apache.directory.api.ldap.model.schema that throw LdapException Modifier and Type Method Description boolean
SchemaManager. add(SchemaObject schemaObject)
Registers a new SchemaObject.Entry
AttributesFactory. convert(AttributeType attributeType, Schema schema, SchemaManager schemaManager)
objectclass ( 1.3.6.1.4.1.18060.0.4.0.3.3 NAME 'metaAttributeType' DESC 'meta definition of the AttributeType object' SUP metaTop STRUCTURAL MUST ( m-name $ m-syntax ) MAY ( m-supAttributeType $ m-obsolete $ m-equality $ m-ordering $ m-substr $ m-singleValue $ m-collective $ m-noUserModification $ m-usage $ m-extensionAttributeType ) )Entry
AttributesFactory. convert(LdapSyntax syntax, Schema schema, SchemaManager schemaManager)
Convert a Syntax instance into an EntryEntry
AttributesFactory. convert(MatchingRule matchingRule, Schema schema, SchemaManager schemaManager)
Converts a MatchingRule into an EntryEntry
AttributesFactory. convert(ObjectClass objectClass, Schema schema, SchemaManager schemaManager)
Creates the attributes of an entry representing an objectClass.Entry
AttributesFactory. convert(Schema schema, SchemaManager schemaManager)
Converts a Schema to an Entryboolean
SchemaManager. delete(SchemaObject schemaObject)
Unregisters a new SchemaObject.boolean
SchemaManager. disable(String... schemas)
Disables a set of Schemas, and returns true if all the schema have been disabled, with all the dependent schemas, and if the registries is still consistent.boolean
SchemaManager. disable(Schema... schemas)
Disables a set of Schemas, and returns true if all the schema have been disabled, with all the dependent schemas, and if the registries is still consistent.boolean
SchemaManager. enable(String... schemas)
Enables a set of Schemas, and returns true if all the schema have been enabled, with all the dependent schemas, and if the registries is still consistent.boolean
SchemaManager. enable(Schema... schemas)
Enables a set of Schemas, and returns true if all the schema have been enabled, with all the dependent schemas, and if the registries is still consistent.Entry
AttributesFactory. getAttributes(SchemaObject obj, Schema schema, SchemaManager schemaManager)
Get a SchemaObject as an Entrystatic Entry
SchemaUtils. getTargetEntry(List<? extends Modification> mods, Entry entry)
Gets the target entry as it would look after a modification operation were performed on it.void
SchemaManager. initialize()
Initializes the SchemaServiceboolean
SchemaManager. load(String... schemas)
Load some Schemas into the registries.boolean
SchemaManager. load(Schema... schemas)
Load some Schemas into the registries.boolean
SchemaManager. loadAllEnabled()
Load all the enabled schema into the Registries.boolean
SchemaManager. loadAllEnabledRelaxed()
Load all the enabled schema into the Registries.boolean
SchemaManager. loadDisabled(String... schemas)
Load Schemas into the Registries, even if they are disabled.boolean
SchemaManager. loadDisabled(Schema... schemas)
Load Schemas into the Registries, even if they are disabled.boolean
SchemaManager. loadRelaxed(String... schemas)
Load Schemas into the registries, even if there are some errors in the schemas.boolean
SchemaManager. loadRelaxed(Schema... schemas)
Load Schemas into the registries, even if there are some errors in the schemas.boolean
SchemaManager. loadWithDeps(String... schemas)
Load some Schemas into the registries, and loads all of the schemas they depend on.boolean
SchemaManager. loadWithDeps(Schema... schemas)
Load some Schemas into the registries, and loads all of the schemas they depend on.boolean
SchemaManager. loadWithDepsRelaxed(String... schemas)
Load some Schemas into the registries, and loads all of the schemas they depend on.boolean
SchemaManager. loadWithDepsRelaxed(Schema... schemas)
Load some Schemas into the registries, and loads all of the schemas they depend on.AttributeType
SchemaManager. lookupAttributeTypeRegistry(String oid)
Lookup for an AttributeType in the AttributeType registryLdapComparator<?>
SchemaManager. lookupComparatorRegistry(String oid)
Lookup for a Comparator in the Comparator registryLdapSyntax
SchemaManager. lookupLdapSyntaxRegistry(String oid)
Lookup for an LdapSyntax in the LdapSyntax registryMatchingRule
SchemaManager. lookupMatchingRuleRegistry(String oid)
Lookup for a MatchingRule in the MatchingRule registryNormalizer
SchemaManager. lookupNormalizerRegistry(String oid)
Lookup for a Normalizer in the Normalizer registryObjectClass
SchemaManager. lookupObjectClassRegistry(String oid)
Lookup for a ObjectClass in the ObjectClass registrySyntaxChecker
SchemaManager. lookupSyntaxCheckerRegistry(String oid)
Lookup for a SyntaxChecker in the SyntaxChecker registryabstract String
Normalizer. normalize(String value)
Gets the normalized value of AssertionValues.abstract String
Normalizer. normalize(String value, PrepareString.AssertionType assertionType)
Gets the normalized value of a substring assertion.String
PreparedNormalizer. normalize(String value, PrepareString.AssertionType assertionType)
Gets the normalized value.boolean
SchemaManager. unload(String... schemas)
Unload the given set of Schemasboolean
SchemaManager. unload(Schema... schemas)
Unload the given set of SchemasSchemaObject
SchemaManager. unregisterAttributeType(String attributeTypeOid)
Removes the registered attributeType from the attributeTypeRegistrySchemaObject
SchemaManager. unregisterComparator(String comparatorOid)
Removes the registered Comparator from the ComparatorRegistrySchemaObject
SchemaManager. unregisterDitControlRule(String ditControlRuleOid)
Removes the registered DitControlRule from the DitControlRuleRegistrySchemaObject
SchemaManager. unregisterDitStructureRule(String ditStructureRuleOid)
Removes the registered DitStructureRule from the DitStructureRuleRegistrySchemaObject
SchemaManager. unregisterLdapSyntax(String ldapSyntaxOid)
Removes the registered LdapSyntax from the LdapSyntaxRegistrySchemaObject
SchemaManager. unregisterMatchingRule(String matchingRuleOid)
Removes the registered MatchingRule from the MatchingRuleRegistrySchemaObject
SchemaManager. unregisterMatchingRuleUse(String matchingRuleUseOid)
Removes the registered MatchingRuleUse from the MatchingRuleUseRegistrySchemaObject
SchemaManager. unregisterNameForm(String nameFormOid)
Removes the registered NameForm from the NameFormRegistrySchemaObject
SchemaManager. unregisterNormalizer(String normalizerOid)
Removes the registered Normalizer from the NormalizerRegistrySchemaObject
SchemaManager. unregisterObjectClass(String objectClassOid)
Removes the registered ObjectClass from the ObjectClassRegistrySchemaObject
SchemaManager. unregisterSyntaxChecker(String syntaxCheckerOid)
Removes the registered SyntaxChecker from the SyntaxCheckerRegistryboolean
SchemaManager. verify(String... schemas)
Check that the Schemas are consistent regarding the current Registries.boolean
SchemaManager. verify(Schema... schemas)
Check that the Schemas are consistent regarding the current Registries. -
Uses of LdapException in org.apache.directory.api.ldap.model.schema.normalizers
Methods in org.apache.directory.api.ldap.model.schema.normalizers that throw LdapException Modifier and Type Method Description String
DeepTrimNormalizer. normalize(String value)
Gets the normalized value of AssertionValues.String
DeepTrimNormalizer. normalize(String value, PrepareString.AssertionType assertionType)
Gets the normalized value of a substring assertion.String
DeepTrimToLowerNormalizer. normalize(String value)
Gets the normalized value of AssertionValues.String
DeepTrimToLowerNormalizer. normalize(String value, PrepareString.AssertionType assertionType)
Gets the normalized value of a substring assertion.String
DnNormalizer. normalize(String value)
Gets the normalized value of AssertionValues.String
DnNormalizer. normalize(String value, PrepareString.AssertionType assertionType)
Gets the normalized value of a substring assertion.String
DnNormalizer. normalize(Dn value)
Normalize a DnString
GeneralizedTimeNormalizer. normalize(String value)
Gets the normalized value of AssertionValues.String
GeneralizedTimeNormalizer. normalize(String value, PrepareString.AssertionType assertionType)
Gets the normalized value of a substring assertion.String
NameOrNumericIdNormalizer. normalize(String value)
Gets the normalized value of AssertionValues.String
NameOrNumericIdNormalizer. normalize(String value, PrepareString.AssertionType assertionType)
Gets the normalized value of a substring assertion.String
NumericNormalizer. normalize(String value)
Gets the normalized value of AssertionValues.String
NumericNormalizer. normalize(String value, PrepareString.AssertionType assertionType)
Gets the normalized value of a substring assertion.Value
NumericNormalizer. normalize(Value value)
Normalize a ValueString
ObjectIdentifierNormalizer. normalize(String value)
Gets the normalized value of AssertionValues.String
ObjectIdentifierNormalizer. normalize(String value, PrepareString.AssertionType assertionType)
Gets the normalized value of a substring assertion.String
TelephoneNumberNormalizer. normalize(String value)
Gets the normalized value of AssertionValues.String
TelephoneNumberNormalizer. normalize(String value, PrepareString.AssertionType assertiontype)
Gets the normalized value of a substring assertion.String
UniqueMemberNormalizer. normalize(String value)
Gets the normalized value of AssertionValues.String
UniqueMemberNormalizer. normalize(String value, PrepareString.AssertionType assertionType)
Gets the normalized value of a substring assertion.Object
ConcreteNameComponentNormalizer. normalizeByName(String name, byte[] value)
Normalizes an attribute's value given the name of the attribute - short names like 'cn' as well as 'commonName' should work here.Object
ConcreteNameComponentNormalizer. normalizeByName(String name, String value)
Normalizes an attribute's value given the name of the attribute - short names like 'cn' as well as 'commonName' should work here.Object
ConcreteNameComponentNormalizer. normalizeByName(AttributeType attributeType, String value)
Normalizes an attribute's value given the name of the attribute - short names like 'cn' as well as 'commonName' should work here.Object
NameComponentNormalizer. normalizeByName(String attributeName, byte[] value)
Normalizes an attribute's value given the name of the attribute - short names like 'cn' as well as 'commonName' should work here.Object
NameComponentNormalizer. normalizeByName(String attributeName, String value)
Normalizes an attribute's value given the name of the attribute - short names like 'cn' as well as 'commonName' should work here.Object
NameComponentNormalizer. normalizeByName(AttributeType attributeType, String value)
Normalizes an attribute's value given the name of the attribute - short names like 'cn' as well as 'commonName' should work here.Object
ConcreteNameComponentNormalizer. normalizeByOid(String oid, byte[] value)
Normalizes an attribute's value given the OID of the attribute.Object
ConcreteNameComponentNormalizer. normalizeByOid(String oid, String value)
Normalizes an attribute's value given the OID of the attribute.Object
NameComponentNormalizer. normalizeByOid(String attributeOid, byte[] value)
Normalizes an attribute's value given the OID of the attribute.Object
NameComponentNormalizer. normalizeByOid(String attributeOid, String value)
Normalizes an attribute's value given the OID of the attribute.String
ConcreteNameComponentNormalizer. normalizeName(String attributeName)
Normalizes the attribute name/alias to use the OID for it instead.String
NameComponentNormalizer. normalizeName(String attributeName)
Normalizes the attribute name/alias to use the OID for it instead. -
Uses of LdapException in org.apache.directory.api.ldap.model.schema.registries
Methods in org.apache.directory.api.ldap.model.schema.registries that throw LdapException Modifier and Type Method Description void
Registries. add(SchemaObject schemaObject, boolean check)
Applies the added SchemaObject to the given registervoid
AttributeTypeRegistry. addMappingFor(AttributeType attributeType)
Add a new Oid/Normalizer couple in the OidNormalizer mapvoid
DefaultAttributeTypeRegistry. addMappingFor(AttributeType attributeType)
Add a new Oid/Normalizer couple in the OidNormalizer mapvoid
ImmutableAttributeTypeRegistry. addMappingFor(AttributeType attributeType)
Add a new Oid/Normalizer couple in the OidNormalizer mapvoid
ImmutableAttributeTypeRegistry. clear()
Clear the registry from all its contentvoid
ImmutableComparatorRegistry. clear()
Clear the registry from all its contentvoid
ImmutableDitContentRuleRegistry. clear()
Clear the registry from all its contentvoid
ImmutableDitStructureRuleRegistry. clear()
Clear the registry from all its contentvoid
ImmutableLdapSyntaxRegistry. clear()
Clear the registry from all its contentvoid
ImmutableMatchingRuleRegistry. clear()
Clear the registry from all its contentvoid
ImmutableMatchingRuleUseRegistry. clear()
Clear the registry from all its contentvoid
ImmutableNameFormRegistry. clear()
Clear the registry from all its contentvoid
ImmutableNormalizerRegistry. clear()
Clear the registry from all its contentvoid
ImmutableObjectClassRegistry. clear()
Clear the registry from all its contentvoid
ImmutableSyntaxCheckerRegistry. clear()
Clear the registry from all its contentvoid
Registries. clear()
Clear the registries from all its elementsvoid
SchemaObjectRegistry. clear()
Clear the registry from all its contentvoid
Registries. delete(SchemaObject schemaObject)
Remove the given SchemaObject from the registriesIterator<AttributeType>
AttributeTypeRegistry. descendants(String ancestorId)
Get's an iterator over the set of descendant attributeTypes for some ancestor's name alias or their OID.Iterator<AttributeType>
AttributeTypeRegistry. descendants(AttributeType ancestor)
Get's an iterator over the set of descendant attributeTypes for some ancestor's name alias or their OID.Iterator<AttributeType>
DefaultAttributeTypeRegistry. descendants(String ancestorId)
Get's an iterator over the set of descendant attributeTypes for some ancestor's name alias or their OID.Iterator<AttributeType>
DefaultAttributeTypeRegistry. descendants(AttributeType ancestor)
Get's an iterator over the set of descendant attributeTypes for some ancestor's name alias or their OID.Iterator<ObjectClass>
DefaultObjectClassRegistry. descendants(String ancestorId)
Get's an iterator over the set of descendant ObjectClasses for some ancestor's name alias or their OID.Iterator<AttributeType>
ImmutableAttributeTypeRegistry. descendants(String ancestorId)
Get's an iterator over the set of descendant attributeTypes for some ancestor's name alias or their OID.Iterator<AttributeType>
ImmutableAttributeTypeRegistry. descendants(AttributeType ancestor)
Get's an iterator over the set of descendant attributeTypes for some ancestor's name alias or their OID.Iterator<ObjectClass>
ImmutableObjectClassRegistry. descendants(String ancestorId)
Get's an iterator over the set of descendant ObjectClasses for some ancestor's name alias or their OID.Iterator<ObjectClass>
ObjectClassRegistry. descendants(String ancestorId)
Get's an iterator over the set of descendant ObjectClasses for some ancestor's name alias or their OID.void
Registries. dissociateFromSchema(SchemaObject schemaObject)
Store the given SchemaObject in the Map associating SchemaObjetcs to their related Schema.List<String>
OidRegistry. getNameSet(String oid)
Gets the names associated with an OID.String
DefaultSchemaObjectRegistry. getOidByName(String name)
Gets the numericOid for a name/alias if one is associated.String
ImmutableAttributeTypeRegistry. getOidByName(String name)
Gets the numericOid for a name/alias if one is associated.String
ImmutableComparatorRegistry. getOidByName(String name)
Gets the numericOid for a name/alias if one is associated.String
ImmutableDitContentRuleRegistry. getOidByName(String name)
Gets the numericOid for a name/alias if one is associated.String
ImmutableDitStructureRuleRegistry. getOidByName(String name)
Gets the numericOid for a name/alias if one is associated.String
ImmutableLdapSyntaxRegistry. getOidByName(String name)
Gets the numericOid for a name/alias if one is associated.String
ImmutableMatchingRuleRegistry. getOidByName(String name)
Gets the numericOid for a name/alias if one is associated.String
ImmutableMatchingRuleUseRegistry. getOidByName(String name)
Gets the numericOid for a name/alias if one is associated.String
ImmutableNameFormRegistry. getOidByName(String name)
Gets the numericOid for a name/alias if one is associated.String
ImmutableNormalizerRegistry. getOidByName(String name)
Gets the numericOid for a name/alias if one is associated.String
ImmutableObjectClassRegistry. getOidByName(String name)
Gets the numericOid for a name/alias if one is associated.String
ImmutableSyntaxCheckerRegistry. getOidByName(String name)
Gets the numericOid for a name/alias if one is associated.String
SchemaObjectRegistry. getOidByName(String name)
Gets the numericOid for a name/alias if one is associated.String
OidRegistry. getPrimaryName(String oid)
Gets the primary name associated with an OID.String
DefaultDitStructureRuleRegistry. getSchemaName(int ruleId)
Gets the name of the schema this schema object is associated with.String
DefaultSchemaObjectRegistry. getSchemaName(String oid)
Gets the name of the schema this schema object is associated with.String
DitStructureRuleRegistry. getSchemaName(int ruleId)
Gets the name of the schema this schema object is associated with.String
ImmutableAttributeTypeRegistry. getSchemaName(String oid)
Gets the name of the schema this schema object is associated with.String
ImmutableComparatorRegistry. getSchemaName(String oid)
Gets the name of the schema this schema object is associated with.String
ImmutableDitContentRuleRegistry. getSchemaName(String oid)
Gets the name of the schema this schema object is associated with.String
ImmutableDitStructureRuleRegistry. getSchemaName(int ruleId)
Gets the name of the schema this schema object is associated with.String
ImmutableDitStructureRuleRegistry. getSchemaName(String oid)
Gets the name of the schema this schema object is associated with.String
ImmutableLdapSyntaxRegistry. getSchemaName(String oid)
Gets the name of the schema this schema object is associated with.String
ImmutableMatchingRuleRegistry. getSchemaName(String oid)
Gets the name of the schema this schema object is associated with.String
ImmutableMatchingRuleUseRegistry. getSchemaName(String oid)
Gets the name of the schema this schema object is associated with.String
ImmutableNameFormRegistry. getSchemaName(String oid)
Gets the name of the schema this schema object is associated with.String
ImmutableNormalizerRegistry. getSchemaName(String oid)
Gets the name of the schema this schema object is associated with.String
ImmutableObjectClassRegistry. getSchemaName(String oid)
Gets the name of the schema this schema object is associated with.String
ImmutableSyntaxCheckerRegistry. getSchemaName(String oid)
Gets the name of the schema this schema object is associated with.String
SchemaObjectRegistry. getSchemaName(String oid)
Gets the name of the schema this schema object is associated with.T
OidRegistry. getSchemaObject(String oid)
Gets the SchemaObject associated with an OID.boolean
AttributeTypeRegistry. hasDescendants(String ancestorId)
Quick lookup to see if an attribute has descendants.boolean
AttributeTypeRegistry. hasDescendants(AttributeType ancestor)
Quick lookup to see if an attribute has descendants.boolean
DefaultAttributeTypeRegistry. hasDescendants(String ancestorId)
Quick lookup to see if an attribute has descendants.boolean
DefaultAttributeTypeRegistry. hasDescendants(AttributeType ancestor)
Quick lookup to see if an attribute has descendants.boolean
DefaultObjectClassRegistry. hasDescendants(String ancestorId)
Quick lookup to see if an objectClass has descendants.boolean
ImmutableAttributeTypeRegistry. hasDescendants(String ancestorId)
Quick lookup to see if an attribute has descendants.boolean
ImmutableAttributeTypeRegistry. hasDescendants(AttributeType ancestor)
Quick lookup to see if an attribute has descendants.boolean
ImmutableObjectClassRegistry. hasDescendants(String ancestorId)
Quick lookup to see if an objectClass has descendants.boolean
ObjectClassRegistry. hasDescendants(String ancestorId)
Quick lookup to see if an objectClass has descendants.List<Entry>
AbstractSchemaLoader. loadAttributeTypes(String... schemaNames)
Build a list of AttributeTypes read from the underlying storage for a list of specific schema, using their nameList<Entry>
SchemaLoader. loadAttributeTypes(String... schemaNames)
Build a list of AttributeTypes read from the underlying storage for a list of specific schema, using their nameList<Entry>
SchemaLoader. loadAttributeTypes(Schema... schemas)
Build a list of AttributeTypes read from the underlying storage for a list of specified schemaList<Entry>
AbstractSchemaLoader. loadComparators(String... schemaNames)
Build a list of Comparators read from the underlying storage for a list of specific schema, using their nameList<Entry>
SchemaLoader. loadComparators(String... schemaNames)
Build a list of Comparators read from the underlying storage for a list of specific schema, using their nameList<Entry>
SchemaLoader. loadComparators(Schema... schemas)
Build a list of Comparators read from the underlying storage for a list of specific schema.List<Entry>
AbstractSchemaLoader. loadDitContentRules(String... schemaNames)
Build a list of DitContentRules read from the underlying storage for a list of specified schema namesList<Entry>
SchemaLoader. loadDitContentRules(String... schemaNames)
Build a list of DitContentRules read from the underlying storage for a list of specified schema namesList<Entry>
SchemaLoader. loadDitContentRules(Schema... schemas)
Build a list of DitContentRules read from the underlying storage for a list of specific schema.List<Entry>
AbstractSchemaLoader. loadDitStructureRules(String... schemaNames)
Build a list of DitStructureRules read from the underlying storage for a list of specified schema namesList<Entry>
SchemaLoader. loadDitStructureRules(String... schemaNames)
Build a list of DitStructureRules read from the underlying storage for a list of specified schema namesList<Entry>
SchemaLoader. loadDitStructureRules(Schema... schemas)
Build a list of DitStructureRules read from the underlying storage for a list of specific schema.List<Entry>
AbstractSchemaLoader. loadMatchingRules(String... schemaNames)
Build a list of MatchingRules read from the underlying storage for a list of specific schema, using their nameList<Entry>
SchemaLoader. loadMatchingRules(String... schemaNames)
Build a list of MatchingRules read from the underlying storage for a list of specific schema, using their nameList<Entry>
SchemaLoader. loadMatchingRules(Schema... schemas)
Build a list of MatchingRules read from the underlying storage for a list of specific schemaList<Entry>
AbstractSchemaLoader. loadMatchingRuleUses(String... schemaNames)
Build a list of MatchingRuleUses read from the underlying storage for a list of specified schema namesList<Entry>
SchemaLoader. loadMatchingRuleUses(String... schemaNames)
Build a list of MatchingRuleUses read from the underlying storage for a list of specified schema namesList<Entry>
SchemaLoader. loadMatchingRuleUses(Schema... schemas)
Build a list of MatchingRuleUses read from the underlying storage for a list of specific schema.List<Entry>
AbstractSchemaLoader. loadNameForms(String... schemaNames)
Build a list of NameForms read from the underlying storage for a list of specified schema namesList<Entry>
SchemaLoader. loadNameForms(String... schemaNames)
Build a list of NameForms read from the underlying storage for a list of specified schema namesList<Entry>
SchemaLoader. loadNameForms(Schema... schemas)
Build a list of NameForms read from the underlying storage for a list of specific schema.List<Entry>
AbstractSchemaLoader. loadNormalizers(String... schemaNames)
Build a list of Normalizers read from the underlying storage for a list of specified schema namesList<Entry>
SchemaLoader. loadNormalizers(String... schemaNames)
Build a list of Normalizers read from the underlying storage for a list of specified schema namesList<Entry>
SchemaLoader. loadNormalizers(Schema... schemas)
Build a list of Normalizers read from the underlying storage for a list of specified schemaList<Entry>
AbstractSchemaLoader. loadObjectClasses(String... schemaNames)
Build a list of ObjectClasses read from the underlying storage for a list of specified schema namesList<Entry>
SchemaLoader. loadObjectClasses(String... schemaNames)
Build a list of ObjectClasses read from the underlying storage for a list of specified schema namesList<Entry>
SchemaLoader. loadObjectClasses(Schema... schemas)
Build a list of ObjectClasses read from the underlying storage for a list of specific schema.List<Entry>
AbstractSchemaLoader. loadSyntaxCheckers(String... schemaNames)
Build a list of SyntaxCheckers read from the underlying storage for a list of specified schema namesList<Entry>
SchemaLoader. loadSyntaxCheckers(String... schemaNames)
Build a list of SyntaxCheckers read from the underlying storage for a list of specified schema namesList<Entry>
SchemaLoader. loadSyntaxCheckers(Schema... schemas)
Build a list of SyntaxCheckers read from the underlying storage for a list of specified schemaList<Entry>
AbstractSchemaLoader. loadSyntaxes(String... schemaNames)
Build a list of Syntaxes read from the underlying storage for a list of specified schema namesList<Entry>
SchemaLoader. loadSyntaxes(String... schemaNames)
Build a list of Syntaxes read from the underlying storage for a list of specified schema namesList<Entry>
SchemaLoader. loadSyntaxes(Schema... schemas)
Build a list of Syntaxes read from the underlying storage for a list of specified schemaAttributeType
DefaultAttributeTypeRegistry. lookup(String oid)
Looks up a SchemaObject by its unique Object Identifier or by name.DitStructureRule
DefaultDitStructureRuleRegistry. lookup(int ruleId)
Looks up an dITStructureRule by its unique Object IDentifier or by its name.T
DefaultSchemaObjectRegistry. lookup(String oid)
Looks up a SchemaObject by its unique Object Identifier or by name.DitStructureRule
DitStructureRuleRegistry. lookup(int ruleId)
Looks up an dITStructureRule by its unique Object IDentifier or by its name.AttributeType
ImmutableAttributeTypeRegistry. lookup(String oid)
Looks up a SchemaObject by its unique Object Identifier or by name.LdapComparator<?>
ImmutableComparatorRegistry. lookup(String oid)
Looks up a SchemaObject by its unique Object Identifier or by name.DitContentRule
ImmutableDitContentRuleRegistry. lookup(String oid)
Looks up a SchemaObject by its unique Object Identifier or by name.DitStructureRule
ImmutableDitStructureRuleRegistry. lookup(int ruleId)
Looks up an dITStructureRule by its unique Object IDentifier or by its name.DitStructureRule
ImmutableDitStructureRuleRegistry. lookup(String oid)
Looks up a SchemaObject by its unique Object Identifier or by name.LdapSyntax
ImmutableLdapSyntaxRegistry. lookup(String oid)
Looks up a SchemaObject by its unique Object Identifier or by name.MatchingRule
ImmutableMatchingRuleRegistry. lookup(String oid)
Looks up a SchemaObject by its unique Object Identifier or by name.MatchingRuleUse
ImmutableMatchingRuleUseRegistry. lookup(String oid)
Looks up a SchemaObject by its unique Object Identifier or by name.NameForm
ImmutableNameFormRegistry. lookup(String oid)
Looks up a SchemaObject by its unique Object Identifier or by name.Normalizer
ImmutableNormalizerRegistry. lookup(String oid)
Looks up a SchemaObject by its unique Object Identifier or by name.ObjectClass
ImmutableObjectClassRegistry. lookup(String oid)
Looks up a SchemaObject by its unique Object Identifier or by name.SyntaxChecker
ImmutableSyntaxCheckerRegistry. lookup(String oid)
Looks up a SchemaObject by its unique Object Identifier or by name.T
SchemaObjectRegistry. lookup(String oid)
Looks up a SchemaObject by its unique Object Identifier or by name.void
ComparatorRegistry. register(LdapComparator<?> comparator)
Registers a new LdapComparator with this registry.void
DefaultDitStructureRuleRegistry. register(DitStructureRule ditStructureRule)
Registers a new SchemaObject with this registry.void
DefaultSchemaObjectRegistry. register(T schemaObject)
Registers a new SchemaObject with this registry.void
DitStructureRuleRegistry. register(DitStructureRule ditStructureRule)
Registers a new DitStructureRule with this registry.void
ImmutableAttributeTypeRegistry. register(AttributeType attributeType)
Registers a new SchemaObject with this registry.void
ImmutableComparatorRegistry. register(LdapComparator<?> comparator)
Registers a new LdapComparator with this registry.void
ImmutableDitContentRuleRegistry. register(DitContentRule schemaObject)
Registers a new SchemaObject with this registry.void
ImmutableDitStructureRuleRegistry. register(DitStructureRule ditStructureRule)
Registers a new DitStructureRule with this registry.void
ImmutableLdapSyntaxRegistry. register(LdapSyntax schemaObject)
Registers a new SchemaObject with this registry.void
ImmutableMatchingRuleRegistry. register(MatchingRule schemaObject)
Registers a new SchemaObject with this registry.void
ImmutableMatchingRuleUseRegistry. register(MatchingRuleUse schemaObject)
Registers a new SchemaObject with this registry.void
ImmutableNameFormRegistry. register(NameForm schemaObject)
Registers a new SchemaObject with this registry.void
ImmutableNormalizerRegistry. register(Normalizer normalizer)
Registers a new Normalizer with this registry.void
ImmutableObjectClassRegistry. register(ObjectClass objectClass)
Registers a new ObjectClass with this registry.void
ImmutableSyntaxCheckerRegistry. register(SyntaxChecker syntaxChecker)
Registers a new SyntaxChecker with this registry.void
NormalizerRegistry. register(Normalizer normalizer)
Registers a new Normalizer with this registry.void
ObjectClassRegistry. register(ObjectClass objectClass)
Registers a new ObjectClass with this registry.void
OidRegistry. register(T schemaObject)
Adds an OID name pair to the registry.void
SchemaObjectRegistry. register(T schemaObject)
Registers a new SchemaObject with this registry.void
SyntaxCheckerRegistry. register(SyntaxChecker syntaxChecker)
Registers a new SyntaxChecker with this registry.void
AttributeTypeRegistry. registerDescendants(AttributeType attributeType, AttributeType ancestor)
Store the AttributeType into a map associating an AttributeType to its descendants.void
DefaultAttributeTypeRegistry. registerDescendants(AttributeType attributeType, AttributeType ancestor)
Store the AttributeType into a map associating an AttributeType to its descendants.void
DefaultObjectClassRegistry. registerDescendants(ObjectClass objectClass, List<ObjectClass> ancestors)
Store the ObjectClass into a map associating an ObjectClass to its descendants.void
ImmutableAttributeTypeRegistry. registerDescendants(AttributeType attributeType, AttributeType ancestor)
Store the AttributeType into a map associating an AttributeType to its descendants.void
ImmutableObjectClassRegistry. registerDescendants(ObjectClass objectClass, List<ObjectClass> ancestors)
Store the ObjectClass into a map associating an ObjectClass to its descendants.void
ObjectClassRegistry. registerDescendants(ObjectClass objectClass, List<ObjectClass> ancestors)
Store the ObjectClass into a map associating an ObjectClass to its descendants.void
AttributeTypeRegistry. removeMappingFor(AttributeType attributeType)
Remove a new Oid/Normalizer couple in the OidNormalizer mapvoid
DefaultAttributeTypeRegistry. removeMappingFor(AttributeType attributeType)
Remove the AttributeType normalizer from the OidNormalizer mapvoid
ImmutableAttributeTypeRegistry. removeMappingFor(AttributeType attributeType)
Remove a new Oid/Normalizer couple in the OidNormalizer mapvoid
DitStructureRuleRegistry. renameSchema(String originalSchemaName, String newSchemaName)
Modify all the DitStructureRule using a schemaName when this name changes.void
ImmutableComparatorRegistry. renameSchema(String originalSchemaName, String newSchemaName)
Modify all the SchemaObject using a schemaName when this name changes.void
ImmutableDitContentRuleRegistry. renameSchema(String originalSchemaName, String newSchemaName)
Modify all the SchemaObject using a schemaName when this name changes.void
ImmutableDitStructureRuleRegistry. renameSchema(String originalSchemaName, String newSchemaName)
Modify all the DitStructureRule using a schemaName when this name changes.void
ImmutableLdapSyntaxRegistry. renameSchema(String originalSchemaName, String newSchemaName)
Modify all the SchemaObject using a schemaName when this name changes.void
ImmutableMatchingRuleRegistry. renameSchema(String originalSchemaName, String newSchemaName)
Modify all the SchemaObject using a schemaName when this name changes.void
ImmutableMatchingRuleUseRegistry. renameSchema(String originalSchemaName, String newSchemaName)
Modify all the SchemaObject using a schemaName when this name changes.void
ImmutableNameFormRegistry. renameSchema(String originalSchemaName, String newSchemaName)
Modify all the SchemaObject using a schemaName when this name changes.void
ImmutableNormalizerRegistry. renameSchema(String originalSchemaName, String newSchemaName)
Modify all the SchemaObject using a schemaName when this name changes.void
ImmutableObjectClassRegistry. renameSchema(String originalSchemaName, String newSchemaName)
Modify all the SchemaObject using a schemaName when this name changes.void
ImmutableSyntaxCheckerRegistry. renameSchema(String originalSchemaName, String newSchemaName)
Modify all the SchemaObject using a schemaName when this name changes.void
SchemaObjectRegistry. renameSchema(String originalSchemaName, String newSchemaName)
Modify all the SchemaObject using a schemaName when this name changes.LdapComparator<?>
ComparatorRegistry. unregister(String numericOid)
Removes the LdapComparator registered with this registry, using its numeric OID.AttributeType
DefaultAttributeTypeRegistry. unregister(String numericOid)
Removes the SchemaObject registered with this registry, using its numeric OID.void
DefaultDitStructureRuleRegistry. unregister(int ruleId)
Unregisters a DitStructureRule using it's rule identifier.ObjectClass
DefaultObjectClassRegistry. unregister(String numericOid)
Removes the SchemaObject registered with this registry, using its numeric OID.T
DefaultSchemaObjectRegistry. unregister(String numericOid)
Removes the SchemaObject registered with this registry, using its numeric OID.T
DefaultSchemaObjectRegistry. unregister(T schemaObject)
Removes the SchemaObject registered with this registry.void
DitStructureRuleRegistry. unregister(int ruleId)
Unregisters a DitStructureRule using it's rule identifier.AttributeType
ImmutableAttributeTypeRegistry. unregister(String numericOid)
Removes the SchemaObject registered with this registry, using its numeric OID.AttributeType
ImmutableAttributeTypeRegistry. unregister(AttributeType schemaObject)
Removes the SchemaObject registered with this registry.LdapComparator<?>
ImmutableComparatorRegistry. unregister(String numericOid)
Removes the LdapComparator registered with this registry, using its numeric OID.LdapComparator<?>
ImmutableComparatorRegistry. unregister(LdapComparator<?> schemaObject)
Removes the SchemaObject registered with this registry.DitContentRule
ImmutableDitContentRuleRegistry. unregister(String numericOid)
Removes the SchemaObject registered with this registry, using its numeric OID.DitContentRule
ImmutableDitContentRuleRegistry. unregister(DitContentRule schemaObject)
Removes the SchemaObject registered with this registry.void
ImmutableDitStructureRuleRegistry. unregister(int ruleId)
Unregisters a DitStructureRule using it's rule identifier.DitStructureRule
ImmutableDitStructureRuleRegistry. unregister(String numericOid)
Removes the SchemaObject registered with this registry, using its numeric OID.DitStructureRule
ImmutableDitStructureRuleRegistry. unregister(DitStructureRule schemaObject)
Removes the SchemaObject registered with this registry.LdapSyntax
ImmutableLdapSyntaxRegistry. unregister(String numericOid)
Removes the SchemaObject registered with this registry, using its numeric OID.LdapSyntax
ImmutableLdapSyntaxRegistry. unregister(LdapSyntax schemaObject)
Removes the SchemaObject registered with this registry.MatchingRule
ImmutableMatchingRuleRegistry. unregister(String numericOid)
Removes the SchemaObject registered with this registry, using its numeric OID.MatchingRule
ImmutableMatchingRuleRegistry. unregister(MatchingRule schemaObject)
Removes the SchemaObject registered with this registry.MatchingRuleUse
ImmutableMatchingRuleUseRegistry. unregister(String numericOid)
Removes the SchemaObject registered with this registry, using its numeric OID.MatchingRuleUse
ImmutableMatchingRuleUseRegistry. unregister(MatchingRuleUse schemaObject)
Removes the SchemaObject registered with this registry.NameForm
ImmutableNameFormRegistry. unregister(String numericOid)
Removes the SchemaObject registered with this registry, using its numeric OID.NameForm
ImmutableNameFormRegistry. unregister(NameForm schemaObject)
Removes the SchemaObject registered with this registry.Normalizer
ImmutableNormalizerRegistry. unregister(String numericOid)
Removes the Normalizer registered with this registry, using its numeric OID.Normalizer
ImmutableNormalizerRegistry. unregister(Normalizer schemaObject)
Removes the SchemaObject registered with this registry.ObjectClass
ImmutableObjectClassRegistry. unregister(String numericOid)
Removes the ObjectClass registered with this registry.ObjectClass
ImmutableObjectClassRegistry. unregister(ObjectClass schemaObject)
Removes the SchemaObject registered with this registry.SyntaxChecker
ImmutableSyntaxCheckerRegistry. unregister(String numericOid)
Removes the SyntaxChecker registered with this registry, using its numeric OID.SyntaxChecker
ImmutableSyntaxCheckerRegistry. unregister(SyntaxChecker schemaObject)
Removes the SchemaObject registered with this registry.Normalizer
NormalizerRegistry. unregister(String numericOid)
Removes the Normalizer registered with this registry, using its numeric OID.ObjectClass
ObjectClassRegistry. unregister(String numericOid)
Removes the ObjectClass registered with this registry.void
OidRegistry. unregister(String oid)
Removes an oid from this registry.T
SchemaObjectRegistry. unregister(String numericOid)
Removes the SchemaObject registered with this registry, using its numeric OID.T
SchemaObjectRegistry. unregister(T schemaObject)
Removes the SchemaObject registered with this registry.SyntaxChecker
SyntaxCheckerRegistry. unregister(String numericOid)
Removes the SyntaxChecker registered with this registry, using its numeric OID.void
AttributeTypeRegistry. unregisterDescendants(AttributeType attributeType, AttributeType ancestor)
Remove the AttributeType from the map associating an AttributeType to its descendants.void
DefaultAttributeTypeRegistry. unregisterDescendants(AttributeType attributeType, AttributeType ancestor)
Remove the AttributeType from the map associating an AttributeType to its descendants.void
DefaultObjectClassRegistry. unregisterDescendants(ObjectClass attributeType, List<ObjectClass> ancestors)
Remove the ObjectClass from the map associating an ObjectClass to its descendants.void
ImmutableAttributeTypeRegistry. unregisterDescendants(AttributeType attributeType, AttributeType ancestor)
Remove the AttributeType from the map associating an AttributeType to its descendants.void
ImmutableObjectClassRegistry. unregisterDescendants(ObjectClass attributeType, List<ObjectClass> ancestors)
Remove the ObjectClass from the map associating an ObjectClass to its descendants.void
ObjectClassRegistry. unregisterDescendants(ObjectClass attributeType, List<ObjectClass> ancestors)
Remove the ObjectClass from the map associating an ObjectClass to its descendants.void
ComparatorRegistry. unregisterSchemaElements(String schemaName)
Unregisters all LdapComparators defined for a specific schema from this registry.void
DefaultComparatorRegistry. unregisterSchemaElements(String schemaName)
Unregisters all SchemaObjects defined for a specific schema from this registry.void
DefaultNormalizerRegistry. unregisterSchemaElements(String schemaName)
Unregisters all SchemaObjects defined for a specific schema from this registry.void
DefaultSchemaObjectRegistry. unregisterSchemaElements(String schemaName)
Unregisters all SchemaObjects defined for a specific schema from this registry.void
DefaultSyntaxCheckerRegistry. unregisterSchemaElements(String schemaName)
Unregisters all SchemaObjects defined for a specific schema from this registry.void
DitStructureRuleRegistry. unregisterSchemaElements(String schemaName)
Unregisters all DITStructureRules defined for a specific schema from this registry.void
ImmutableAttributeTypeRegistry. unregisterSchemaElements(String schemaName)
Unregisters all SchemaObjects defined for a specific schema from this registry.void
ImmutableComparatorRegistry. unregisterSchemaElements(String schemaName)
Unregisters all LdapComparators defined for a specific schema from this registry.void
ImmutableDitContentRuleRegistry. unregisterSchemaElements(String schemaName)
Unregisters all SchemaObjects defined for a specific schema from this registry.void
ImmutableDitStructureRuleRegistry. unregisterSchemaElements(String schemaName)
Unregisters all DITStructureRules defined for a specific schema from this registry.void
ImmutableLdapSyntaxRegistry. unregisterSchemaElements(String schemaName)
Unregisters all SchemaObjects defined for a specific schema from this registry.void
ImmutableMatchingRuleRegistry. unregisterSchemaElements(String schemaName)
Unregisters all SchemaObjects defined for a specific schema from this registry.void
ImmutableMatchingRuleUseRegistry. unregisterSchemaElements(String schemaName)
Unregisters all SchemaObjects defined for a specific schema from this registry.void
ImmutableNameFormRegistry. unregisterSchemaElements(String schemaName)
Unregisters all SchemaObjects defined for a specific schema from this registry.void
ImmutableNormalizerRegistry. unregisterSchemaElements(String schemaName)
Unregisters all Normalizers defined for a specific schema from this registry.void
ImmutableObjectClassRegistry. unregisterSchemaElements(String schemaName)
Unregisters all SchemaObjects defined for a specific schema from this registry.void
ImmutableSyntaxCheckerRegistry. unregisterSchemaElements(String schemaName)
Unregisters all SyntaxCheckers defined for a specific schema from this registry.void
NormalizerRegistry. unregisterSchemaElements(String schemaName)
Unregisters all Normalizers defined for a specific schema from this registry.void
SchemaObjectRegistry. unregisterSchemaElements(String schemaName)
Unregisters all SchemaObjects defined for a specific schema from this registry.void
SyntaxCheckerRegistry. unregisterSchemaElements(String schemaName)
Unregisters all SyntaxCheckers defined for a specific schema from this registry. -
Uses of LdapException in org.apache.directory.api.ldap.model.schema.registries.helper
Methods in org.apache.directory.api.ldap.model.schema.registries.helper that throw LdapException Modifier and Type Method Description static void
AttributeTypeHelper. addToRegistries(AttributeType attributeType, SchemaErrorHandler errorHandler, Registries registries)
Inject the AttributeType into the Registries, updating the references to other SchemaObject If one of the referenced SchemaObject does not exist (SUP, EQUALITY, ORDERING, SUBSTR, SYNTAX), an exception is thrown.static void
DitContentRuleHelper. addToRegistries(DitContentRule ditContentRule, SchemaErrorHandler errorHandler, Registries registries)
Inject the DitContentRule into the registries, updating the references to other SchemaObjectstatic void
LdapSyntaxHelper. addToRegistries(LdapSyntax ldapSyntax, SchemaErrorHandler errorHandler, Registries registries)
Inject the LdapSyntax into the registries, updating the references to other SchemaObjectstatic void
MatchingRuleHelper. addToRegistries(MatchingRule matchingRule, SchemaErrorHandler errorHandler, Registries registries)
Inject the MatchingRule into the Registries, updating the references to other SchemaObjectstatic void
MatchingRuleUseHelper. addToRegistries(MatchingRuleUse matchingRuleUse, SchemaErrorHandler errorHandler, Registries registries)
Inject the MatchingRuleUse into the registries, updating the references to other SchemaObjectstatic void
NameFormHelper. addToRegistries(NameForm nameForm, SchemaErrorHandler errorHandler, Registries registries)
Inject the NameForm into the registries, updating the references to other SchemaObjectstatic void
AttributeTypeHelper. removeFromRegistries(AttributeType attributeType, SchemaErrorHandler errorHandler, Registries registries)
Remove the AttributeType from the registries, updating the references to other SchemaObject.static void
ObjectClassHelper. removeFromRegistries(ObjectClass objectClass, SchemaErrorHandler errorHandler, Registries registries)
Remove the ObjectClass from the registries, updating the references to other SchemaObject. -
Uses of LdapException in org.apache.directory.api.ldap.schema.converter
Methods in org.apache.directory.api.ldap.schema.converter that throw LdapException Modifier and Type Method Description String
AttributeTypeHolder. dnToLdif(String schemaName)
Transform a schema name to a Dn pointing to the correct position in the DITString
ObjectClassHolder. dnToLdif(String schemaName)
Transform a schema name to a Dn pointing to the correct position in the DITabstract String
SchemaElementImpl. dnToLdif(String schemaName)
Transform a Schema Element to a LDIF StringString
AttributeTypeHolder. toLdif(String schemaName)
Convert this attributeType to a Ldif stringString
ObjectClassHolder. toLdif(String schemaName)
Convert this objectClass to a Ldif stringString
SchemaElement. toLdif(String schemaName)
Generate a String representation of this schemaElement, formated as a ldif string -
Uses of LdapException in org.apache.directory.api.ldap.schema.loader
Methods in org.apache.directory.api.ldap.schema.loader that throw LdapException Modifier and Type Method Description AttributeType
EntityFactory. getAttributeType(SchemaManager schemaManager, Entry entry, Registries targetRegistries, String schemaName)
Construct an AttributeType from an entry representing an AttributeType.LdapComparator<?>
EntityFactory. getLdapComparator(SchemaManager schemaManager, Entry entry, Registries targetRegistries, String schemaName)
Retrieve and load a Comparator class from the DIT.LdapComparator<?>
EntityFactory. getLdapComparator(SchemaManager schemaManager, LdapComparatorDescription comparatorDescription, Registries targetRegistries, String schemaName)
Construct a LdapComparator from a description of a comparator.LdapComparator<?>
SchemaEntityFactory. getLdapComparator(SchemaManager schemaManager, Entry entry, Registries targetRegistries, String schemaName)
Retrieve and load a Comparator class from the DIT.LdapComparator<?>
SchemaEntityFactory. getLdapComparator(SchemaManager schemaManager, LdapComparatorDescription comparatorDescription, Registries targetRegistries, String schemaName)
Construct a LdapComparator from a description of a comparator.MatchingRule
EntityFactory. getMatchingRule(SchemaManager schemaManager, Entry entry, Registries targetRegistries, String schemaName)
Construct an MatchingRule from an entry get from the DitNormalizer
EntityFactory. getNormalizer(SchemaManager schemaManager, Entry entry, Registries targetRegistries, String schemaName)
Retrieve and load a Normalizer class from the DIT.Normalizer
EntityFactory. getNormalizer(SchemaManager schemaManager, NormalizerDescription normalizerDescription, Registries targetRegistries, String schemaName)
Create a new instance of a NormalizerNormalizer
SchemaEntityFactory. getNormalizer(SchemaManager schemaManager, Entry entry, Registries targetRegistries, String schemaName)
Retrieve and load a Normalizer class from the DIT.Normalizer
SchemaEntityFactory. getNormalizer(SchemaManager schemaManager, NormalizerDescription normalizerDescription, Registries targetRegistries, String schemaName)
Create a new instance of a NormalizerObjectClass
EntityFactory. getObjectClass(SchemaManager schemaManager, Entry entry, Registries targetRegistries, String schemaName)
ObjectClass
SchemaEntityFactory. getObjectClass(SchemaManager schemaManager, Entry entry, Registries targetRegistries, String schemaName)
Schema
EntityFactory. getSchema(Entry entry)
Return an instance of the Schema associated to the entrySchema
SchemaEntityFactory. getSchema(Entry entry)
Return an instance of the Schema associated to the entryLdapSyntax
EntityFactory. getSyntax(SchemaManager schemaManager, Entry entry, Registries targetRegistries, String schemaName)
SyntaxChecker
EntityFactory. getSyntaxChecker(SchemaManager schemaManager, Entry entry, Registries targetRegistries, String schemaName)
Retrieve and load a syntaxChecker class from the DIT.SyntaxChecker
EntityFactory. getSyntaxChecker(SchemaManager schemaManager, SyntaxCheckerDescription syntaxCheckerDescription, Registries targetRegistries, String schemaName)
Create a new instance of a SyntaxCheckerSyntaxChecker
SchemaEntityFactory. getSyntaxChecker(SchemaManager schemaManager, Entry entry, Registries targetRegistries, String schemaName)
Retrieve and load a syntaxChecker class from the DIT.SyntaxChecker
SchemaEntityFactory. getSyntaxChecker(SchemaManager schemaManager, SyntaxCheckerDescription syntaxCheckerDescription, Registries targetRegistries, String schemaName)
Create a new instance of a SyntaxCheckerList<Entry>
JarLdifSchemaLoader. loadAttributeTypes(Schema... schemas)
Build a list of AttributeTypes read from the underlying storage for a list of specified schemaList<Entry>
LdifSchemaLoader. loadAttributeTypes(Schema... schemas)
Build a list of AttributeTypes read from the underlying storage for a list of specified schemaList<Entry>
SingleLdifSchemaLoader. loadAttributeTypes(Schema... schemas)
Build a list of AttributeTypes read from the underlying storage for a list of specified schemaList<Entry>
JarLdifSchemaLoader. loadComparators(Schema... schemas)
Build a list of Comparators read from the underlying storage for a list of specific schema.List<Entry>
LdifSchemaLoader. loadComparators(Schema... schemas)
Build a list of Comparators read from the underlying storage for a list of specific schema.List<Entry>
SingleLdifSchemaLoader. loadComparators(Schema... schemas)
Build a list of Comparators read from the underlying storage for a list of specific schema.List<Entry>
JarLdifSchemaLoader. loadDitContentRules(Schema... schemas)
Build a list of DitContentRules read from the underlying storage for a list of specific schema.List<Entry>
LdifSchemaLoader. loadDitContentRules(Schema... schemas)
Build a list of DitContentRules read from the underlying storage for a list of specific schema.List<Entry>
SingleLdifSchemaLoader. loadDitContentRules(Schema... schemas)
Build a list of DitContentRules read from the underlying storage for a list of specific schema.List<Entry>
JarLdifSchemaLoader. loadDitStructureRules(Schema... schemas)
Build a list of DitStructureRules read from the underlying storage for a list of specific schema.List<Entry>
LdifSchemaLoader. loadDitStructureRules(Schema... schemas)
Build a list of DitStructureRules read from the underlying storage for a list of specific schema.List<Entry>
SingleLdifSchemaLoader. loadDitStructureRules(Schema... schemas)
Build a list of DitStructureRules read from the underlying storage for a list of specific schema.List<Entry>
JarLdifSchemaLoader. loadMatchingRules(Schema... schemas)
Build a list of MatchingRules read from the underlying storage for a list of specific schemaList<Entry>
LdifSchemaLoader. loadMatchingRules(Schema... schemas)
Build a list of MatchingRules read from the underlying storage for a list of specific schemaList<Entry>
SingleLdifSchemaLoader. loadMatchingRules(Schema... schemas)
Build a list of MatchingRules read from the underlying storage for a list of specific schemaList<Entry>
JarLdifSchemaLoader. loadMatchingRuleUses(Schema... schemas)
Build a list of MatchingRuleUses read from the underlying storage for a list of specific schema.List<Entry>
LdifSchemaLoader. loadMatchingRuleUses(Schema... schemas)
Build a list of MatchingRuleUses read from the underlying storage for a list of specific schema.List<Entry>
SingleLdifSchemaLoader. loadMatchingRuleUses(Schema... schemas)
Build a list of MatchingRuleUses read from the underlying storage for a list of specific schema.List<Entry>
JarLdifSchemaLoader. loadNameForms(Schema... schemas)
Build a list of NameForms read from the underlying storage for a list of specific schema.List<Entry>
LdifSchemaLoader. loadNameForms(Schema... schemas)
Build a list of NameForms read from the underlying storage for a list of specific schema.List<Entry>
SingleLdifSchemaLoader. loadNameForms(Schema... schemas)
Build a list of NameForms read from the underlying storage for a list of specific schema.List<Entry>
JarLdifSchemaLoader. loadNormalizers(Schema... schemas)
Build a list of Normalizers read from the underlying storage for a list of specified schemaList<Entry>
LdifSchemaLoader. loadNormalizers(Schema... schemas)
Build a list of Normalizers read from the underlying storage for a list of specified schemaList<Entry>
SingleLdifSchemaLoader. loadNormalizers(Schema... schemas)
Build a list of Normalizers read from the underlying storage for a list of specified schemaList<Entry>
JarLdifSchemaLoader. loadObjectClasses(Schema... schemas)
Build a list of ObjectClasses read from the underlying storage for a list of specific schema.List<Entry>
LdifSchemaLoader. loadObjectClasses(Schema... schemas)
Build a list of ObjectClasses read from the underlying storage for a list of specific schema.List<Entry>
SingleLdifSchemaLoader. loadObjectClasses(Schema... schemas)
Build a list of ObjectClasses read from the underlying storage for a list of specific schema.List<Entry>
JarLdifSchemaLoader. loadSyntaxCheckers(Schema... schemas)
Build a list of SyntaxCheckers read from the underlying storage for a list of specified schemaList<Entry>
LdifSchemaLoader. loadSyntaxCheckers(Schema... schemas)
Build a list of SyntaxCheckers read from the underlying storage for a list of specified schemaList<Entry>
SingleLdifSchemaLoader. loadSyntaxCheckers(Schema... schemas)
Build a list of SyntaxCheckers read from the underlying storage for a list of specified schemaList<Entry>
JarLdifSchemaLoader. loadSyntaxes(Schema... schemas)
Build a list of Syntaxes read from the underlying storage for a list of specified schemaList<Entry>
LdifSchemaLoader. loadSyntaxes(Schema... schemas)
Build a list of Syntaxes read from the underlying storage for a list of specified schemaList<Entry>
SingleLdifSchemaLoader. loadSyntaxes(Schema... schemas)
Build a list of Syntaxes read from the underlying storage for a list of specified schemavoid
AttributeClassLoader. setAttribute(Attribute attribute)
Sets the attribute.Constructors in org.apache.directory.api.ldap.schema.loader that throw LdapException Constructor Description JarLdifSchemaLoader()
Creates a new LDIF based SchemaLoader.JarLdifSchemaLoader(boolean allowDuplicateResources)
Creates a new LDIF based SchemaLoader.LdifSchemaLoader(File baseDirectory)
Creates a new LDIF based SchemaLoader. -
Uses of LdapException in org.apache.directory.api.ldap.schema.manager.impl
Methods in org.apache.directory.api.ldap.schema.manager.impl that throw LdapException Modifier and Type Method Description boolean
DefaultSchemaManager. add(SchemaObject schemaObject)
Registers a new SchemaObject.boolean
DefaultSchemaManager. delete(SchemaObject schemaObject)
Unregisters a new SchemaObject.boolean
DefaultSchemaManager. disable(String... schemaNames)
Disables a set of Schemas, and returns true if all the schema have been disabled, with all the dependent schemas, and if the registries is still consistent.boolean
DefaultSchemaManager. disable(Schema... schemas)
Disables a set of Schemas, and returns true if all the schema have been disabled, with all the dependent schemas, and if the registries is still consistent.boolean
DefaultSchemaManager. enable(String... schemaNames)
Enables a set of Schemas, and returns true if all the schema have been enabled, with all the dependent schemas, and if the registries is still consistent.boolean
DefaultSchemaManager. enable(Schema... schemas)
Enables a set of Schemas, and returns true if all the schema have been enabled, with all the dependent schemas, and if the registries is still consistent.void
DefaultSchemaManager. initialize()
Initializes the SchemaServiceboolean
DefaultSchemaManager. load(String... schemaNames)
Load some Schemas into the registries.boolean
DefaultSchemaManager. load(Schema... schemas)
Load some Schemas into the registries.boolean
DefaultSchemaManager. loadAllEnabled()
Load all the enabled schema into the Registries.boolean
DefaultSchemaManager. loadAllEnabledRelaxed()
Load all the enabled schema into the Registries.boolean
DefaultSchemaManager. loadDisabled(String... schemaNames)
Load Schemas into the Registries, even if they are disabled.boolean
DefaultSchemaManager. loadDisabled(Schema... schemas)
Load Schemas into the Registries, even if they are disabled.boolean
DefaultSchemaManager. loadRelaxed(String... schemaNames)
Load Schemas into the registries, even if there are some errors in the schemas.boolean
DefaultSchemaManager. loadRelaxed(Schema... schemas)
Load Schemas into the registries, even if there are some errors in the schemas.boolean
DefaultSchemaManager. loadWithDeps(String... schemas)
Load some Schemas into the registries, and loads all of the schemas they depend on.boolean
DefaultSchemaManager. loadWithDeps(Schema... schemas)
Load some Schemas into the registries, and loads all of the schemas they depend on.boolean
DefaultSchemaManager. loadWithDepsRelaxed(String... schemas)
Load some Schemas into the registries, and loads all of the schemas they depend on.boolean
DefaultSchemaManager. loadWithDepsRelaxed(Schema... schemas)
Load some Schemas into the registries, and loads all of the schemas they depend on.AttributeType
DefaultSchemaManager. lookupAttributeTypeRegistry(String oid)
Lookup for an AttributeType in the AttributeType registryLdapComparator<?>
DefaultSchemaManager. lookupComparatorRegistry(String oid)
Lookup for a Comparator in the Comparator registryLdapSyntax
DefaultSchemaManager. lookupLdapSyntaxRegistry(String oid)
Lookup for an LdapSyntax in the LdapSyntax registryMatchingRule
DefaultSchemaManager. lookupMatchingRuleRegistry(String oid)
Lookup for a MatchingRule in the MatchingRule registryNormalizer
DefaultSchemaManager. lookupNormalizerRegistry(String oid)
Lookup for a Normalizer in the Normalizer registryObjectClass
DefaultSchemaManager. lookupObjectClassRegistry(String oid)
Lookup for a ObjectClass in the ObjectClass registrySyntaxChecker
DefaultSchemaManager. lookupSyntaxCheckerRegistry(String oid)
Lookup for a SyntaxChecker in the SyntaxChecker registryboolean
DefaultSchemaManager. unload(String... schemaNames)
Unload the given set of Schemasboolean
DefaultSchemaManager. unload(Schema... schemas)
Unload the given set of SchemasSchemaObject
DefaultSchemaManager. unregisterAttributeType(String attributeTypeOid)
Removes the registered attributeType from the attributeTypeRegistrySchemaObject
DefaultSchemaManager. unregisterComparator(String comparatorOid)
Removes the registered Comparator from the ComparatorRegistrySchemaObject
DefaultSchemaManager. unregisterDitControlRule(String ditControlRuleOid)
Removes the registered DitControlRule from the DitControlRuleRegistrySchemaObject
DefaultSchemaManager. unregisterDitStructureRule(String ditStructureRuleOid)
Removes the registered DitStructureRule from the DitStructureRuleRegistrySchemaObject
DefaultSchemaManager. unregisterLdapSyntax(String ldapSyntaxOid)
Removes the registered LdapSyntax from the LdapSyntaxRegistrySchemaObject
DefaultSchemaManager. unregisterMatchingRule(String matchingRuleOid)
Removes the registered MatchingRule from the MatchingRuleRegistrySchemaObject
DefaultSchemaManager. unregisterMatchingRuleUse(String matchingRuleUseOid)
Removes the registered MatchingRuleUse from the MatchingRuleUseRegistrySchemaObject
DefaultSchemaManager. unregisterNameForm(String nameFormOid)
Removes the registered NameForm from the NameFormRegistrySchemaObject
DefaultSchemaManager. unregisterNormalizer(String normalizerOid)
Removes the registered Normalizer from the NormalizerRegistrySchemaObject
DefaultSchemaManager. unregisterObjectClass(String objectClassOid)
Removes the registered ObjectClass from the ObjectClassRegistrySchemaObject
DefaultSchemaManager. unregisterSyntaxChecker(String syntaxCheckerOid)
Removes the registered SyntaxChecker from the SyntaxCheckerRegistryboolean
DefaultSchemaManager. verify(String... schemas)
Check that the Schemas are consistent regarding the current Registries.boolean
DefaultSchemaManager. verify(Schema... schemas)
Check that the Schemas are consistent regarding the current Registries. -
Uses of LdapException in org.apache.directory.api.ldap.util.tree
Methods in org.apache.directory.api.ldap.util.tree that throw LdapException Modifier and Type Method Description DnNode<N>
DnNode. add(Dn dn)
Add a new node in the tree.DnNode<N>
DnNode. add(Dn dn, N element)
Add a new node in the tree.boolean
DnNode. hasChildren(Dn dn)
Tells if a node has some children or not.void
DnNode. move(Dn newParent)
move the DnNode's Dnvoid
DnNode. remove(Dn dn)
Removes a node from the tree.void
DnNode. rename(Rdn newRdn)
rename the DnNode's Dn -
Uses of LdapException in org.apache.directory.ldap.client.api
Methods in org.apache.directory.ldap.client.api that throw LdapException Modifier and Type Method Description void
AbstractPoolableLdapConnectionFactory. activateObject(org.apache.commons.pool2.PooledObject<LdapConnection> connection)
There is nothing to do to activate a connection.void
ValidatingPoolableLdapConnectionFactory. activateObject(org.apache.commons.pool2.PooledObject<LdapConnection> pooledObject)
There is nothing to do to activate a connection.void
LdapConnection. add(Entry entry)
Add an entry to the server.AddResponse
LdapConnection. add(AddRequest addRequest)
Add an entry present in theAddRequest
to the server.void
LdapConnectionWrapper. add(Entry entry)
Add an entry to the server.AddResponse
LdapConnectionWrapper. add(AddRequest addRequest)
Add an entry present in theAddRequest
to the server.void
LdapNetworkConnection. add(Entry entry)
Add an entry to the server.AddResponse
LdapNetworkConnection. add(AddRequest addRequest)
Add an entry present in theAddRequest
to the server.void
LdifAnonymizer. addAnonAttributeType(AttributeType attributeType)
Add an attributeType that has to be anonymizedvoid
LdifAnonymizer. addAnonAttributeType(AttributeType attributeType, Anonymizer<?> anonymizer)
Add an attributeType that has to be anonymized, with its associated anonymizer.AddFuture
LdapAsyncConnection. addAsync(Entry entry)
Add an entry to the server asynchronously.AddFuture
LdapAsyncConnection. addAsync(AddRequest addRequest)
Add an entry present in the AddRequest to the server.AddFuture
LdapNetworkConnection. addAsync(Entry entry)
Add an entry to the server asynchronously.AddFuture
LdapNetworkConnection. addAsync(AddRequest addRequest)
Add an entry present in the AddRequest to the server.void
LdapNetworkConnection. addSchema(File schemaFile)
parses the given schema file present in OpenLDAP schema format and adds all the SchemaObjects present in it to the SchemaManagervoid
LdapNetworkConnection. addSchema(String schemaFileName)
void
EntryCursorImpl. after(Entry element)
This operation is not supported in SearchCursor.void
SearchCursorImpl. after(Response element)
This operation is not supported in SearchCursor.void
EntryCursorImpl. afterLast()
This operation is not supported in SearchCursor.void
SearchCursorImpl. afterLast()
This operation is not supported in SearchCursor.String
LdifAnonymizer. anonymize(String ldif)
Anonymize a LDIFvoid
LdifAnonymizer. anonymizeFile(String ldifFile, Writer writer)
Anonymize a LDIFvoid
LdapConnection. anonymousBind()
Anonymous bind on a server.void
LdapConnectionWrapper. anonymousBind()
Anonymous bind on a server.void
LdapNetworkConnection. anonymousBind()
Anonymous bind on a server.void
MonitoringLdapConnection. anonymousBind()
Anonymous bind on a server.BindFuture
LdapAsyncConnection. anonymousBindAsync()
Anonymous asynchronous Bind on a server.BindFuture
LdapNetworkConnection. anonymousBindAsync()
Anonymous asynchronous Bind on a server.void
EntryCursorImpl. before(Entry element)
This operation is not supported in SearchCursor.void
SearchCursorImpl. before(Response element)
This operation is not supported in SearchCursor.void
EntryCursorImpl. beforeFirst()
This operation is not supported in SearchCursor.void
SearchCursorImpl. beforeFirst()
This operation is not supported in SearchCursor.void
AbstractLdapConnection. bind(String name)
Unauthenticated authentication bind on a server.void
AbstractLdapConnection. bind(String name, String credentials)
Simple bind on a server.void
AbstractLdapConnection. bind(Dn name)
Unauthenticated authentication bind on a server.void
AbstractLdapConnection. bind(Dn name, String credentials)
Simple bind on a server.void
LdapConnection. bind()
Bind on a server, using theLdapConnectionConfig
information of this connection.void
LdapConnection. bind(String name)
Unauthenticated authentication bind on a server.void
LdapConnection. bind(String name, String credentials)
Simple bind on a server.BindResponse
LdapConnection. bind(BindRequest bindRequest)
Bind to the server using a bind request object.void
LdapConnection. bind(Dn name)
Unauthenticated authentication bind on a server.void
LdapConnection. bind(Dn name, String credentials)
Simple bind on a server.BindResponse
LdapConnection. bind(SaslRequest saslRequest)
SASL Bind to the server using a SASL request object.void
LdapConnectionWrapper. bind()
Bind on a server, using theLdapConnectionConfig
information of this connection.void
LdapConnectionWrapper. bind(String name)
Unauthenticated authentication bind on a server.void
LdapConnectionWrapper. bind(String name, String credentials)
Simple bind on a server.BindResponse
LdapConnectionWrapper. bind(BindRequest bindRequest)
Bind to the server using a bind request object.void
LdapConnectionWrapper. bind(Dn name)
Unauthenticated authentication bind on a server.void
LdapConnectionWrapper. bind(Dn name, String credentials)
Simple bind on a server.BindResponse
LdapConnectionWrapper. bind(SaslRequest saslRequest)
SASL Bind to the server using a SASL request object.void
LdapNetworkConnection. bind()
Bind on a server, using theLdapConnectionConfig
information of this connection.BindResponse
LdapNetworkConnection. bind(BindRequest bindRequest)
Bind to the server using a bind request object.BindResponse
LdapNetworkConnection. bind(SaslCramMd5Request request)
Bind to the server using a CramMd5Request object.BindResponse
LdapNetworkConnection. bind(SaslDigestMd5Request request)
Bind to the server using a DigestMd5Request object.BindResponse
LdapNetworkConnection. bind(SaslExternalRequest request)
Bind to the server using a SaslExternalRequest object.BindResponse
LdapNetworkConnection. bind(SaslGssApiRequest request)
Bind to the server using a GssApiRequest object.BindResponse
LdapNetworkConnection. bind(SaslRequest request)
Bind to the server using a SaslRequest object.void
MonitoringLdapConnection. bind()
Bind on a server, using theLdapConnectionConfig
information of this connection.void
MonitoringLdapConnection. bind(String name)
Unauthenticated authentication bind on a server.void
MonitoringLdapConnection. bind(String name, String credentials)
Simple bind on a server.BindResponse
MonitoringLdapConnection. bind(BindRequest bindRequest)
Bind to the server using a bind request object.void
MonitoringLdapConnection. bind(Dn name)
Unauthenticated authentication bind on a server.void
MonitoringLdapConnection. bind(Dn name, String credentials)
Simple bind on a server.BindFuture
LdapAsyncConnection. bindAsync()
Asynchronous Bind on a server, using the LdapConnectionConfig informations.BindFuture
LdapAsyncConnection. bindAsync(String name, String credentials)
Simple asynchronous Bind on a server.BindFuture
LdapAsyncConnection. bindAsync(BindRequest bindRequest)
Do an asynchronous bind, based on a BindRequest.BindFuture
LdapAsyncConnection. bindAsync(Dn name, String credentials)
Simple asynchronous Bind on a server.BindFuture
LdapNetworkConnection. bindAsync()
Asynchronous Bind on a server, using the LdapConnectionConfig informations.BindFuture
LdapNetworkConnection. bindAsync(String name)
Asynchronous unauthenticated authentication bindBindFuture
LdapNetworkConnection. bindAsync(String name, String credentials)
Simple asynchronous Bind on a server.BindFuture
LdapNetworkConnection. bindAsync(BindRequest bindRequest)
Do an asynchronous bind, based on a BindRequest.BindFuture
LdapNetworkConnection. bindAsync(Dn name)
Asynchronous unauthenticated authentication Bind on a server.BindFuture
LdapNetworkConnection. bindAsync(Dn name, String credentials)
Simple asynchronous Bind on a server.BindFuture
LdapNetworkConnection. bindAsync(SaslGssApiRequest request)
Do an asynchronous bind, based on a GssApiRequest.BindFuture
LdapNetworkConnection. bindAsync(SaslRequest request)
Do an asynchronous bind, based on a SaslPlainRequest.LdapConnection
DefaultLdapConnectionFactory. bindConnection(LdapConnection connection)
Issues a bind request on the supplied connection using the name and credentials from the LdapConnectionConfg supplied to the constructor.LdapConnection
LdapConnectionFactory. bindConnection(LdapConnection connection)
Issues a bind request on the supplied connection using the name and credentials from the LdapConnectionConfg supplied to the constructor.BindFuture
LdapNetworkConnection. bindSasl(SaslRequest saslRequest)
Process the SASL Bind.BindResponse
LdapNetworkConnection. bindSaslCramMd5(String userName, String credentials)
Bind to the server using the SASL CRAM-MD5 mechanism.BindResponse
LdapNetworkConnection. bindSaslDigestMd5(String userName, String credentials)
Bind to the server using the SASL DIGEST-MD5 mechanism.BindResponse
LdapNetworkConnection. bindSaslPlain(String authcid, String credentials)
SASL PLAIN Bind on a server.BindResponse
LdapNetworkConnection. bindSaslPlain(String authzid, String authcid, String credentials)
SASL PLAIN Bind on a server.boolean
LdapConnection. compare(String dn, String attributeName, byte[] value)
Compares whether a given attribute's value matches that of the existing value of the attribute present in the entry with the given distinguished name.boolean
LdapConnection. compare(String dn, String attributeName, String value)
Compares whether a given attribute's value matches that of the existing value of the attribute present in the entry with the given distinguished name.boolean
LdapConnection. compare(String dn, String attributeName, Value value)
Compares whether a given attribute's value matches that of the existing value of the attribute present in the entry with the given distinguished name.CompareResponse
LdapConnection. compare(CompareRequest compareRequest)
Compares an entry's attribute's value with that of the given value.boolean
LdapConnection. compare(Dn dn, String attributeName, byte[] value)
Compares whether a given attribute's value matches that of the existing value of the attribute present in the entry with the given distinguished name.boolean
LdapConnection. compare(Dn dn, String attributeName, String value)
Compares whether a given attribute's value matches that of the existing value of the attribute present in the entry with the given distinguished name.boolean
LdapConnection. compare(Dn dn, String attributeName, Value value)
Compares whether a given attribute's value matches that of the existing value of the attribute present in the entry with the given distinguished name.boolean
LdapConnectionWrapper. compare(String dn, String attributeName, byte[] value)
Compares whether a given attribute's value matches that of the existing value of the attribute present in the entry with the given distinguished name.boolean
LdapConnectionWrapper. compare(String dn, String attributeName, String value)
Compares whether a given attribute's value matches that of the existing value of the attribute present in the entry with the given distinguished name.boolean
LdapConnectionWrapper. compare(String dn, String attributeName, Value value)
Compares whether a given attribute's value matches that of the existing value of the attribute present in the entry with the given distinguished name.CompareResponse
LdapConnectionWrapper. compare(CompareRequest compareRequest)
Compares an entry's attribute's value with that of the given value.boolean
LdapConnectionWrapper. compare(Dn dn, String attributeName, byte[] value)
Compares whether a given attribute's value matches that of the existing value of the attribute present in the entry with the given distinguished name.boolean
LdapConnectionWrapper. compare(Dn dn, String attributeName, String value)
Compares whether a given attribute's value matches that of the existing value of the attribute present in the entry with the given distinguished name.boolean
LdapConnectionWrapper. compare(Dn dn, String attributeName, Value value)
Compares whether a given attribute's value matches that of the existing value of the attribute present in the entry with the given distinguished name.boolean
LdapNetworkConnection. compare(String dn, String attributeName, byte[] value)
Compares whether a given attribute's value matches that of the existing value of the attribute present in the entry with the given distinguished name.boolean
LdapNetworkConnection. compare(String dn, String attributeName, String value)
Compares whether a given attribute's value matches that of the existing value of the attribute present in the entry with the given distinguished name.boolean
LdapNetworkConnection. compare(String dn, String attributeName, Value value)
Compares whether a given attribute's value matches that of the existing value of the attribute present in the entry with the given distinguished name.CompareResponse
LdapNetworkConnection. compare(CompareRequest compareRequest)
Compares an entry's attribute's value with that of the given value.boolean
LdapNetworkConnection. compare(Dn dn, String attributeName, byte[] value)
Compares whether a given attribute's value matches that of the existing value of the attribute present in the entry with the given distinguished name.boolean
LdapNetworkConnection. compare(Dn dn, String attributeName, String value)
Compares whether a given attribute's value matches that of the existing value of the attribute present in the entry with the given distinguished name.boolean
LdapNetworkConnection. compare(Dn dn, String attributeName, Value value)
Compares whether a given attribute's value matches that of the existing value of the attribute present in the entry with the given distinguished name.CompareFuture
LdapAsyncConnection. compareAsync(CompareRequest compareRequest)
Asynchronously compares an entry's attribute's value with that of the given valueCompareFuture
LdapNetworkConnection. compareAsync(CompareRequest compareRequest)
Asynchronously compares an entry's attribute's value with that of the given valueboolean
LdapConnection. connect()
Connect to the remote LDAP server.boolean
LdapConnectionWrapper. connect()
Connect to the remote LDAP server.boolean
LdapNetworkConnection. connect()
Connect to the remote LDAP server.void
LdapConnection. delete(String dn)
Deletes the entry with the given distinguished name.DeleteResponse
LdapConnection. delete(DeleteRequest deleteRequest)
Performs a delete operation based on the delete request object.void
LdapConnection. delete(Dn dn)
Deletes the entry with the given distinguished name.void
LdapConnectionWrapper. delete(String dn)
Deletes the entry with the given distinguished name.DeleteResponse
LdapConnectionWrapper. delete(DeleteRequest deleteRequest)
Performs a delete operation based on the delete request object.void
LdapConnectionWrapper. delete(Dn dn)
Deletes the entry with the given distinguished name.void
LdapNetworkConnection. delete(String dn)
Deletes the entry with the given distinguished name.DeleteResponse
LdapNetworkConnection. delete(DeleteRequest deleteRequest)
Performs a delete operation based on the delete request object.void
LdapNetworkConnection. delete(Dn dn)
Deletes the entry with the given distinguished name.DeleteFuture
LdapAsyncConnection. deleteAsync(DeleteRequest delRequest)
Performs an asynchronous delete operation based on the delete request object.DeleteFuture
LdapNetworkConnection. deleteAsync(DeleteRequest deleteRequest)
Performs an asynchronous delete operation based on the delete request object.void
LdapNetworkConnection. deleteTree(String dn)
deletes the entry with the given Dn, and all its childrenvoid
LdapNetworkConnection. deleteTree(Dn dn)
deletes the entry with the given Dn, and all its childrenvoid
AbstractPoolableLdapConnectionFactory. destroyObject(org.apache.commons.pool2.PooledObject<LdapConnection> connection)
Destroying a connection will unbind it which will result on a shutdown of teh underlying protocol.boolean
LdapConnection. exists(String dn)
Tells if an entry exists in the server.boolean
LdapConnection. exists(Dn dn)
Tells if an Entry exists in the server.boolean
LdapConnectionWrapper. exists(String dn)
Tells if an entry exists in the server.boolean
LdapConnectionWrapper. exists(Dn dn)
Tells if an Entry exists in the server.boolean
LdapNetworkConnection. exists(String dn)
Tells if an entry exists in the server.boolean
LdapNetworkConnection. exists(Dn dn)
Tells if an Entry exists in the server.ExtendedResponse
LdapConnection. extended(String oid)
Sends a extended operation request to the server with the given OID and no value.ExtendedResponse
LdapConnection. extended(String oid, byte[] value)
Sends a extended operation request to the server with the given OID and value.ExtendedResponse
LdapConnection. extended(Oid oid)
Sends a extended operation request to the server with the given OID and no value.ExtendedResponse
LdapConnection. extended(Oid oid, byte[] value)
Sends a extended operation request to the server with the given OID and value.ExtendedResponse
LdapConnection. extended(ExtendedRequest extendedRequest)
Performs an extended operation based on the extended request object.ExtendedResponse
LdapConnectionWrapper. extended(String oid)
Sends a extended operation request to the server with the given OID and no value.ExtendedResponse
LdapConnectionWrapper. extended(String oid, byte[] value)
Sends a extended operation request to the server with the given OID and value.ExtendedResponse
LdapConnectionWrapper. extended(Oid oid)
Sends a extended operation request to the server with the given OID and no value.ExtendedResponse
LdapConnectionWrapper. extended(Oid oid, byte[] value)
Sends a extended operation request to the server with the given OID and value.ExtendedResponse
LdapConnectionWrapper. extended(ExtendedRequest extendedRequest)
Performs an extended operation based on the extended request object.ExtendedResponse
LdapNetworkConnection. extended(String oid)
Sends a extended operation request to the server with the given OID and no value.ExtendedResponse
LdapNetworkConnection. extended(String oid, byte[] value)
Sends a extended operation request to the server with the given OID and value.ExtendedResponse
LdapNetworkConnection. extended(Oid oid)
Sends a extended operation request to the server with the given OID and no value.ExtendedResponse
LdapNetworkConnection. extended(Oid oid, byte[] value)
Sends a extended operation request to the server with the given OID and value.ExtendedResponse
LdapNetworkConnection. extended(ExtendedRequest extendedRequest)
Performs an extended operation based on the extended request object.ExtendedResponse
MonitoringLdapConnection. extended(String oid)
Sends a extended operation request to the server with the given OID and no value.ExtendedResponse
MonitoringLdapConnection. extended(String oid, byte[] value)
Sends a extended operation request to the server with the given OID and value.ExtendedResponse
MonitoringLdapConnection. extended(Oid oid)
Sends a extended operation request to the server with the given OID and no value.ExtendedResponse
MonitoringLdapConnection. extended(Oid oid, byte[] value)
Sends a extended operation request to the server with the given OID and value.ExtendedResponse
MonitoringLdapConnection. extended(ExtendedRequest extendedRequest)
Performs an extended operation based on the extended request object.ExtendedFuture
LdapAsyncConnection. extendedAsync(ExtendedRequest extendedRequest)
Asynchronously requests the server to perform an extended operation based on the given request.ExtendedFuture
LdapNetworkConnection. extendedAsync(ExtendedRequest extendedRequest)
Asynchronously requests the server to perform an extended operation based on the given request.boolean
EntryCursorImpl. first()
This operation is not supported in SearchCursor.boolean
SearchCursorImpl. first()
This operation is not supported in SearchCursor.LdapConnection
LdapConnectionPool. getConnection()
Gives a LdapConnection fetched from the pool.Entry
SearchCursorImpl. getEntry()
IntermediateResponse
SearchCursorImpl. getIntermediate()
Referral
SearchCursorImpl. getReferral()
Entry
LdapConnection. getRootDse()
Get back the RooDSE from the connected server.Entry
LdapConnection. getRootDse(String... attributes)
Get back the RooDSE from the connected server.Entry
LdapConnectionWrapper. getRootDse()
Get back the RooDSE from the connected server.Entry
LdapConnectionWrapper. getRootDse(String... attributes)
Get back the RooDSE from the connected server.Entry
LdapNetworkConnection. getRootDse()
Get back the RooDSE from the connected server.Entry
LdapNetworkConnection. getRootDse(String... attributes)
Get back the RooDSE from the connected server.List<String>
LdapConnection. getSupportedControls()
Get the Controls supported by server.List<String>
LdapConnectionWrapper. getSupportedControls()
Get the Controls supported by server.List<String>
LdapNetworkConnection. getSupportedControls()
Get the Controls supported by server.boolean
LdapConnection. isControlSupported(String controlOID)
Checks if a control with the given OID is supported.boolean
LdapConnectionWrapper. isControlSupported(String controlOID)
Checks if a control with the given OID is supported.boolean
LdapNetworkConnection. isControlSupported(String controlOID)
Checks if a control with the given OID is supported.boolean
EntryCursorImpl. last()
This operation is not supported in SearchCursor.boolean
SearchCursorImpl. last()
This operation is not supported in SearchCursor.List<Entry>
DefaultSchemaLoader. loadAttributeTypes(Schema... schemas)
Build a list of AttributeTypes read from the underlying storage for a list of specified schemaList<Entry>
DefaultSchemaLoader. loadComparators(Schema... schemas)
Build a list of Comparators read from the underlying storage for a list of specific schema.List<Entry>
DefaultSchemaLoader. loadDitContentRules(Schema... schemas)
Build a list of DitContentRules read from the underlying storage for a list of specific schema.List<Entry>
DefaultSchemaLoader. loadDitStructureRules(Schema... schemas)
Build a list of DitStructureRules read from the underlying storage for a list of specific schema.List<Entry>
DefaultSchemaLoader. loadMatchingRules(Schema... schemas)
Build a list of MatchingRules read from the underlying storage for a list of specific schemaList<Entry>
DefaultSchemaLoader. loadMatchingRuleUses(Schema... schemas)
Build a list of MatchingRuleUses read from the underlying storage for a list of specific schema.List<Entry>
DefaultSchemaLoader. loadNameForms(Schema... schemas)
Build a list of NameForms read from the underlying storage for a list of specific schema.List<Entry>
DefaultSchemaLoader. loadNormalizers(Schema... schemas)
Build a list of Normalizers read from the underlying storage for a list of specified schemaList<Entry>
DefaultSchemaLoader. loadObjectClasses(Schema... schemas)
Build a list of ObjectClasses read from the underlying storage for a list of specific schema.void
LdapConnection. loadSchema()
Loads all the default schemas that are bundled with the API.
Note: This method enables all schemas prior to loading.void
LdapConnectionWrapper. loadSchema()
Loads all the default schemas that are bundled with the API.
Note: This method enables all schemas prior to loading.void
LdapNetworkConnection. loadSchema()
Loads all the default schemas that are bundled with the API.
Note: This method enables all schemas prior to loading.void
LdapNetworkConnection. loadSchema(SchemaLoader loader)
loads schema using the specified schema loadervoid
LdapConnection. loadSchemaRelaxed()
Loads all the default schemas that are bundled with the API, in a relaxed mode.
Note: This method enables all schemas prior to loading.
The relaxed mode will allow inconsistencies in the schema.void
LdapConnectionWrapper. loadSchemaRelaxed()
Loads all the default schemas that are bundled with the API, in a relaxed mode.
Note: This method enables all schemas prior to loading.
The relaxed mode will allow inconsistencies in the schema.void
LdapNetworkConnection. loadSchemaRelaxed()
Loads all the default schemas that are bundled with the API, in a relaxed mode.
Note: This method enables all schemas prior to loading.
The relaxed mode will allow inconsistencies in the schema.List<Entry>
DefaultSchemaLoader. loadSyntaxCheckers(Schema... schemas)
Build a list of SyntaxCheckers read from the underlying storage for a list of specified schemaList<Entry>
DefaultSchemaLoader. loadSyntaxes(Schema... schemas)
Build a list of Syntaxes read from the underlying storage for a list of specified schemaEntry
LdapConnection. lookup(String dn)
Searches for an entry having the given distinguished name.Entry
LdapConnection. lookup(String dn, String... attributes)
Searches for an entry having the given distinguished name.Entry
LdapConnection. lookup(String dn, Control[] controls, String... attributes)
Searches for an entry having the given distinguished name.Entry
LdapConnection. lookup(Dn dn)
Searches for an entry having the given distinguished name..Entry
LdapConnection. lookup(Dn dn, String... attributes)
Searches for an entry having the given distinguished name.Entry
LdapConnection. lookup(Dn dn, Control[] controls, String... attributes)
Searches for an entry having the given distinguished name.Entry
LdapConnectionWrapper. lookup(String dn)
Searches for an entry having the given distinguished name.Entry
LdapConnectionWrapper. lookup(String dn, String... attributes)
Searches for an entry having the given distinguished name.Entry
LdapConnectionWrapper. lookup(String dn, Control[] controls, String... attributes)
Searches for an entry having the given distinguished name.Entry
LdapConnectionWrapper. lookup(Dn dn)
Searches for an entry having the given distinguished name..Entry
LdapConnectionWrapper. lookup(Dn dn, String... attributes)
Searches for an entry having the given distinguished name.Entry
LdapConnectionWrapper. lookup(Dn dn, Control[] controls, String... attributes)
Searches for an entry having the given distinguished name.Entry
LdapNetworkConnection. lookup(String dn)
Searches for an entry having the given distinguished name.Entry
LdapNetworkConnection. lookup(String dn, String... attributes)
Searches for an entry having the given distinguished name.Entry
LdapNetworkConnection. lookup(String dn, Control[] controls, String... attributes)
Searches for an entry having the given distinguished name.Entry
LdapNetworkConnection. lookup(Dn dn)
Searches for an entry having the given distinguished name..Entry
LdapNetworkConnection. lookup(Dn dn, String... attributes)
Searches for an entry having the given distinguished name.Entry
LdapNetworkConnection. lookup(Dn dn, Control[] controls, String... attributes)
Searches for an entry having the given distinguished name.static void
LdifAnonymizer. main(String[] args)
The entry point, when used as a standalone application.org.apache.commons.pool2.PooledObject<LdapConnection>
AbstractPoolableLdapConnectionFactory. makeObject()
Specifically, we are creating a new connection based on the LdapConnection Factory we used to create this pool of connections.org.apache.commons.pool2.PooledObject<LdapConnection>
ValidatingPoolableLdapConnectionFactory. makeObject()
Specifically, we are creating a new connection based on the LdapConnection Factory we used to create this pool of connections.void
LdapConnection. modify(String dn, Modification... modifications)
Applies all the modifications to the entry specified by its distinguished name.void
LdapConnection. modify(Entry entry, ModificationOperation modOp)
Modifies all the attributes present in the entry by applying the same operation.ModifyResponse
LdapConnection. modify(ModifyRequest modRequest)
Performs an modify operation based on the modifications present in the modify request.void
LdapConnection. modify(Dn dn, Modification... modifications)
Applies all the modifications to the entry specified by its distinguished name.void
LdapConnectionWrapper. modify(String dn, Modification... modifications)
Applies all the modifications to the entry specified by its distinguished name.void
LdapConnectionWrapper. modify(Entry entry, ModificationOperation modOp)
Modifies all the attributes present in the entry by applying the same operation.ModifyResponse
LdapConnectionWrapper. modify(ModifyRequest modRequest)
Performs an modify operation based on the modifications present in the modify request.void
LdapConnectionWrapper. modify(Dn dn, Modification... modifications)
Applies all the modifications to the entry specified by its distinguished name.void
LdapNetworkConnection. modify(String dn, Modification... modifications)
Applies all the modifications to the entry specified by its distinguished name.void
LdapNetworkConnection. modify(Entry entry, ModificationOperation modOp)
Modifies all the attributes present in the entry by applying the same operation.ModifyResponse
LdapNetworkConnection. modify(ModifyRequest modRequest)
Performs an modify operation based on the modifications present in the modify request.void
LdapNetworkConnection. modify(Dn dn, Modification... modifications)
Applies all the modifications to the entry specified by its distinguished name.ModifyFuture
LdapAsyncConnection. modifyAsync(ModifyRequest modRequest)
Performs an asynchronous modify operation based on the modifications present in the ModifyRequest.ModifyFuture
LdapNetworkConnection. modifyAsync(ModifyRequest modRequest)
Performs an asynchronous modify operation based on the modifications present in the ModifyRequest.ModifyDnResponse
LdapConnection. modifyDn(ModifyDnRequest modDnRequest)
Performs the modifyDn operation based on the given request object.ModifyDnResponse
LdapConnectionWrapper. modifyDn(ModifyDnRequest modDnRequest)
Performs the modifyDn operation based on the given request object.ModifyDnResponse
LdapNetworkConnection. modifyDn(ModifyDnRequest modDnRequest)
Performs the modifyDn operation based on the given request object.ModifyDnFuture
LdapAsyncConnection. modifyDnAsync(ModifyDnRequest modDnRequest)
Performs the modifyDn operation based on the given ModifyDnRequest.ModifyDnFuture
LdapNetworkConnection. modifyDnAsync(ModifyDnRequest modDnRequest)
Performs the modifyDn operation based on the given ModifyDnRequest.void
LdapConnection. move(String entryDn, String newSuperiorDn)
Moves the given entry distinguished name under the new superior distinguished name.void
LdapConnection. move(Dn entryDn, Dn newSuperiorDn)
Moves the given entry distinguished name under the new superior distinguished name.void
LdapConnectionWrapper. move(String entryDn, String newSuperiorDn)
Moves the given entry distinguished name under the new superior distinguished name.void
LdapConnectionWrapper. move(Dn entryDn, Dn newSuperiorDn)
Moves the given entry distinguished name under the new superior distinguished name.void
LdapNetworkConnection. move(String entryDn, String newSuperiorDn)
Moves the given entry distinguished name under the new superior distinguished name.void
LdapNetworkConnection. move(Dn entryDn, Dn newSuperiorDn)
Moves the given entry distinguished name under the new superior distinguished name.void
LdapConnection. moveAndRename(String entryDn, String newDn)
Moves and renames the given entry distinguished name.void
LdapConnection. moveAndRename(String entryDn, String newDn, boolean deleteOldRdn)
Moves and renames the given entryDn.void
LdapConnection. moveAndRename(Dn entryDn, Dn newDn)
Moves and renames the given entryDn.void
LdapConnection. moveAndRename(Dn entryDn, Dn newDn, boolean deleteOldRdn)
Moves and renames the given entryDn.void
LdapConnectionWrapper. moveAndRename(String entryDn, String newDn)
Moves and renames the given entry distinguished name.void
LdapConnectionWrapper. moveAndRename(String entryDn, String newDn, boolean deleteOldRdn)
Moves and renames the given entryDn.void
LdapConnectionWrapper. moveAndRename(Dn entryDn, Dn newDn)
Moves and renames the given entryDn.void
LdapConnectionWrapper. moveAndRename(Dn entryDn, Dn newDn, boolean deleteOldRdn)
Moves and renames the given entryDn.void
LdapNetworkConnection. moveAndRename(String entryDn, String newDn)
Moves and renames the given entry distinguished name.void
LdapNetworkConnection. moveAndRename(String entryDn, String newDn, boolean deleteOldRdn)
Moves and renames the given entryDn.void
LdapNetworkConnection. moveAndRename(Dn entryDn, Dn newDn)
Moves and renames the given entryDn.void
LdapNetworkConnection. moveAndRename(Dn entryDn, Dn newDn, boolean deleteOldRdn)
Moves and renames the given entryDn.LdapConnection
DefaultLdapConnectionFactory. newLdapConnection()
Returns a newly created, configured, and authenticated connection.LdapConnection
LdapConnectionFactory. newLdapConnection()
Returns a newly created, configured, and authenticated connection.boolean
EntryCursorImpl. next()
Advances this Cursor to the next position.boolean
SearchCursorImpl. next()
Advances this Cursor to the next position.void
AbstractPoolableLdapConnectionFactory. passivateObject(org.apache.commons.pool2.PooledObject<LdapConnection> connection)
We don't do anything with the connection.void
ValidatingPoolableLdapConnectionFactory. passivateObject(org.apache.commons.pool2.PooledObject<LdapConnection> pooledObject)
We don't do anything with the connection.boolean
EntryCursorImpl. previous()
This operation is not supported in SearchCursor.boolean
SearchCursorImpl. previous()
This operation is not supported in SearchCursor.void
LdapConnectionPool. releaseConnection(LdapConnection connection)
Places the given LdapConnection back in the pool.void
LdapConnection. rename(String entryDn, String newRdn)
Renames the given entryDn with new relative distinguished name and deletes the old relative distinguished name.void
LdapConnection. rename(String entryDn, String newRdn, boolean deleteOldRdn)
Renames the given entryDn with new relative distinguished name and deletes the old relative distinguished name if deleteOldRdn is set to true.void
LdapConnection. rename(Dn entryDn, Rdn newRdn)
Renames the given entryDn with new relative distinguished name and deletes the old relative distinguished name.void
LdapConnection. rename(Dn entryDn, Rdn newRdn, boolean deleteOldRdn)
Renames the given entryDn with new relative distinguished name and deletes the old relative distinguished name if deleteOldRdn is set to true.void
LdapConnectionWrapper. rename(String entryDn, String newRdn)
Renames the given entryDn with new relative distinguished name and deletes the old relative distinguished name.void
LdapConnectionWrapper. rename(String entryDn, String newRdn, boolean deleteOldRdn)
Renames the given entryDn with new relative distinguished name and deletes the old relative distinguished name if deleteOldRdn is set to true.void
LdapConnectionWrapper. rename(Dn entryDn, Rdn newRdn)
Renames the given entryDn with new relative distinguished name and deletes the old relative distinguished name.void
LdapConnectionWrapper. rename(Dn entryDn, Rdn newRdn, boolean deleteOldRdn)
Renames the given entryDn with new relative distinguished name and deletes the old relative distinguished name if deleteOldRdn is set to true.void
LdapNetworkConnection. rename(String entryDn, String newRdn)
Renames the given entryDn with new relative distinguished name and deletes the old relative distinguished name.void
LdapNetworkConnection. rename(String entryDn, String newRdn, boolean deleteOldRdn)
Renames the given entryDn with new relative distinguished name and deletes the old relative distinguished name if deleteOldRdn is set to true.void
LdapNetworkConnection. rename(Dn entryDn, Rdn newRdn)
Renames the given entryDn with new relative distinguished name and deletes the old relative distinguished name.void
LdapNetworkConnection. rename(Dn entryDn, Rdn newRdn, boolean deleteOldRdn)
Renames the given entryDn with new relative distinguished name and deletes the old relative distinguished name if deleteOldRdn is set to true.EntryCursor
LdapConnection. search(String baseDn, String filter, SearchScope scope, String... attributes)
Do a search, on the base object, using the given filter and scope.SearchCursor
LdapConnection. search(SearchRequest searchRequest)
Performs search using a search request object.EntryCursor
LdapConnection. search(Dn baseDn, String filter, SearchScope scope, String... attributes)
Do a search, on the base object, using the given filter and scope.EntryCursor
LdapConnectionWrapper. search(String baseDn, String filter, SearchScope scope, String... attributes)
Do a search, on the base object, using the given filter and scope.SearchCursor
LdapConnectionWrapper. search(SearchRequest searchRequest)
Performs search using a search request object.EntryCursor
LdapConnectionWrapper. search(Dn baseDn, String filter, SearchScope scope, String... attributes)
Do a search, on the base object, using the given filter and scope.EntryCursor
LdapNetworkConnection. search(String baseDn, String filter, SearchScope scope, String... attributes)
Do a search, on the base object, using the given filter and scope.SearchCursor
LdapNetworkConnection. search(SearchRequest searchRequest)
Performs search using a search request object.SearchCursor
LdapNetworkConnection. search(SearchRequest searchRequest, long localSearchTimeout)
Search operation with explicit specification of operation timeout.EntryCursor
LdapNetworkConnection. search(Dn baseDn, String filter, SearchScope scope, String... attributes)
Do a search, on the base object, using the given filter and scope.SearchFuture
LdapAsyncConnection. searchAsync(String baseDn, String filter, SearchScope scope, String... attributes)
Do an asynchronous search, on the base object, using the given filter.SearchFuture
LdapAsyncConnection. searchAsync(SearchRequest searchRequest)
Do a search, on the base object, using the given filter.SearchFuture
LdapAsyncConnection. searchAsync(Dn baseDn, String filter, SearchScope scope, String... attributes)
Do an asynchronous search, on the base object, using the given filter.SearchFuture
LdapNetworkConnection. searchAsync(String baseDn, String filter, SearchScope scope, String... attributes)
Do an asynchronous search, on the base object, using the given filter.SearchFuture
LdapNetworkConnection. searchAsync(SearchRequest searchRequest)
Do a search, on the base object, using the given filter.SearchFuture
LdapNetworkConnection. searchAsync(Dn baseDn, String filter, SearchScope scope, String... attributes)
Do an asynchronous search, on the base object, using the given filter.void
LdapNetworkConnection. startTls()
Sends the StartTLS extended request to server and adds a security layer upon receiving a response with successful result.org.apache.mina.core.future.ConnectFuture
LdapNetworkConnection. tryConnect()
Process the connect.void
LdapConnection. unBind()
UnBind from a server.void
LdapConnectionWrapper. unBind()
UnBind from a server.void
LdapNetworkConnection. unBind()
UnBind from a server.Constructors in org.apache.directory.ldap.client.api that throw LdapException Constructor Description DefaultSchemaLoader(LdapConnection connection)
Creates a new instance of DefaultSchemaLoader.DefaultSchemaLoader(LdapConnection connection, boolean relaxed)
Creates a new instance of DefaultSchemaLoader.DefaultSchemaLoader(LdapConnection connection, Dn subschemaSubentryDn)
Creates a new instance of NetworkSchemaLoader. -
Uses of LdapException in org.apache.directory.ldap.client.api.exception
Subclasses of LdapException in org.apache.directory.ldap.client.api.exception Modifier and Type Class Description class
InvalidConnectionException
A InvalidConnectionException is thrown if one tries to apply an operation on a closed connectionclass
LdapConnectionTimeOutException
A LdapConnectionTimeOutException is thrown if there is an connection time-out situation. -
Uses of LdapException in org.apache.directory.ldap.client.template
Methods in org.apache.directory.ldap.client.template that throw LdapException Modifier and Type Method Description void
RequestBuilder. buildRequest(T request)
Modifies the provided request adding specific information to it.T
ConnectionCallback. doWithConnection(LdapConnection connection)
Provides a managed connection to the implementation of this method.T
EntryMapper. map(Entry entry)
Will be called once for each entry in the search result.ResultResponse
PasswordPolicyOperation. process()
Execute operations whose results imply somme sort of password policy information. -
Uses of LdapException in org.apache.directory.ldap.client.template.exception
Methods in org.apache.directory.ldap.client.template.exception that return LdapException Modifier and Type Method Description LdapException
PasswordException. getLdapException()
If an LdapException was thrown causing this exception, that LdapException is returned.Methods in org.apache.directory.ldap.client.template.exception with parameters of type LdapException Modifier and Type Method Description PasswordException
PasswordException. setLdapException(LdapException ldapException)
Sets the wrapped exceptionConstructors in org.apache.directory.ldap.client.template.exception with parameters of type LdapException Constructor Description LdapRuntimeException(LdapException exception)
Creates a new LdapRuntimeException instance
-