A B C D E F G H I J L M N O P Q R S T U W

A

AbstractContextSource - class net.sf.ldaptemplate.support.AbstractContextSource.
Abstract implementation of the ContextSource interface.
AbstractContextSource() - Constructor for class net.sf.ldaptemplate.support.AbstractContextSource
 
AbstractFilter - class net.sf.ldaptemplate.support.filter.AbstractFilter.
Convenience class that implements most of the methods in the Filter interface.
AbstractFilter() - Constructor for class net.sf.ldaptemplate.support.filter.AbstractFilter
 
AcegiAuthenticationSource - class net.sf.ldaptemplate.support.acegi.AcegiAuthenticationSource.
An AuthenticationSource to retrieve authentication information stored in Acegi's SecurityContextHolder.
AcegiAuthenticationSource() - Constructor for class net.sf.ldaptemplate.support.acegi.AcegiAuthenticationSource
 
AndFilter - class net.sf.ldaptemplate.support.filter.AndFilter.
A filter for a logical AND.
AndFilter() - Constructor for class net.sf.ldaptemplate.support.filter.AndFilter
 
AttributeModificationsAware - interface net.sf.ldaptemplate.support.AttributeModificationsAware.
Indicates that the implementor is capable of keeping track of any attribute modifications and return them as ModificationItems.
AttributesIntegrityViolationException - exception net.sf.ldaptemplate.AttributesIntegrityViolationException.
Exception that indicates that an invalid or missing Attribute has been supplied to an LDAP operation.
AttributesIntegrityViolationException(String) - Constructor for class net.sf.ldaptemplate.AttributesIntegrityViolationException
 
AttributesIntegrityViolationException(String, Throwable) - Constructor for class net.sf.ldaptemplate.AttributesIntegrityViolationException
 
AttributesMapper - interface net.sf.ldaptemplate.AttributesMapper.
Responsible for mapping from LDAP Attributes to beans.
AuthenticationSource - interface net.sf.ldaptemplate.AuthenticationSource.
An AuthenticationSource is responsible for providing the principal and credentials to be used when creating a new context.
add(String) - Method in class net.sf.ldaptemplate.support.DistinguishedName
 
add(int, String) - Method in class net.sf.ldaptemplate.support.DistinguishedName
 
add(String, String) - Method in class net.sf.ldaptemplate.support.DistinguishedName
 
addAll(Name) - Method in class net.sf.ldaptemplate.support.DistinguishedName
 
addAll(int, Name) - Method in class net.sf.ldaptemplate.support.DistinguishedName
 
addToEnvironment(String, Object) - Method in class net.sf.ldaptemplate.support.DirContextAdapter
 
afterPropertiesSet() - Method in class net.sf.ldaptemplate.LdapTemplate
 
afterPropertiesSet() - Method in class net.sf.ldaptemplate.support.AbstractContextSource
Checks that all necessary data is set and that there is no compatibility issues, after which the instance is initialized.
and(Filter) - Method in class net.sf.ldaptemplate.support.filter.AndFilter
Add a query to the and expression
append(DistinguishedName) - Method in class net.sf.ldaptemplate.support.DistinguishedName
Add a LDAP path first
assembleProviderUrlString(String[]) - Method in class net.sf.ldaptemplate.support.AbstractContextSource
Assemble a valid url String from all registered urls to add as PROVIDER_URL to the environment.

B

BadLdapGrammarException - exception net.sf.ldaptemplate.BadLdapGrammarException.
Thrown to indicate that an invalid value has been supplied to an LDAP operation.
BadLdapGrammarException(String) - Constructor for class net.sf.ldaptemplate.BadLdapGrammarException
 
BadLdapGrammarException(String, Throwable) - Constructor for class net.sf.ldaptemplate.BadLdapGrammarException
 
BinaryLogicalFilter - class net.sf.ldaptemplate.support.filter.BinaryLogicalFilter.
Abstract superclass for binary logical operations, that is "and" and "or" operations.
BinaryLogicalFilter() - Constructor for class net.sf.ldaptemplate.support.filter.BinaryLogicalFilter
 
bind(Name, Object, Attributes) - Method in interface net.sf.ldaptemplate.LdapOperations
Bind the supplied object together with the attributes to the specified dn.
bind(String, Object, Attributes) - Method in interface net.sf.ldaptemplate.LdapOperations
Bind the supplied object together with the attributes to the specified dn.
bind(Name, Object, Attributes) - Method in class net.sf.ldaptemplate.LdapTemplate
 
bind(String, Object, Attributes) - Method in class net.sf.ldaptemplate.LdapTemplate
 
bind(Name, Object, Attributes) - Method in class net.sf.ldaptemplate.support.DirContextAdapter
 
bind(String, Object, Attributes) - Method in class net.sf.ldaptemplate.support.DirContextAdapter
 
bind(Name, Object) - Method in class net.sf.ldaptemplate.support.DirContextAdapter
 
bind(String, Object) - Method in class net.sf.ldaptemplate.support.DirContextAdapter
 

C

CollectingSearchResultCallbackHandler - class net.sf.ldaptemplate.CollectingSearchResultCallbackHandler.
A SearchResultCallbackHandler to collect all results in an internal List.
CollectingSearchResultCallbackHandler() - Constructor for class net.sf.ldaptemplate.CollectingSearchResultCallbackHandler
 
CompareFilter - class net.sf.ldaptemplate.support.filter.CompareFilter.
Abstract superclass for filters to compare values, e.g.
CompareFilter(String, String) - Constructor for class net.sf.ldaptemplate.support.filter.CompareFilter
 
CompareFilter(String, int) - Constructor for class net.sf.ldaptemplate.support.filter.CompareFilter
Convenience constructor for int values.
ContextAssembler - interface net.sf.ldaptemplate.ContextAssembler.
Responsible for assembling to and from context.
ContextExecutor - interface net.sf.ldaptemplate.ContextExecutor.
Interface for delegating an actual operation to be performed on an DirContext.
ContextMapper - interface net.sf.ldaptemplate.ContextMapper.
Responsible for mapping from LDAP Contexts to beans.
ContextSource - interface net.sf.ldaptemplate.ContextSource.
Interface used to retrieve and authenticate LDAP contexts.
CountSearchResultCallbackHandler - class net.sf.ldaptemplate.support.CountSearchResultCallbackHandler.
A SearchResultCallbackHandler for counting all returned entries.
CountSearchResultCallbackHandler() - Constructor for class net.sf.ldaptemplate.support.CountSearchResultCallbackHandler
 
