Commit Graph

44 Commits

Author SHA1 Message Date
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
Mattias Arthursson
ccc0c2e775 Added changelog to documents included in distribution. 2008-10-23 12:12:02 +00:00
Mattias Arthursson
865dd185fd Updated changelog and removed acegi-support. 2008-10-23 10:44:19 +00:00
Mattias Arthursson
c416a4576f LDAP-139: Added mirrored method in SimpleLdapTemplate that take Name parameters.
LDAP-140: Added bindmethod in LdapTemplate and SimpleLdapTemplate that take a DirContextOperations instance and
uses the information from that instance (DN and Attributes) to perform the bind.
2008-10-23 09:14:06 +00:00
Mattias Arthursson
e22fa053a3 LDAP-138: DistinguishedName.toString now defaults to compact format - toString consults new System property to use the old
format.
2008-10-23 08:13:20 +00:00
Mattias Arthursson
59f7e01d73 Added some @since tags. 2008-10-23 07:45:33 +00:00
Mattias Arthursson
76b37c7987 Fix for LDAP-130, LDAP-137:
Added getObjectAttributes() method
Eliminated code duplication in getStringAttributes, getObjectAttributes and getAttributeSortedStringSet
Added AttributeValueCallbackHandler and iterator methods in LdapUtils
We are now following the same contract as Attributes and Attribute - 
if the Attribute does not exist all of the above methods now return null, if the Attribute is there but empty
the result will be an empty array or set.
2008-10-23 07:37:26 +00:00
Mattias Arthursson
14db0238c2 Removed redundant 'public' modifiers from interfaces. 2008-10-22 13:19:05 +00:00
Mattias Arthursson
ae978b9992 Fix for LDAP-97: DistinguishedName now accepts '\r' as input, as specified in LDAP v3 RFC. 2008-10-22 12:56:42 +00:00
Mattias Arthursson
7b24ab0c0c Fix for LDAP-122: Now properly throwing a CannotCreateTransactionException if the underlying DataSource refuses
creation of a DirContext instance.
2008-10-22 09:23:34 +00:00
Mattias Arthursson
040496cbf6 Fix for LDAP-134:
DefaultDirObjectFactory now properly handles referrals that are passed to it.
Added referralUrl property to DirContextAdapter, and accessor methods to DirContextOperations and DirContextAdapter.
Fixed some svn ignores as well.
2008-10-22 08:10:13 +00:00
Ulrik Sandberg
c3e64a1151 Fixed typos. 2008-10-21 19:09:59 +00:00
Mattias Arthursson
2517e0e94e Removed dependency on ldapbp classes for paged results. All classes are now dynamically resolved. 2008-10-21 12:33:05 +00:00
Mattias Arthursson
f078b5d657 Tidied SingleContextSource, making the target context final and implementing DisposableBean. 2008-10-21 10:47:34 +00:00
Mattias Arthursson
d8b21bff98 Fix for LDAP-121: now using OBJECT_SCOPE as default search scope in DefaultDirContextValidator.
Added alternate constructor to specify different search scope.
2008-10-21 10:38:51 +00:00
Ulrik Sandberg
a74ed8dafd Moved everything from mvn-build to trunk root. 2008-10-12 21:34:09 +00:00