Package | Description |
---|---|
org.springframework.ldap |
Base package of Spring LDAP, containing an unchecked mirror of the JNDI NamingException hierarchy.
|
org.springframework.ldap.control |
Support classes for custom request control context processors.
|
org.springframework.ldap.core |
Core package of the JNDI/LDAP support.
|
org.springframework.ldap.core.support |
Support classes the core Spring LDAP package.
|
org.springframework.ldap.pool.factory |
Core classes for the pooling library.
|
org.springframework.ldap.support |
Support classes for Spring-LDAP.
|
org.springframework.ldap.transaction.compensating.manager |
The core implementation classes for client-side LDAP transactions.
|
Modifier and Type | Class and Description |
---|---|
class |
AttributeInUseException
Runtime exception mirroring the JNDI AttributeInUseException.
|
class |
AttributeModificationException
Runtime exception mirroring the JNDI AttributeModificationException.
|
class |
AuthenticationException
Runtime exception mirroring the JNDI AuthenticationException.
|
class |
AuthenticationNotSupportedException
Runtime exception mirroring the JNDI AuthenticationNotSupportedException.
|
class |
BadLdapGrammarException
Thrown to indicate that an invalid value has been supplied to an LDAP
operation.
|
class |
CannotProceedException
Runtime exception mirroring the JNDI CannotProceedException.
|
class |
CommunicationException
Runtime exception mirroring the JNDI CommunicationException.
|
class |
ConfigurationException
Runtime exception mirroring the JNDI ConfigurationException.
|
class |
ContextNotEmptyException
Runtime exception mirroring the JNDI ContextNotEmptyException.
|
class |
InsufficientResourcesException
Runtime exception mirroring the JNDI InsufficientResourcesException.
|
class |
InterruptedNamingException
Runtime exception mirroring the JNDI InterruptedNamingException.
|
class |
InvalidAttributeIdentifierException
Runtime exception mirroring the JNDI InvalidAttributeIdentifierException.
|
class |
InvalidAttributesException
Runtime exception mirroring the JNDI InvalidAttributesException.
|
class |
InvalidAttributeValueException
Runtime exception mirroring the JNDI InvalidAttributeValueException.
|
class |
InvalidNameException
Runtime exception mirroring the JNDI InvalidNameException.
|
class |
InvalidSearchControlsException
Runtime exception mirroring the JNDI InvalidSearchControlsException.
|
class |
InvalidSearchFilterException
Runtime exception mirroring the JNDI InvalidSearchFilterException.
|
class |
LdapReferralException
Runtime exception mirroring the JNDI LdapReferralException.
|
class |
LimitExceededException
Runtime exception mirroring the JNDI LimitExceededException.
|
class |
LinkException
Runtime exception mirroring the JNDI LinkException.
|
class |
LinkLoopException
Runtime exception mirroring the JNDI LinkLoopException.
|
class |
MalformedLinkException
Runtime exception mirroring the JNDI MalformedLinkException.
|
class |
NameAlreadyBoundException
Runtime exception mirroring the JNDI NameAlreadyBoundException.
|
class |
NameNotFoundException
Runtime exception mirroring the JNDI NameNotFoundException.
|
class |
NamingSecurityException
Runtime exception mirroring the JNDI NamingSecurityException.
|
class |
NoInitialContextException
Runtime exception mirroring the JNDI NoInitialContextException.
|
class |
NoPermissionException
Runtime exception mirroring the JNDI NoPermissionException.
|
class |
NoSuchAttributeException
Runtime exception mirroring the JNDI NoSuchAttributeException.
|
class |
NotContextException
Runtime exception mirroring the JNDI NotContextException.
|
class |
OperationNotSupportedException
Runtime exception mirroring the JNDI OperationNotSupportedException.
|
class |
PartialResultException
Runtime exception mirroring the JNDI PartialResultException.
|
class |
ReferralException
Runtime exception mirroring the JNDI ReferralException.
|
class |
SchemaViolationException
Runtime exception mirroring the JNDI SchemaViolationException.
|
class |
ServiceUnavailableException
Runtime exception mirroring the JNDI ServiceUnavailableException.
|
class |
SizeLimitExceededException
Runtime exception mirroring the JNDI SizeLimitExceededException.
|
class |
TimeLimitExceededException
Runtime exception mirroring the JNDI TimeLimitExceededException.
|
class |
UncategorizedLdapException
NamingException to be thrown when no other matching subclass is found.
|
Modifier and Type | Class and Description |
---|---|
class |
CreateControlFailedException
Thrown by an AbstractRequestControlDirContextProcessor when it cannot create
a request control.
|
Modifier and Type | Class and Description |
---|---|
class |
ObjectRetrievalException
Thrown by a
ContextMapperCallbackHandler when it cannot retrieve an
object from the given Binding . |
Modifier and Type | Method and Description |
---|---|
void |
LdapOperations.bind(Name dn,
Object obj,
Attributes attributes)
Create an entry in the LDAP tree.
|
void |
LdapOperations.bind(String dn,
Object obj,
Attributes attributes)
Create an entry in the LDAP tree.
|
Object |
LdapOperations.executeReadOnly(ContextExecutor ce)
Perform an operation (or series of operations) on a read-only context.
|
Object |
LdapOperations.executeReadWrite(ContextExecutor ce)
Perform an operation (or series of operations) on a read-write context.
|
DirContext |
ContextSource.getContext(String principal,
String credentials)
Gets a
DirContext instance authenticated using the supplied
principal and credentials. |
DirContext |
ContextSource.getReadOnlyContext()
Gets a read-only
DirContext . |
DirContext |
ContextSource.getReadWriteContext()
Gets a read-write
DirContext instance. |
List |
LdapOperations.list(Name base)
Perform a non-recursive listing of the children of the given
base . |
void |
LdapOperations.list(Name base,
NameClassPairCallbackHandler handler)
Perform a non-recursive listing of the children of the given
base . |
List |
LdapOperations.list(Name base,
NameClassPairMapper mapper)
Perform a non-recursive listing of the children of the given
base . |
List |
LdapOperations.list(String base)
Perform a non-recursive listing of the children of the given
base . |
void |
LdapOperations.list(String base,
NameClassPairCallbackHandler handler)
Perform a non-recursive listing of the children of the given
base . |
List |
LdapOperations.list(String base,
NameClassPairMapper mapper)
Perform a non-recursive listing of the children of the given
base . |
List |
LdapOperations.listBindings(Name base)
Perform a non-recursive listing of children of the given
base . |
List |
LdapOperations.listBindings(Name base,
ContextMapper mapper)
Perform a non-recursive listing of the children of the given
base . |
void |
LdapOperations.listBindings(Name base,
NameClassPairCallbackHandler handler)
Perform a non-recursive listing of the children of the given
base . |
List |
LdapOperations.listBindings(Name base,
NameClassPairMapper mapper)
Perform a non-recursive listing of the children of the given
base . |
List |
LdapOperations.listBindings(String base)
Perform a non-recursive listing of children of the given
base . |
List |
LdapOperations.listBindings(String base,
ContextMapper mapper)
Perform a non-recursive listing of the children of the given
base . |
void |
LdapOperations.listBindings(String base,
NameClassPairCallbackHandler handler)
Perform a non-recursive listing of the children of the given
base . |
List |
LdapOperations.listBindings(String base,
NameClassPairMapper mapper)
Perform a non-recursive listing of the children of the given
base . |
Object |
LdapOperations.lookup(Name dn)
Lookup the supplied DN and return the found object.
|
Object |
LdapOperations.lookup(Name dn,
AttributesMapper mapper)
Convenience method to get the attributes of a specified DN and
automatically pass them to an
AttributesMapper . |
Object |
LdapOperations.lookup(Name dn,
ContextMapper mapper)
Convenience method to lookup a specified DN and automatically pass the
found object to a
ContextMapper . |
Object |
LdapOperations.lookup(Name dn,
String[] attributes,
AttributesMapper mapper)
Convenience method to get the specified attributes of a specified DN and
automatically pass them to an
AttributesMapper . |
Object |
LdapOperations.lookup(Name dn,
String[] attributes,
ContextMapper mapper)
Convenience method to get the specified attributes of a specified DN and
automatically pass them to a
ContextMapper . |
Object |
LdapOperations.lookup(String dn)
Lookup the supplied DN and return the found object.
|
Object |
LdapOperations.lookup(String dn,
AttributesMapper mapper)
Convenience method to get the attributes of a specified DN and
automatically pass them to an
AttributesMapper . |
Object |
LdapOperations.lookup(String dn,
ContextMapper mapper)
Convenience method to lookup a specified DN and automatically pass the
found object to a
ContextMapper . |
Object |
LdapOperations.lookup(String dn,
String[] attributes,
AttributesMapper mapper)
Convenience method to get the specified attributes of a specified DN and
automatically pass them to an
AttributesMapper . |
Object |
LdapOperations.lookup(String dn,
String[] attributes,
ContextMapper mapper)
Convenience method to get the specified attributes of a specified DN and
automatically pass them to a
ContextMapper . |
DirContextOperations |
LdapOperations.lookupContext(Name dn)
Convenience method to lookup the supplied DN and automatically cast it to
DirContextOperations . |
DirContextOperations |
LdapOperations.lookupContext(String dn)
Convenience method to lookup the supplied DN and automatically cast it to
DirContextOperations . |
void |
LdapOperations.modifyAttributes(DirContextOperations ctx)
Modify the attributes of the entry referenced by the supplied
DirContextOperations instance. |
void |
LdapOperations.modifyAttributes(Name dn,
ModificationItem[] mods)
Modify an entry in the LDAP tree using the supplied
ModificationItems . |
void |
LdapOperations.modifyAttributes(String dn,
ModificationItem[] mods)
Modify an entry in the LDAP tree using the supplied
ModificationItems . |
void |
LdapOperations.rebind(Name dn,
Object obj,
Attributes attributes)
Remove an entry and replace it with a new one.
|
void |
LdapOperations.rebind(String dn,
Object obj,
Attributes attributes)
Remove an entry and replace it with a new one.
|
void |
LdapOperations.rename(Name oldDn,
Name newDn)
Move an entry in the LDAP tree to a new location.
|
void |
LdapOperations.rename(String oldDn,
String newDn)
Move an entry in the LDAP tree to a new location.
|
List |
LdapOperations.search(Name base,
String filter,
AttributesMapper mapper)
Search for all objects matching the supplied filter.
|
List |
LdapOperations.search(Name base,
String filter,
ContextMapper mapper)
Search for all objects matching the supplied filter.
|
List |
LdapOperations.search(Name base,
String filter,
int searchScope,
AttributesMapper mapper)
Search for all objects matching the supplied filter.
|
void |
LdapOperations.search(Name base,
String filter,
int searchScope,
boolean returningObjFlag,
NameClassPairCallbackHandler handler)
Search for all objects matching the supplied filter.
|
List |
LdapOperations.search(Name base,
String filter,
int searchScope,
ContextMapper mapper)
Search for all objects matching the supplied filter.
|
List |
LdapOperations.search(Name base,
String filter,
int searchScope,
String[] attrs,
AttributesMapper mapper)
Search for all objects matching the supplied filter.
|
List |
LdapOperations.search(Name base,
String filter,
int searchScope,
String[] attrs,
ContextMapper mapper)
Search for all objects matching the supplied filter.
|
void |
LdapOperations.search(Name base,
String filter,
NameClassPairCallbackHandler handler)
Search for all objects matching the supplied filter.
|
List |
LdapOperations.search(Name base,
String filter,
SearchControls controls,
AttributesMapper mapper)
Search for all objects matching the supplied filter.
|
List |
LdapOperations.search(Name base,
String filter,
SearchControls controls,
AttributesMapper mapper,
DirContextProcessor processor)
Search for all objects matching the supplied filter.
|
List |
LdapOperations.search(Name base,
String filter,
SearchControls controls,
ContextMapper mapper)
Search for all objects matching the supplied filter.
|
List |
LdapOperations.search(Name base,
String filter,
SearchControls controls,
ContextMapper mapper,
DirContextProcessor processor)
Search for all objects matching the supplied filter.
|
void |
LdapOperations.search(Name base,
String filter,
SearchControls controls,
NameClassPairCallbackHandler handler)
Search for all objects matching the supplied filter.
|
void |
LdapOperations.search(Name base,
String filter,
SearchControls controls,
NameClassPairCallbackHandler handler,
DirContextProcessor processor)
Search for all objects matching the supplied filter.
|
void |
LdapOperations.search(SearchExecutor se,
NameClassPairCallbackHandler handler)
Perform a search using a particular
SearchExecutor . |
void |
LdapOperations.search(SearchExecutor se,
NameClassPairCallbackHandler handler,
DirContextProcessor processor)
Perform a search using a particular
SearchExecutor and context
processor. |
List |
LdapOperations.search(String base,
String filter,
AttributesMapper mapper)
Search for all objects matching the supplied filter.
|
List |
LdapOperations.search(String base,
String filter,
ContextMapper mapper)
Search for all objects matching the supplied filter.
|
List |
LdapOperations.search(String base,
String filter,
int searchScope,
AttributesMapper mapper)
Search for all objects matching the supplied filter.
|
void |
LdapOperations.search(String base,
String filter,
int searchScope,
boolean returningObjFlag,
NameClassPairCallbackHandler handler)
Search for all objects matching the supplied filter.
|
List |
LdapOperations.search(String base,
String filter,
int searchScope,
ContextMapper mapper)
Search for all objects matching the supplied filter.
|
List |
LdapOperations.search(String base,
String filter,
int searchScope,
String[] attrs,
AttributesMapper mapper)
Search for all objects matching the supplied filter.
|
List |
LdapOperations.search(String base,
String filter,
int searchScope,
String[] attrs,
ContextMapper mapper)
Search for all objects matching the supplied filter.
|
void |
LdapOperations.search(String base,
String filter,
NameClassPairCallbackHandler handler)
Search for all objects matching the supplied filter.
|
List |
LdapOperations.search(String base,
String filter,
SearchControls controls,
AttributesMapper mapper)
Search for all objects matching the supplied filter.
|
List |
LdapOperations.search(String base,
String filter,
SearchControls controls,
AttributesMapper mapper,
DirContextProcessor processor)
Search for all objects matching the supplied filter.
|
List |
LdapOperations.search(String base,
String filter,
SearchControls controls,
ContextMapper mapper)
Search for all objects matching the supplied filter.
|
List |
LdapOperations.search(String base,
String filter,
SearchControls controls,
ContextMapper mapper,
DirContextProcessor processor)
Search for all objects matching the supplied filter.
|
void |
LdapOperations.search(String base,
String filter,
SearchControls controls,
NameClassPairCallbackHandler handler)
Search for all objects matching the supplied filter.
|
void |
LdapOperations.search(String base,
String filter,
SearchControls controls,
NameClassPairCallbackHandler handler,
DirContextProcessor processor)
Search for all objects matching the supplied filter.
|
void |
LdapOperations.unbind(Name dn)
Remove an entry from the LDAP tree.
|
void |
LdapOperations.unbind(Name dn,
boolean recursive)
Remove an entry from the LDAP tree, optionally removing all descendants
in the process.
|
void |
LdapOperations.unbind(String dn)
Remove an entry from the LDAP tree.
|
void |
LdapOperations.unbind(String dn,
boolean recursive)
Remove an entry from the LDAP tree, optionally removing all descendants
in the process.
|
Modifier and Type | Method and Description |
---|---|
DirContext |
SingleContextSource.getContext(String principal,
String credentials) |
DirContext |
SingleContextSource.getReadOnlyContext() |
DirContext |
SingleContextSource.getReadWriteContext() |
Modifier and Type | Method and Description |
---|---|
DirContext |
PoolingContextSource.getContext(String principal,
String credentials) |
DirContext |
PoolingContextSource.getReadOnlyContext() |
DirContext |
PoolingContextSource.getReadWriteContext() |
Modifier and Type | Method and Description |
---|---|
static NamingException |
LdapUtils.convertLdapException(NamingException ex)
Convert the specified checked
NamingException to a Spring LDAP runtime
NamingException
equivalent. |
Modifier and Type | Method and Description |
---|---|
DirContext |
TransactionAwareContextSourceProxy.getContext(String principal,
String credentials) |
DirContext |
TransactionAwareContextSourceProxy.getReadOnlyContext() |
DirContext |
TransactionAwareContextSourceProxy.getReadWriteContext() |
Copyright © 2005-2012 The Spring LDAP Framework. All Rights Reserved.