clone() - Method in class net.sf.ldaptemplate.support.DistinguishedName
 
close() - Method in class net.sf.ldaptemplate.support.DirContextAdapter
 
compareTo(Object) - Method in class net.sf.ldaptemplate.support.DistinguishedName
 
composeName(Name, Name) - Method in class net.sf.ldaptemplate.support.DirContextAdapter
 
composeName(String, String) - Method in class net.sf.ldaptemplate.support.DirContextAdapter
 
contains(DistinguishedName) - Method in class net.sf.ldaptemplate.support.DistinguishedName
Determines if a ldap path contains another path.
createSubcontext(Name, Attributes) - Method in class net.sf.ldaptemplate.support.DirContextAdapter
 
createSubcontext(String, Attributes) - Method in class net.sf.ldaptemplate.support.DirContextAdapter
 
createSubcontext(Name) - Method in class net.sf.ldaptemplate.support.DirContextAdapter
 
createSubcontext(String) - Method in class net.sf.ldaptemplate.support.DirContextAdapter
 

D

DefaultDirObjectFactory - class net.sf.ldaptemplate.support.DefaultDirObjectFactory.
Default implementation of the DirObjectFactory interface.
DefaultDirObjectFactory() - Constructor for class net.sf.ldaptemplate.support.DefaultDirObjectFactory
 
DefaultNamingExceptionTranslator - class net.sf.ldaptemplate.DefaultNamingExceptionTranslator.
The default implementation of NamingExceptionTranslator.
DefaultNamingExceptionTranslator() - Constructor for class net.sf.ldaptemplate.DefaultNamingExceptionTranslator
 
DirContextAdapter - class net.sf.ldaptemplate.support.DirContextAdapter.
Implements the interesting methods of the DirContext interface.
DirContextAdapter() - Constructor for class net.sf.ldaptemplate.support.DirContextAdapter
Default constructor.
DirContextAdapter(Name) - Constructor for class net.sf.ldaptemplate.support.DirContextAdapter
 
DirContextAdapter(Attributes, Name) - Constructor for class net.sf.ldaptemplate.support.DirContextAdapter
Create a new entry from the supplied attributes and dn.
DirContextAdapter(DirContextAdapter) - Constructor for class net.sf.ldaptemplate.support.DirContextAdapter
Constructor for cloning an existing entry.
DirContextOperations - interface net.sf.ldaptemplate.support.DirContextOperations.
Interface for DirContextAdapter to simplify mock testing.
DirContextSource - class net.sf.ldaptemplate.support.DirContextSource.
ContextSource implementation which creates InitialDirContext instances, for LDAPv2 compatibility.
DirContextSource() - Constructor for class net.sf.ldaptemplate.support.DirContextSource
 
DistinguishedName - class net.sf.ldaptemplate.support.DistinguishedName.
Default implementation of a Name corresponding to an LDAP path.
DistinguishedName() - Constructor for class net.sf.ldaptemplate.support.DistinguishedName
Construct a new DistinguishedName with no components.
DistinguishedName(String) - Constructor for class net.sf.ldaptemplate.support.DistinguishedName
Construct a new DistinguishedName from a String.
DistinguishedName(LinkedList) - Constructor for class net.sf.ldaptemplate.support.DistinguishedName
Construct a new DistinguishedName from the supplied List of LdapRdn objects.
DistinguishedName(Name) - Constructor for class net.sf.ldaptemplate.support.DistinguishedName
Construct a new DistinguishedName from the supplied Name.
deleteRecursively(DirContext, DistinguishedName) - Method in class net.sf.ldaptemplate.LdapTemplate
Delete all subcontexts including the current one recursively.
destroySubcontext(Name) - Method in class net.sf.ldaptemplate.support.DirContextAdapter
 
destroySubcontext(String) - Method in class net.sf.ldaptemplate.support.DirContextAdapter
 

E

EMPTY_PATH - Static variable in class net.sf.ldaptemplate.support.DistinguishedName
 
EntryNotFoundException - exception net.sf.ldaptemplate.EntryNotFoundException.
Represents that an entry could not be found.
EntryNotFoundException(String) - Constructor for class net.sf.ldaptemplate.EntryNotFoundException
 
EntryNotFoundException(String, Throwable) - Constructor for class net.sf.ldaptemplate.EntryNotFoundException
 
EqualsFilter - class net.sf.ldaptemplate.support.filter.EqualsFilter.
A filter for equals.
EqualsFilter(String, String) - Constructor for class net.sf.ldaptemplate.support.filter.EqualsFilter
 
