Commit Graph

65 Commits

Author SHA1 Message Date
Ulrik Sandberg
06ce5a9bf6 Added attributeExists method so user can distinguish between attribute not exists or exists with no value.
Improved javadoc for getObjectAttribute and getStringAttribute to reflect the new meaning of null.
LDAP-215
2010-10-03 22:18:34 +00:00
Ulrik Sandberg
5b662eff8c Added a check for empty attribute. LDAP-215 2010-09-25 21:25:18 +00:00
Ulrik Sandberg
873f996c37 Upgraded commons-pool to 1.5.4. (LDAP-206) 2010-06-20 09:36:50 +00:00
Ulrik Sandberg
c7b17868b7 Added some tests for issues described in certain forum posts, like thread 86640. 2010-03-28 22:22:42 +00:00
Ulrik Sandberg
7f04f99e5a Added test for new class LookupAttemptingCallback. 2010-03-22 22:16:31 +00:00
Ulrik Sandberg
a60fc118d1 Removed old unused stuff. 2010-02-20 00:58:22 +00:00
Ulrik Sandberg
15b12831de Improved equals and hashCode implementations in filters (LDAP-198). 2010-01-25 07:17:14 +00:00
Ulrik Sandberg
dea9e15aa4 Added missing equals/hashCode methods to some filter classes (LDAP-198). 2010-01-25 07:17:01 +00:00
Ulrik Sandberg
86dbeafda2 Now uses Java5 constructor only if at least JDK15 (LDAP-196). 2009-12-20 12:44:15 +00:00
Ulrik Sandberg
b5bc5b17e2 Collecting callback now top-level (LDAP-192). 2009-12-17 15:50:40 +00:00
Ulrik Sandberg
8215562607 Added authenticate methods that take only error callback (LDAP-192). 2009-12-16 23:58:29 +00:00
Ulrik Sandberg
f02cf43c95 First shot at authentication methods that provide the actual exception (LDAP-192). 2009-12-14 20:45:30 +00:00
Ulrik Sandberg
eeee11f47d Now Git also ignores generated stuff 2009-07-30 15:07:37 +00:00
Ulrik Sandberg
df1ce0e327 Added converters for Active Directory SID. 2009-07-25 00:27:46 +00:00
Ulrik Sandberg
85132f517e Fixed LDAP-184. 2009-07-07 06:55:37 +00:00
Ulrik Sandberg
eb8927026e Used wrong class in logger. 2009-05-06 18:03:03 +00:00
Ben Hale
1fcc8ed1e1 spring-ldap 1.3.0.RELEASE 2009-01-30 10:04:07 +00:00
Ulrik Sandberg
2c23706839 Filtered log output and uncovered a little typo. 2009-01-28 17:40:54 +00:00
Ulrik Sandberg
9d8109185e Renamed PoolingMutableContextSource to MutablePoolingContextSource. 2009-01-19 20:49:00 +00:00
Ulrik Sandberg
d4be31c159 LDAP-153: Added a pooling context source that creates mutable ldap contexts. 2009-01-18 21:56:52 +00:00
Ulrik Sandberg
54fb0cdcd6 LDAP-162: Improved more search methods that take handlers. 2009-01-11 22:13:32 +00:00
Ulrik Sandberg
07976d0e57 LDAP-160, LDAP-161: Cleaned up DirContextProcessor implementations. 2009-01-08 21:45:48 +00:00
Ulrik Sandberg
4d9feea73c LDAP-160, LDAP-161: Cleaned up DirContextProcessor implementations. 2009-01-08 21:29:48 +00:00
Ulrik Sandberg
ca0ac4cb81 LDAP-159: SortControlDirContextProcessor no longer has hard dependencies to ldapbp. 2009-01-08 16:43:50 +00:00
Ulrik Sandberg
4fe61840d6 Fixed typos 2009-01-08 13:22:29 +00:00
Ulrik Sandberg
a1e31becea Removed unused import. 2009-01-07 12:46:44 +00:00
Mattias Arthursson
e3b178f5e1 Fix for LDAP-152: Added filter classes to test for attribute precense, received from Jordan Hein. 2009-01-03 10:53:10 +00:00
Mattias Arthursson
bf9ba15079 Fix for LDAP-145: added constructor in DirContextAdapter that takes a String. 2009-01-03 10:40:52 +00:00
Mattias Arthursson
0d7375d927 Fix for LDAP-123: Now returning false from ContextSourceAndDataSourceTransactionManager#isNestedTransaction, properly inidicating that
nested transactions are not supported.
2009-01-03 10:33:36 +00:00
Mattias Arthursson
bf2c3af0a2 Made sure integration tests for article sample automatically start in-process LDAP server.
DirContextAdapter#setDn() now throws IllegalStateException if setDn is called on an 
instance in update mode (this was previously silently ignored)
Fixed problem in LdapTreeBuilder caused by the new behaviour of DN in DirContextAdapter
(i.e. that the actual DN instance of the DirContextAdapter is no longer returned by 
getDn()).
2008-11-25 15:24:05 +00:00
Mattias Arthursson
47f2360e34 Made sure DirContextOperations#addAttributeValue(String, Object) does not add any duplicate values per default; added
alternate method: DirContextOperations#addAttributeValue(String, Object, boolean) to enable behavior other than the default (i.e. allowing duplicates).
2008-11-24 08:56:43 +00:00
Ulrik Sandberg
bde0b6f186 Added rebind with DirContextOperations (LDAP-144). 2008-11-20 17:15:11 +00:00
Ulrik Sandberg
55432d45f2 Got rid of javadoc warning. 2008-11-20 17:14:26 +00:00
Ulrik Sandberg
1c72487891 Fixed problem related to LDAP-50 and LDAP-109. 2008-11-20 15:41:08 +00:00
Mattias Arthursson
25868e20fd Moved LdapEntryIdentificationContextMapper to core package. 2008-11-18 14:14:33 +00:00
Mattias Arthursson
e910acfbba Added methods for 'simple' bind authentication in LdapTemplate (LdapOperations, SimpleLdapOperations and SimpleLdapTemplate as well).
Introduced new callback interface for use with certain authentication methods.
Added LdapEntryIdentification to wrap the full identification of an LDAP entry (absolute and relative DNs)
Added LdapEntryIdentificationContextMapper.
2008-11-18 14:10:27 +00:00
Mattias Arthursson
0819e34ab6 Deprecated setKey and setValue methods in LdapRdnComponent 2008-11-17 14:08:48 +00:00
Mattias Arthursson
8abe6d59e5 * Made sure that DistinguishedName#immutableDistinguishedName returns truly immutable instances (i.e. the Rdns and Components will also be immutable)
* BaseLdapPathBeanPostProcessor now always provides immutable DistinguishedName instances.
* DirContextAdapter#getDn now returns a copy of the internally kept DistinguishedName instance.
* AbstractContextSource#getBase now returns a copy of the internally kept DistinguishedName instance.
2008-11-17 14:06:44 +00:00
Ulrik Sandberg
df318a5c01 LDAP-151 DistinguishedName violates the equals()/hashCode() contract 2008-11-13 14:37:40 +00:00
Ben Hale
4e9c71fd6f Removing another crappy maven merge attempt 2008-10-27 11:00:20 +00:00
Ben Hale
ab184588dc [maven-release-plugin] prepare release spring-ldap-1.3.0.RC1 2008-10-27 10:50:43 +00:00
Ben Hale
244790db8d Removed bad merge from Maven 2008-10-27 10:48:31 +00:00
Ben Hale
90e5e1dd28 [maven-release-plugin] prepare release spring-ldap-1.3.0.RC1 2008-10-27 10:29:24 +00:00
Ben Hale
a370aea3ff POM Polishing some more 2008-10-27 09:54:59 +00:00
Ben Hale
f9ed7a6900 More POM Polishing 2008-10-27 09:53:15 +00:00
Mattias Arthursson
c495408e84 Changed default of pooling flag in AbstractContextSource.
Added configuration property for referral handling in AbstractContextSource.
Updated changelog accordingly.
2008-10-26 18:41:22 +00:00
Mattias Arthursson
b30f068a46 Fixed problem where an empty CompositeName may be passed to DefaultDirObjectFactory.
Added required artifacts to samples article pom.
2008-10-24 09:00:27 +00:00
Mattias Arthursson
d9b5ec2e1f Fixed some FindBugs problems and removed all references to acegi-support. 2008-10-24 06:30:36 +00:00
Mattias Arthursson
363773ce9a Removed unused stuff and changed Exception type in AbstractCompensatingTransactionManagerDelegate to avoid package cycle. 2008-10-23 17:06:27 +00:00
Mattias Arthursson
2f60f6618f Updated copyright year (now including 2008) and made sure all my author tags have my full name; Mattias Hellborg Arthursson. 2008-10-23 12:33:51 +00:00