Commit Graph

53 Commits

Author SHA1 Message Date
Mattias Hellborg Arthursson
41fc6306ae LDAP-267: Implemented support for DataSource and Hibernate integration with namespace configuration. 2013-10-09 08:14:10 +02:00
Mattias Hellborg Arthursson
e43233fd86 LDAP-267: BaseLdapPath support with namespace configuration. 2013-10-09 07:41:02 +02:00
Mattias Hellborg Arthursson
795701fd58 LDAP-267: Added integration tests and modified samples to use new xml namespace. 2013-10-08 08:17:49 +02:00
Mattias Hellborg Arthursson
a8f22899db LDAP-268: Additional integration test cases for @DnAttribute annotations 2013-10-07 07:06:50 +02:00
Mattias Hellborg Arthursson
78b9617bf1 LDAP-265, LDAP-268: Added the ability to automatically map to/from DN values in ODM. Added some much needed unit tests for ODM functionality. 2013-09-29 16:11:14 +02:00
Mattias Hellborg Arthursson
1b814e3631 LDAP-265: Moved ODM functionality to core and added methods in LdapTemplate. 2013-09-27 10:43:07 +02:00
Mattias Hellborg Arthursson
27682b0b53 LDAP-263: authentication methods for LdapQuery. Documentation updated to reflect fluent API changes. 2013-09-24 16:55:54 +02:00
Mattias Hellborg Arthursson
b141cfd4cb LDAP-263: Fluent API for building LDAP queries. 2013-09-23 15:53:26 +02:00
Mattias Hellborg Arthursson
9687edf625 LDAP-101: Added eager invalidation of dead pooled connections. 2013-09-11 10:37:59 +02:00
Mattias Hellborg Arthursson
14bf8b48a2 LDAP-256: Now requiring TempEntryRenamingStrategy to be explicitly configured. Updated transaction documentation to reflect this and use tx:annotation-config syntax. 2013-09-09 13:37:09 +02:00
Mattias Hellborg Arthursson
d6f8f6e488 LDAP-258: Some minor restructuring to avoid (irrelevant, but ugly and build failing) package tangles in test cases. 2013-09-09 10:08:10 +02:00
Mattias Hellborg Arthursson
66bc1968db Cleaned up usage of DistinguishedName from satellite modules, samples and tests. 2013-08-30 10:44:51 +02:00
Mattias Hellborg Arthursson
ed605be49a LDAP-258: Deprecated DistinguishedName and associated classes. Removed unnecessary usage in core. 2013-08-30 08:00:38 +02:00
Mattias Hellborg Arthursson
d54c43cc62 Updated copyright notice. 2013-08-16 13:30:46 +02:00
Mattias Hellborg Arthursson
cc14bf3319 LDAP-179: DataSource connections not being released when LDAP connection fails in JDBC integrated transaction.
Now cleaning up in DataSource and Hibernate transaction managers in doBegin if failing to create LDAP transaction.
2013-08-14 12:17:38 +02:00
Mattias Hellborg Arthursson
cfabe261e8 LDAP-119: modifyAttributes produces invalid SchemaViolationException in a particular use case
Now checking if all current values are deleted; if so issuing a REPLACE modification istead of individual DELETE and ADD.
2013-08-14 11:17:23 +02:00
Mattias Hellborg Arthursson
abfde5e5a0 LDAP-119: Integration test case for workaround. 2013-08-14 11:05:08 +02:00
Mattias Hellborg Arthursson
837bc489ef LDAP-232: Finalized migration to ApacheDS 1.5.5 for integration tests. 2013-08-14 10:36:46 +02:00
Mattias Hellborg Arthursson
cb360c38ac LDAP-232: starting upgrade to apache directory server. 2013-08-13 15:34:51 +02:00
Mattias Hellborg Arthursson
0e496203ef LDAP-183: LdapTemplate caches password with pooled connections
Now explicitly disabling native Java LDAP connection pooling for ContextSource#getContext(String principal, String credentials)
2013-08-13 09:51:46 +02:00
Mattias Hellborg Arthursson
45fcf782cf LDAP-168, LDAP-244: Added warning when using the default TempEntryRenamingStrategy.
Fixed failing test.
2013-08-12 09:03:42 +02:00
Mattias Hellborg Arthursson
d08192d8aa LDAP-244, LDAP-168: Problems with recursive elements and transactions.
Added a couple of integration test cases, and clarified in documentation.
2013-08-12 08:35:41 +02:00
Mattias Hellborg Arthursson
895af4a44f LDAP-247: Using Spring Security and Spring LDAP together requires that BaseLdapPathBeanPostProcessor implements interface Ordered
BaseLdapPathBeanPostProcessor now implements Ordered.
Integration test from original issue comments to verify that the change fixes the problem.
2013-07-30 10:14:05 +02:00
Mattias Hellborg Arthursson
88574847c2 Changed all embedded LDAP server ports to 1888, since it appears CI tests might be helped by this. 2013-07-30 06:13:30 +02:00
Ulrik Sandberg
6dcd4092cd Adjusted copyright details. 2010-11-18 07:19:43 +00:00
Ulrik Sandberg
8b41a0a4ec Implemented choice in key case folding between lower, upper or none. LDAP-188 2010-11-15 22:52:43 +00:00
Ulrik Sandberg
fcd02162b8 Implementation for LDAP-188, Active Directory -- DirContextAdapter.addAttribute, removeAttribute does not work correctly 2010-11-15 22:52:27 +00:00
Ulrik Sandberg
17ff5ee11f Added an integration test that stores and retrieves a Java Date object. 2010-10-26 21:55:47 +00:00
Ulrik Sandberg
fb6b20de57 authenticate method should not log errors (LDAP-170) 2010-10-17 10:38:59 +00:00
Ulrik Sandberg
ca1d6e3dab Remove duplicate LDIF files from test/integration-tests/src/test/java. (LDIF-207) 2010-06-20 10:22:00 +00:00
Ulrik Sandberg
31ce887e2d Changed base class of test to load db. 2010-03-28 22:22:51 +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
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
2df7de35c2 Documented the new authentication methods (LDAP-193). 2009-12-15 00:09:31 +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
cffb12c92c Added toStirng method to Person. 2009-07-30 15:07:28 +00:00
Ulrik Sandberg
2c23706839 Filtered log output and uncovered a little typo. 2009-01-28 17:40:54 +00:00
Mattias Arthursson
c5832dea4d Fix for LDAP-165: Moved integration test dummy classes to org.springframework.ldap.itest...
Excluded that package and its sub-packages from javadoc generation in top pom.xml
2009-01-28 09:34:16 +00:00
Ulrik Sandberg
0db66ec2d5 Improved dn performance test. 2009-01-07 12:48:49 +00:00
Ulrik Sandberg
0e0d796d00 Removed unused imports. 2008-11-25 22:47:47 +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
9888f4969e Minor cleanup. 2008-11-20 15:39:41 +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
ec53690345 Removed debug output 2008-11-12 07:46:13 +00:00
Mattias Arthursson
3d2bb8ac5e Added test case verifying simple authentication mechanism. 2008-11-12 07:44:42 +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
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