EqualsFilter(String, int) - Constructor for class net.sf.ldaptemplate.support.filter.EqualsFilter
Convenience constructor for int values.
encode() - Method in class net.sf.ldaptemplate.support.DistinguishedName
Builds a complete LDAP path, ldap encoded, useful as a DN Always uses lowercase, always separates with ", " i.e. comma and a space.
encode(StringBuffer) - Method in class net.sf.ldaptemplate.support.filter.AbstractFilter
Prints the query with LDAP encoding to a stringbuffer
encode() - Method in class net.sf.ldaptemplate.support.filter.AbstractFilter
Encodes the filter to a string using the (@link #encode(StringBuffer) method.
encode(StringBuffer) - Method in class net.sf.ldaptemplate.support.filter.BinaryLogicalFilter
 
encode(StringBuffer) - Method in class net.sf.ldaptemplate.support.filter.CompareFilter
 
encode() - Method in interface net.sf.ldaptemplate.support.filter.Filter
Encodes the filter to a string using the (@link #encode(StringBuffer) method.
encode(StringBuffer) - Method in interface net.sf.ldaptemplate.support.filter.Filter
Prints the query with LDAP encoding to a stringbuffer
encode(StringBuffer) - Method in class net.sf.ldaptemplate.support.filter.NotFilter
 
encodeLdap() - Method in class net.sf.ldaptemplate.support.LdapRdn
Encode key and value to ldap
encodeUrl() - Method in class net.sf.ldaptemplate.support.LdapRdn
 
encodeValue(String) - Method in class net.sf.ldaptemplate.support.filter.CompareFilter
Override to perform special encoding in subclass.
encodeValue(String) - Method in class net.sf.ldaptemplate.support.filter.LikeFilter
Encodes a value according to the rules for this filter.
encodeValue(String) - Method in class net.sf.ldaptemplate.support.filter.WhitespaceWildcardsFilter
Encodes a value according to the rules for this filter.
endsWith(Name) - Method in class net.sf.ldaptemplate.support.DistinguishedName
Determines if this ldap path ends with a certian path.
equals(Object) - Method in class net.sf.ldaptemplate.support.DirContextAdapter
 
equals(Object) - Method in class net.sf.ldaptemplate.support.DistinguishedName
 
equals(Object) - Method in class net.sf.ldaptemplate.support.LdapRdn
 
equals(Object) - Method in class net.sf.ldaptemplate.support.filter.BinaryLogicalFilter
Compares each filter in turn
equals(Object) - Method in class net.sf.ldaptemplate.support.filter.CompareFilter
Compares key and value before encoding
equals(Object) - Method in interface net.sf.ldaptemplate.support.filter.Filter
All filters must implement equals.
equals(Object) - Method in class net.sf.ldaptemplate.support.filter.NotFilter
Compares key and value before encoding
executeReadOnly(ContextExecutor) - Method in interface net.sf.ldaptemplate.LdapOperations
Perform an operation (or series of operations) on a read-only context.
executeReadOnly(ContextExecutor) - Method in class net.sf.ldaptemplate.LdapTemplate
 
executeReadWrite(ContextExecutor) - Method in interface net.sf.ldaptemplate.LdapOperations
Perform an operation (or series of operations) on a read-write context.
executeReadWrite(ContextExecutor) - Method in class net.sf.ldaptemplate.LdapTemplate
 
executeSearch(DirContext) - Method in interface net.sf.ldaptemplate.SearchExecutor
Execute the actual search.
executeWithContext(DirContext) - Method in interface net.sf.ldaptemplate.ContextExecutor
Perform any operation on the context.
exists(Attribute) - Method in class net.sf.ldaptemplate.support.DirContextAdapter
Checks if an entry has a specific attribute.
exists(String) - Method in class net.sf.ldaptemplate.support.DirContextAdapter
Checks if the attribute exists in this entry, either it was read or it has been added and update() has been called.

F

Filter - interface net.sf.ldaptemplate.support.filter.Filter.
Common interface for filters.
filterEncode(String) - Static method in class net.sf.ldaptemplate.support.LdapEncoder
 

G

GreaterThanOrEqualsFilter - class net.sf.ldaptemplate.support.filter.GreaterThanOrEqualsFilter.
A filter to compare >=.
GreaterThanOrEqualsFilter(String, String) - Constructor for class net.sf.ldaptemplate.support.filter.GreaterThanOrEqualsFilter
 
GreaterThanOrEqualsFilter(String, int) - Constructor for class net.sf.ldaptemplate.support.filter.GreaterThanOrEqualsFilter
 
get(int) - Method in class net.sf.ldaptemplate.support.DistinguishedName
 
getAll() - Method in class net.sf.ldaptemplate.support.DistinguishedName
 
getAnonymousEnv() - Method in class net.sf.ldaptemplate.support.AbstractContextSource
 
getAttributeSortedStringSet(String) - Method in class net.sf.ldaptemplate.support.DirContextAdapter
 
getAttributeSortedStringSet(String) - Method in interface net.sf.ldaptemplate.support.DirContextOperations
Get all String values of the attribute as a SortedSet.
getAttributes() - Method in class net.sf.ldaptemplate.support.DirContextAdapter
Get all attributes.
getAttributes(Name) - Method in class net.sf.ldaptemplate.support.DirContextAdapter
 
getAttributes(String) - Method in class net.sf.ldaptemplate.support.DirContextAdapter
 
getAttributes(Name, String[]) - Method in class net.sf.ldaptemplate.support.DirContextAdapter
 
getAttributes(String, String[]) - Method in class net.sf.ldaptemplate.support.DirContextAdapter
 
getAuthenticatedEnv() - Method in class net.sf.ldaptemplate.support.AbstractContextSource
 
getCompareString() - Method in class net.sf.ldaptemplate.support.filter.CompareFilter
Implement this method in subclass to return a String representing the operator, e.g. the Equals sign, "=".
getCompareString() - Method in class net.sf.ldaptemplate.support.filter.EqualsFilter
 
getCompareString() - Method in class net.sf.ldaptemplate.support.filter.GreaterThanOrEqualsFilter
 
getCompareString() - Method in class net.sf.ldaptemplate.support.filter.LessThanOrEqualsFilter
 
getCredentials() - Method in interface net.sf.ldaptemplate.AuthenticationSource
Get the credentials to use when creating an authenticated context.
getCredentials() - Method in class net.sf.ldaptemplate.support.acegi.AcegiAuthenticationSource
 
getDirContextInstance(Hashtable) - Method in class net.sf.ldaptemplate.support.AbstractContextSource
Implement in subclass to create a DirContext of the desired type (e.g.
getDirContextInstance(Hashtable) - Method in class net.sf.ldaptemplate.support.DirContextSource
Create a new InitialDirContext instance.
getDirContextInstance(Hashtable) - Method in class net.sf.ldaptemplate.support.LdapContextSource
 
getDn() - Method in class net.sf.ldaptemplate.support.DirContextAdapter
 
getDn() - Method in interface net.sf.ldaptemplate.support.DirContextOperations
Returns DN, for example uid=some.user,ou=People,ou=EU.
getEnvironment() - Method in class net.sf.ldaptemplate.support.DirContextAdapter
 
getExceptionTranslator() - Method in class net.sf.ldaptemplate.LdapTemplate
Get the NamingExceptionTranslator that will be used by this instance.
getExceptionTranslator() - Method in class net.sf.ldaptemplate.support.AbstractContextSource
Get the NamingExceptionTranslator used by this instance.
getExceptionTranslator() - Method in class net.sf.ldaptemplate.support.DirContextAdapter
Get the NamingExceptionTranslator.
getKey() - Method in class net.sf.ldaptemplate.support.LdapRdn
 
getLdapEncoded() - Method in class net.sf.ldaptemplate.support.LdapRdn
 
getLdapRdn(int) - Method in class net.sf.ldaptemplate.support.DistinguishedName
Get the LdapRdn at a specified position.
getList() - Method in class net.sf.ldaptemplate.CollectingSearchResultCallbackHandler
Get the assembled list.
getLogicalOperator() - Method in class net.sf.ldaptemplate.support.filter.AndFilter
 
getLogicalOperator() - Method in class net.sf.ldaptemplate.support.filter.BinaryLogicalFilter
Implement this in subclass to return the logical operator, for example &qout;&&qout;.
getLogicalOperator() - Method in class net.sf.ldaptemplate.support.filter.OrFilter
 
getModificationItems() - Method in interface net.sf.ldaptemplate.support.AttributeModificationsAware
Creates an array of which attributes have been changed or added.
getModificationItems() - Method in class net.sf.ldaptemplate.support.DirContextAdapter
 
getNameInNamespace() - Method in class net.sf.ldaptemplate.support.DirContextAdapter
 
getNameParser(Name) - Method in class net.sf.ldaptemplate.support.DirContextAdapter
 
getNameParser(String) - Method in class net.sf.ldaptemplate.support.DirContextAdapter
 
getNames() - Method in class net.sf.ldaptemplate.support.DistinguishedName
Get the name list.
getNamesOfModifiedAttributes() - Method in class net.sf.ldaptemplate.support.DirContextAdapter
 
getNamesOfModifiedAttributes() - Method in interface net.sf.ldaptemplate.support.DirContextOperations
Creates a String array of the names of the attributes which have been changed.
getNoOfRows() - Method in class net.sf.ldaptemplate.support.CountSearchResultCallbackHandler
Get the number of rows that was returned by the search.
getObjectAttribute(String) - Method in class net.sf.ldaptemplate.support.DirContextAdapter
 
getObjectAttribute(String) - Method in interface net.sf.ldaptemplate.support.DirContextOperations
Get the value of an Object attribute.
getObjectFromResult(SearchResult) - Method in class net.sf.ldaptemplate.CollectingSearchResultCallbackHandler
Handle a single search result and transform it to an Object.
getObjectFromResult(SearchResult) - Method in class net.sf.ldaptemplate.LdapTemplate.AttributesMapperCallbackHandler
 
getObjectFromResult(SearchResult) - Method in class net.sf.ldaptemplate.LdapTemplate.ContextMapperCallbackHandler
 
getObjectInstance(Object, Name, Context, Hashtable, Attributes) - Method in class net.sf.ldaptemplate.support.DefaultDirObjectFactory
Creates a DirContextAdapter from the supplied arguments.
getObjectInstance(Object, Name, Context, Hashtable) - Method in class net.sf.ldaptemplate.support.DefaultDirObjectFactory
Returns null.
getPrefix(int) - Method in class net.sf.ldaptemplate.support.DistinguishedName
 
getPrincipal() - Method in interface net.sf.ldaptemplate.AuthenticationSource
Get the principal to use when creating an authenticated context.
getPrincipal() - Method in class net.sf.ldaptemplate.support.acegi.AcegiAuthenticationSource
Get the principals of the logged in user, in this case the distinguished name.
getReadOnlyContext() - Method in interface net.sf.ldaptemplate.ContextSource
Gets a read only LDAP context.
getReadOnlyContext() - Method in class net.sf.ldaptemplate.support.AbstractContextSource
 
getReadWriteContext() - Method in interface net.sf.ldaptemplate.ContextSource
Gets a read-write LDAP context.
getReadWriteContext() - Method in class net.sf.ldaptemplate.support.AbstractContextSource
 
getSchema(Name) - Method in class net.sf.ldaptemplate.support.DirContextAdapter
 
getSchema(String) - Method in class net.sf.ldaptemplate.support.DirContextAdapter
 
getSchemaClassDefinition(Name) - Method in class net.sf.ldaptemplate.support.DirContextAdapter
 
getSchemaClassDefinition(String) - Method in class net.sf.ldaptemplate.support.DirContextAdapter
 
getStringAttribute(String) - Method in class net.sf.ldaptemplate.support.DirContextAdapter
 
getStringAttribute(String) - Method in interface net.sf.ldaptemplate.support.DirContextOperations
Get the value of a String attribute.
getStringAttributes(String) - Method in class net.sf.ldaptemplate.support.DirContextAdapter
 
getStringAttributes(String) - Method in interface net.sf.ldaptemplate.support.DirContextOperations
Get all values of a String attribute.
getSuffix(int) - Method in class net.sf.ldaptemplate.support.DistinguishedName
 
getValue() - Method in class net.sf.ldaptemplate.support.LdapRdn
 

H

handleSearchResult(SearchResult) - Method in class net.sf.ldaptemplate.CollectingSearchResultCallbackHandler
 
handleSearchResult(SearchResult) - Method in interface net.sf.ldaptemplate.SearchResultCallbackHandler
Handle this entry.
handleSearchResult(SearchResult) - Method in class net.sf.ldaptemplate.support.CountSearchResultCallbackHandler
 
hashCode() - Method in class net.sf.ldaptemplate.support.DirContextAdapter
 
hashCode() - Method in class net.sf.ldaptemplate.support.DistinguishedName
 
hashCode() - Method in class net.sf.ldaptemplate.support.LdapRdn
 
hashCode() - Method in class net.sf.ldaptemplate.support.filter.BinaryLogicalFilter
Hashes all contained data
hashCode() - Method in class net.sf.ldaptemplate.support.filter.CompareFilter
hash attribute and value
hashCode() - Method in interface net.sf.ldaptemplate.support.filter.Filter
All filters must implement hashCode()
hashCode() - Method in class net.sf.ldaptemplate.support.filter.NotFilter
hash attribute and value

I

isEmpty() - Method in class net.sf.ldaptemplate.support.DistinguishedName
 
isUpdateMode() - Method in class net.sf.ldaptemplate.support.DirContextAdapter
 
isUpdateMode() - Method in interface net.sf.ldaptemplate.support.DirContextOperations
Gets the update mode.

J

JNDI_ENV_BASE_PATH_KEY - Static variable in class net.sf.ldaptemplate.support.DefaultDirObjectFactory
Key to use in the ContextSource implementation to store the value of the base path suffix, if any, in the Ldap Environment.

L

LdapContextSource - class net.sf.ldaptemplate.support.LdapContextSource.
ContextSource implementation which creates an InitialLdapContext instance.
LdapContextSource() - Constructor for class net.sf.ldaptemplate.support.LdapContextSource
 
LdapEncoder - class net.sf.ldaptemplate.support.LdapEncoder.
Helper class to encode and decode ldap names and values.
LdapOperations - interface net.sf.ldaptemplate.LdapOperations.
Interface that specifies a basic set of LDAP operations.
LdapRdn - class net.sf.ldaptemplate.support.LdapRdn.
Datatype for a LDAP name, a part of a path.
LdapRdn(String) - Constructor for class net.sf.ldaptemplate.support.LdapRdn
Constructs a RDN from an ldap encoded rdn "foo=bar".
LdapRdn(String, String) - Constructor for class net.sf.ldaptemplate.support.LdapRdn
Constructs a RDN from a key and a value.
LdapTemplate - class net.sf.ldaptemplate.LdapTemplate.
Executes core LDAP functionality and helps to avoid common errors, relieving the user of the burden of looking up contexts, looping through NamingEnumerations and closing contexts.
LdapTemplate() - Constructor for class net.sf.ldaptemplate.LdapTemplate
Constructor for bean usage.
LdapTemplate(ContextSource) - Constructor for class net.sf.ldaptemplate.LdapTemplate
Constructor to setup instance directly.
LdapTemplate.AttributesMapperCallbackHandler - class net.sf.ldaptemplate.LdapTemplate.AttributesMapperCallbackHandler.
A CollectingSearchResultCallbackHandler to wrap an AttributesMapper.
LdapTemplate.AttributesMapperCallbackHandler(AttributesMapper) - Constructor for class net.sf.ldaptemplate.LdapTemplate.AttributesMapperCallbackHandler
 
LdapTemplate.ContextMapperCallbackHandler - class net.sf.ldaptemplate.LdapTemplate.ContextMapperCallbackHandler.
A CollectingSearchResultCallbackHandler to wrap a ContextMapper.
LdapTemplate.ContextMapperCallbackHandler(ContextMapper) - Constructor for class net.sf.ldaptemplate.LdapTemplate.ContextMapperCallbackHandler
 
LessThanOrEqualsFilter - class net.sf.ldaptemplate.support.filter.LessThanOrEqualsFilter.
A filter to compare <=.
LessThanOrEqualsFilter(String, String) - Constructor for class net.sf.ldaptemplate.support.filter.LessThanOrEqualsFilter
 
LessThanOrEqualsFilter(String, int) - Constructor for class net.sf.ldaptemplate.support.filter.LessThanOrEqualsFilter
 
LikeFilter - class net.sf.ldaptemplate.support.filter.LikeFilter.
This filter allows the user to specify wildcards.
LikeFilter(String, String) - Constructor for class net.sf.ldaptemplate.support.filter.LikeFilter
 
list(Name) - Method in class net.sf.ldaptemplate.support.DirContextAdapter
 
list(String) - Method in class net.sf.ldaptemplate.support.DirContextAdapter
 
listBindings(Name) - Method in class net.sf.ldaptemplate.support.DirContextAdapter
 
listBindings(String) - Method in class net.sf.ldaptemplate.support.DirContextAdapter
 
lookup(Name) - Method in interface net.sf.ldaptemplate.LdapOperations
Lookup the supplied DN and return the found object.
lookup(String) - Method in interface net.sf.ldaptemplate.LdapOperations
Lookup the supplied DN and return the found object.
lookup(Name, AttributesMapper) - Method in interface net.sf.ldaptemplate.LdapOperations
Convenience method to get the attributes of a specified DN and automatically pass them to an AttributesMapper.
lookup(String, AttributesMapper) - Method in interface net.sf.ldaptemplate.LdapOperations
Convenience method to get the attributes of a specified DN and automatically pass them to an AttributesMapper.
lookup(Name, ContextMapper) - Method in interface net.sf.ldaptemplate.LdapOperations
Convenience method to lookup a specified DN and automatically pass the found objectt to a ContextMapper.
lookup(String, ContextMapper) - Method in interface net.sf.ldaptemplate.LdapOperations
Convenience method to lookup a specified DN and automatically pass the found objectt to a ContextMapper.
lookup(Name) - Method in class net.sf.ldaptemplate.LdapTemplate
 
lookup(String) - Method in class net.sf.ldaptemplate.LdapTemplate
 
lookup(Name, AttributesMapper) - Method in class net.sf.ldaptemplate.LdapTemplate
 
lookup(String, AttributesMapper) - Method in class net.sf.ldaptemplate.LdapTemplate
 
lookup(Name, ContextMapper) - Method in class net.sf.ldaptemplate.LdapTemplate
 
lookup(String, ContextMapper) - Method in class net.sf.ldaptemplate.LdapTemplate
 
lookup(Name) - Method in class net.sf.ldaptemplate.support.DirContextAdapter
 
lookup(String) - Method in class net.sf.ldaptemplate.support.DirContextAdapter
 
lookupLink(Name) - Method in class net.sf.ldaptemplate.support.DirContextAdapter
 
lookupLink(String) - Method in class net.sf.ldaptemplate.support.DirContextAdapter
 

M

mapFromAttributes(Attributes) - Method in interface net.sf.ldaptemplate.AttributesMapper
Map Attributes to an object.
mapFromContext(Object) - Method in interface net.sf.ldaptemplate.ContextMapper
Map a single LDAP Context to an object.
mapToContext(Object, Object) - Method in interface net.sf.ldaptemplate.ContextAssembler
Map the supplied object to the specified context.
modifyAttributes(Name, ModificationItem[]) - Method in interface net.sf.ldaptemplate.LdapOperations
Modify the distinguished name dn with the supplied ModificationItems.
modifyAttributes(String, ModificationItem[]) - Method in interface net.sf.ldaptemplate.LdapOperations
Modify the distinguished name dn with the supplied ModificationItems.
modifyAttributes(Name, ModificationItem[]) - Method in class net.sf.ldaptemplate.LdapTemplate
 
modifyAttributes(String, ModificationItem[]) - Method in class net.sf.ldaptemplate.LdapTemplate
 
modifyAttributes(Name, int, Attributes) - Method in class net.sf.ldaptemplate.support.DirContextAdapter
 
modifyAttributes(String, int, Attributes) - Method in class net.sf.ldaptemplate.support.DirContextAdapter
 
modifyAttributes(Name, ModificationItem[]) - Method in class net.sf.ldaptemplate.support.DirContextAdapter
 
modifyAttributes(String, ModificationItem[]) - Method in class net.sf.ldaptemplate.support.DirContextAdapter
 

N

NAME_PATTERN - Static variable in class net.sf.ldaptemplate.support.DistinguishedName
 
NamingExceptionTranslator - interface net.sf.ldaptemplate.NamingExceptionTranslator.
Interface to be implemented by classes that can translate between NamingExceptions and DataAccessExceptions.
NotFilter - class net.sf.ldaptemplate.support.filter.NotFilter.
Decorator filter for NOT. (!
NotFilter(Filter) - Constructor for class net.sf.ldaptemplate.support.filter.NotFilter
 
nameDecode(String) - Static method in class net.sf.ldaptemplate.support.LdapEncoder
Decodes a value.
nameEncode(String) - Static method in class net.sf.ldaptemplate.support.LdapEncoder
LDAP Encodes a value for use with a DN.
net.sf.ldaptemplate - package net.sf.ldaptemplate
The core package of the LdapTemplate framework.
net.sf.ldaptemplate.support - package net.sf.ldaptemplate.support
Support classes for LdapTemplate.
net.sf.ldaptemplate.support.acegi - package net.sf.ldaptemplate.support.acegi
Support classes to enable individual authentication of Contexts using Acegi security.
net.sf.ldaptemplate.support.filter - package net.sf.ldaptemplate.support.filter
This package contains utility classes for dynamically building LDAP filters.

O

OrFilter - class net.sf.ldaptemplate.support.filter.OrFilter.
Filter for logical OR.
OrFilter() - Constructor for class net.sf.ldaptemplate.support.filter.OrFilter
 
or(Filter) - Method in class net.sf.ldaptemplate.support.filter.OrFilter
Add a query to the OR expression

P

parse(String) - Method in class net.sf.ldaptemplate.support.DistinguishedName
Parse the supplied String and make this instance represent the corresponding distinguished name.
parse(String) - Static method in class net.sf.ldaptemplate.support.LdapRdn
Parse the supplied String for a valid LdapRdn.
parseLdap(String) - Method in class net.sf.ldaptemplate.support.LdapRdn
 
password - Variable in class net.sf.ldaptemplate.support.AbstractContextSource
 
prepend(DistinguishedName) - Method in class net.sf.ldaptemplate.support.DistinguishedName
Add a LDAP path first

Q

queryList - Variable in class net.sf.ldaptemplate.support.filter.BinaryLogicalFilter
 

R

RDN_PATTERN - Static variable in class net.sf.ldaptemplate.support.LdapRdn
 
rebind(Name, Object, Attributes) - Method in interface net.sf.ldaptemplate.LdapOperations
Rebind the name to the object along with the specified attributes, overwriting any previous values.
rebind(String, Object, Attributes) - Method in interface net.sf.ldaptemplate.LdapOperations
Rebind the name to the object along with the specified attributes, overwriting any previous values.
rebind(Name, Object, Attributes) - Method in class net.sf.ldaptemplate.LdapTemplate
 
rebind(String, Object, Attributes) - Method in class net.sf.ldaptemplate.LdapTemplate
 
rebind(Name, Object, Attributes) - Method in class net.sf.ldaptemplate.support.DirContextAdapter
 
rebind(String, Object, Attributes) - Method in class net.sf.ldaptemplate.support.DirContextAdapter
 
rebind(Name, Object) - Method in class net.sf.ldaptemplate.support.DirContextAdapter
 
rebind(String, Object) - Method in class net.sf.ldaptemplate.support.DirContextAdapter
 
remove(int) - Method in class net.sf.ldaptemplate.support.DistinguishedName
 
removeFirst() - Method in class net.sf.ldaptemplate.support.DistinguishedName
Remove the first part of this DistinguishedName.
removeFirst(Name) - Method in class net.sf.ldaptemplate.support.DistinguishedName
Remove the supplied path from the beginning of this DistinguishedName if this instance starts with .
removeFromEnvironment(String) - Method in class net.sf.ldaptemplate.support.DirContextAdapter
 
removeLast() - Method in class net.sf.ldaptemplate.support.DistinguishedName
Remove the ldast part of this DistinguishedName.
rename(Name, Name) - Method in interface net.sf.ldaptemplate.LdapOperations
Binds a new name to the object bound to an old name, and unbinds the old name.
rename(String, String) - Method in interface net.sf.ldaptemplate.LdapOperations
Binds a new name to the object bound to an old name, and unbinds the old name.
rename(Name, Name) - Method in class net.sf.ldaptemplate.LdapTemplate
 
rename(String, String) - Method in class net.sf.ldaptemplate.LdapTemplate
 
rename(Name, Name) - Method in class net.sf.ldaptemplate.support.DirContextAdapter
 
rename(String, String) - Method in class net.sf.ldaptemplate.support.DirContextAdapter
 

S

SUN_LDAP_POOLING_FLAG - Static variable in class net.sf.ldaptemplate.support.AbstractContextSource
 
SearchExecutor - interface net.sf.ldaptemplate.SearchExecutor.
Interface for delegating an actual search operation.
SearchLimitExceededException - exception net.sf.ldaptemplate.SearchLimitExceededException.
Indicates that the search limit was exceeded in a search.
SearchLimitExceededException(String) - Constructor for class net.sf.ldaptemplate.SearchLimitExceededException
 
SearchLimitExceededException(String, Throwable) - Constructor for class net.sf.ldaptemplate.SearchLimitExceededException
 
SearchResultCallbackHandler - interface net.sf.ldaptemplate.SearchResultCallbackHandler.
Responsible for handling a single SearchResult returned by an LDAP seach.
search(SearchExecutor, SearchResultCallbackHandler) - Method in interface net.sf.ldaptemplate.LdapOperations
Perform a search.
search(Name, String, SearchControls, SearchResultCallbackHandler) - Method in interface net.sf.ldaptemplate.LdapOperations
Search for all objects matching the supplied filter.
search(String, String, SearchControls, SearchResultCallbackHandler) - Method in interface net.sf.ldaptemplate.LdapOperations
Search for all objects matching the supplied filter.
search(Name, String, int, boolean, SearchResultCallbackHandler) - Method in interface net.sf.ldaptemplate.LdapOperations
Search for all objects matching the supplied filter.
search(String, String, int, boolean, SearchResultCallbackHandler) - Method in interface net.sf.ldaptemplate.LdapOperations
Search for all objects matching the supplied filter.
search(Name, String, SearchResultCallbackHandler) - Method in interface net.sf.ldaptemplate.LdapOperations
Search for all objects matching the supplied filter.
search(String, String, SearchResultCallbackHandler) - Method in interface net.sf.ldaptemplate.LdapOperations
Search for all objects matching the supplied filter.
search(Name, String, int, AttributesMapper) - Method in interface net.sf.ldaptemplate.LdapOperations
Search for all objects matching the supplied filter.
search(String, String, int, AttributesMapper) - Method in interface net.sf.ldaptemplate.LdapOperations
Search for all objects matching the supplied filter.
search(Name, String, AttributesMapper) - Method in interface net.sf.ldaptemplate.LdapOperations
Search for all objects matching the supplied filter.
search(String, String, AttributesMapper) - Method in interface net.sf.ldaptemplate.LdapOperations
Search for all objects matching the supplied filter.
search(Name, String, int, ContextMapper) - Method in interface net.sf.ldaptemplate.LdapOperations
Search for all objects matching the supplied filter.
search(String, String, int, ContextMapper) - Method in interface net.sf.ldaptemplate.LdapOperations
Search for all objects matching the supplied filter.
search(Name, String, ContextMapper) - Method in interface net.sf.ldaptemplate.LdapOperations
Search for all objects matching the supplied filter.
search(String, String, ContextMapper) - Method in interface net.sf.ldaptemplate.LdapOperations
Search for all objects matching the supplied filter.
search(String, String, SearchControls, ContextMapper) - Method in interface net.sf.ldaptemplate.LdapOperations
Search for all objects matching the supplied filter.
search(Name, String, SearchControls, ContextMapper) - Method in interface net.sf.ldaptemplate.LdapOperations
Search for all objects matching the supplied filter.
search(String, String, SearchControls, AttributesMapper) - Method in interface net.sf.ldaptemplate.LdapOperations
Search for all objects matching the supplied filter.
search(Name, String, SearchControls, AttributesMapper) - Method in interface net.sf.ldaptemplate.LdapOperations
Search for all objects matching the supplied filter.
search(Name, String, int, boolean, SearchResultCallbackHandler) - Method in class net.sf.ldaptemplate.LdapTemplate
 
search(String, String, int, boolean, SearchResultCallbackHandler) - Method in class net.sf.ldaptemplate.LdapTemplate
 
search(Name, String, SearchControls, SearchResultCallbackHandler) - Method in class net.sf.ldaptemplate.LdapTemplate
 
search(String, String, SearchControls, SearchResultCallbackHandler) - Method in class net.sf.ldaptemplate.LdapTemplate
 
search(SearchExecutor, SearchResultCallbackHandler) - Method in class net.sf.ldaptemplate.LdapTemplate
 
search(Name, String, SearchResultCallbackHandler) - Method in class net.sf.ldaptemplate.LdapTemplate
 
search(String, String, SearchResultCallbackHandler) - Method in class net.sf.ldaptemplate.LdapTemplate
 
search(Name, String, int, AttributesMapper) - Method in class net.sf.ldaptemplate.LdapTemplate
 
search(String, String, int, AttributesMapper) - Method in class net.sf.ldaptemplate.LdapTemplate
 
search(Name, String, AttributesMapper) - Method in class net.sf.ldaptemplate.LdapTemplate
 
search(String, String, AttributesMapper) - Method in class net.sf.ldaptemplate.LdapTemplate
 
search(Name, String, int, ContextMapper) - Method in class net.sf.ldaptemplate.LdapTemplate
 
search(String, String, int, ContextMapper) - Method in class net.sf.ldaptemplate.LdapTemplate
 
search(Name, String, ContextMapper) - Method in class net.sf.ldaptemplate.LdapTemplate
 
search(String, String, ContextMapper) - Method in class net.sf.ldaptemplate.LdapTemplate
 
search(String, String, SearchControls, ContextMapper) - Method in class net.sf.ldaptemplate.LdapTemplate
 
search(Name, String, SearchControls, ContextMapper) - Method in class net.sf.ldaptemplate.LdapTemplate
 
search(Name, String, SearchControls, AttributesMapper) - Method in class net.sf.ldaptemplate.LdapTemplate
 
search(String, String, SearchControls, AttributesMapper) - Method in class net.sf.ldaptemplate.LdapTemplate
 
search(Name, Attributes, String[]) - Method in class net.sf.ldaptemplate.support.DirContextAdapter
 
search(String, Attributes, String[]) - Method in class net.sf.ldaptemplate.support.DirContextAdapter
 
search(Name, Attributes) - Method in class net.sf.ldaptemplate.support.DirContextAdapter
 
search(String, Attributes) - Method in class net.sf.ldaptemplate.support.DirContextAdapter
 
search(Name, String, SearchControls) - Method in class net.sf.ldaptemplate.support.DirContextAdapter
 
search(String, String, SearchControls) - Method in class net.sf.ldaptemplate.support.DirContextAdapter
 
search(Name, String, Object[], SearchControls) - Method in class net.sf.ldaptemplate.support.DirContextAdapter
 
search(String, String, Object[], SearchControls) - Method in class net.sf.ldaptemplate.support.DirContextAdapter
 
setAttribute(Attribute) - Method in class net.sf.ldaptemplate.support.DirContextAdapter
Set the supplied attribute.
setAttributeValue(String, Object) - Method in class net.sf.ldaptemplate.support.DirContextAdapter
 
setAttributeValue(String, Object) - Method in interface net.sf.ldaptemplate.support.DirContextOperations
Set the with the name name to the value.
setAttributeValues(String, Object[]) - Method in class net.sf.ldaptemplate.support.DirContextAdapter
 
setAttributeValues(String, Object[], boolean) - Method in class net.sf.ldaptemplate.support.DirContextAdapter
 
setAttributeValues(String, Object[]) - Method in interface net.sf.ldaptemplate.support.DirContextOperations
Sets a multivalue attribute, disregarding the order of the values.
setAttributeValues(String, Object[], boolean) - Method in interface net.sf.ldaptemplate.support.DirContextOperations
Sets a multivalue attribute.
setAuthenticatedReadOnly(boolean) - Method in class net.sf.ldaptemplate.support.AbstractContextSource
Set to true if an authenticated environment should be created for read-only operations.
setAuthenticationSource(AuthenticationSource) - Method in class net.sf.ldaptemplate.support.AbstractContextSource
 
setBase(String) - Method in class net.sf.ldaptemplate.support.AbstractContextSource
Set the base suffix from which all operations should origin.
setBaseEnvironmentProperties(Map) - Method in class net.sf.ldaptemplate.support.AbstractContextSource
If any custom environment properties are needed, these can be set using this method.
setCacheEnvironmentProperties(boolean) - Method in class net.sf.ldaptemplate.support.AbstractContextSource
Set whether environment properties should be cached between requsts for anonymous environment.
setContextFactory(Class) - Method in class net.sf.ldaptemplate.support.AbstractContextSource
Set the context factory.
setContextSource(ContextSource) - Method in class net.sf.ldaptemplate.LdapTemplate
Set the ContextSource.
setDirObjectFactory(Class) - Method in class net.sf.ldaptemplate.support.AbstractContextSource
Set the DirObjectFactory to use.
setDn(Name) - Method in class net.sf.ldaptemplate.support.DirContextAdapter
 
setDn(Name) - Method in interface net.sf.ldaptemplate.support.DirContextOperations
Set the dn of this entry.
setExceptionTranslator(NamingExceptionTranslator) - Method in class net.sf.ldaptemplate.LdapTemplate
Set the NamingExceptionTranslator to be used by this instance.
setExceptionTranslator(NamingExceptionTranslator) - Method in class net.sf.ldaptemplate.support.AbstractContextSource
Set the NamingExceptionTranslator to be used by this instance.
setExceptionTranslator(NamingExceptionTranslator) - Method in class net.sf.ldaptemplate.support.DirContextAdapter
Set the NamingExceptionTranslator to use.
setIgnorePartialResultException(boolean) - Method in class net.sf.ldaptemplate.LdapTemplate
Specify whether PartialResultException should be ignored in searches.
setPassword(String) - Method in class net.sf.ldaptemplate.support.AbstractContextSource
Set the password (credentials) to use for getting authenticated contexts.
setPooled(boolean) - Method in class net.sf.ldaptemplate.support.AbstractContextSource
Set whether the pooling flag should be set.
setUpdateMode(boolean) - Method in class net.sf.ldaptemplate.support.DirContextAdapter
Sets the update mode.
setUrl(String) - Method in class net.sf.ldaptemplate.support.AbstractContextSource
Set the url of the LDAP server.
setUrls(String[]) - Method in class net.sf.ldaptemplate.support.AbstractContextSource
Set the urls of the LDAP servers.
setUserName(String) - Method in class net.sf.ldaptemplate.support.AbstractContextSource
Set the user name (principal) to use for getting authenticated contexts.
setupAuthenticatedEnvironment(Hashtable) - Method in class net.sf.ldaptemplate.support.AbstractContextSource
Default implementation of setting the environment up to be authenticated.
size() - Method in class net.sf.ldaptemplate.support.DistinguishedName
 
startsWith(Name) - Method in class net.sf.ldaptemplate.support.DistinguishedName
 

T

toString() - Method in class net.sf.ldaptemplate.support.DirContextAdapter
 
toString() - Method in class net.sf.ldaptemplate.support.DistinguishedName
Get the String representation of this DistinguishedName.
toString() - Method in class net.sf.ldaptemplate.support.LdapRdn
 
toString() - Method in class net.sf.ldaptemplate.support.filter.AbstractFilter
 
toTwoCharHex(char) - Static method in class net.sf.ldaptemplate.support.LdapEncoder
 
toUrl() - Method in class net.sf.ldaptemplate.support.DistinguishedName
Builds a complete LDAP path, ldap and url encoded.
translate(NamingException) - Method in class net.sf.ldaptemplate.DefaultNamingExceptionTranslator
 
translate(NamingException) - Method in interface net.sf.ldaptemplate.NamingExceptionTranslator
Translate the given NamingException into a generic data access exception.

U

UncategorizedLdapException - exception net.sf.ldaptemplate.UncategorizedLdapException.
Indicates that an unknown NamingException has occurred.
UncategorizedLdapException(String, Throwable) - Constructor for class net.sf.ldaptemplate.UncategorizedLdapException
 
unbind(Name) - Method in interface net.sf.ldaptemplate.LdapOperations
Unbind the specified distinguished name.
unbind(String) - Method in interface net.sf.ldaptemplate.LdapOperations
Unbind the specified distinguished name.
unbind(Name, boolean) - Method in interface net.sf.ldaptemplate.LdapOperations
Unbind the specified distinguished name.
unbind(String, boolean) - Method in interface net.sf.ldaptemplate.LdapOperations
Unbind the specified distinguished name.
unbind(Name) - Method in class net.sf.ldaptemplate.LdapTemplate
 
unbind(String) - Method in class net.sf.ldaptemplate.LdapTemplate
 
unbind(Name, boolean) - Method in class net.sf.ldaptemplate.LdapTemplate
 
unbind(String, boolean) - Method in class net.sf.ldaptemplate.LdapTemplate
 
unbind(Name) - Method in class net.sf.ldaptemplate.support.DirContextAdapter
 
unbind(String) - Method in class net.sf.ldaptemplate.support.DirContextAdapter
 
update() - Method in class net.sf.ldaptemplate.support.DirContextAdapter
 
update() - Method in interface net.sf.ldaptemplate.support.DirContextOperations
Update the attributes.
userName - Variable in class net.sf.ldaptemplate.support.AbstractContextSource
 

W

WhitespaceWildcardsFilter - class net.sf.ldaptemplate.support.filter.WhitespaceWildcardsFilter.
This filter takes a automatically converts all whitespace to * wildcards.
WhitespaceWildcardsFilter(String, String) - Constructor for class net.sf.ldaptemplate.support.filter.WhitespaceWildcardsFilter
 

A B C D E F G H I J L M N O P Q R S T U W

Copyright © 2006 Jayway AB. All Rights Reserved.