Commit Graph

107 Commits

Author SHA1 Message Date
Mattias Hellborg Arthursson
b141cfd4cb LDAP-263: Fluent API for building LDAP queries. 2013-09-23 15:53:26 +02:00
Mattias Hellborg Arthursson
9458b80fa1 LDAP-262: Cleaned up and consolidated the samples. 2013-09-12 07:34:11 +02:00
Mattias Hellborg Arthursson
742ce2b2fe LDAP-262: Added smoke tests for compatibility with Spring 2.0, 2.5, and 3.0 2013-09-11 15:32:51 +02:00
Mattias Hellborg Arthursson
fe9b86d887 LDAP-261: added missing @since tag. 2013-09-11 13:42:46 +02:00
Mattias Hellborg Arthursson
c85ddb2560 LDAP-261, LDAP-169: Enabled configuration of default search scope, time limit, and count limit on LdapTemplate. 2013-09-11 13:40:28 +02:00
Mattias Hellborg Arthursson
9551905527 LDAP-101: Now also considering subclasses of defined non-transient exceptions. 2013-09-11 10:48:35 +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
83b351c83c LDAP-127: Added a setter for the 'critical' field in AbstractFallbackRequestAndResponseControlDirContextProcessor 2013-09-10 15:12:14 +02:00
Mattias Hellborg Arthursson
6829598077 LDAP-128: Improved javadoc documentation of PagedResults and cookies. 2013-09-10 15:03:55 +02:00
Mattias Hellborg Arthursson
8b6f586fd5 LDAP-142: Added a couple utility methods for working with SingleContextSource. Also cleaned up OpenLdap integration tests. 2013-09-10 11:40:53 +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
a2cb44e4d4 Fixed some sonar problems. 2013-09-09 11:53:40 +02:00
Mattias Hellborg Arthursson
858dfd02e6 LDAP-258: Reverted use of AbstractContextMapper from core in order to avoid package tangle. 2013-09-09 11:27:51 +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
e93ee9cf6a LDAP-258: General Java 5/6 cleanup throughout the code base. 2013-09-09 08:27:07 +02:00
Mattias Hellborg Arthursson
ab62786774 LDAP-258: Deprecated core-tiger module. 2013-08-30 15:44:29 +02:00
Mattias Hellborg Arthursson
ae603cebf3 LDAP-258: Parameterized the core callback interfaces. 2013-08-30 15:05:17 +02:00
Mattias Hellborg Arthursson
31ea71e61e LDAP-258: Added a couple of construction methods to LdapNameBuilder 2013-08-30 12:45:43 +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
6bffcfe9b1 LDAP-238: ContextMapper and NameClassPairCallbackHandler now throws NamingException. 2013-08-28 17:11:15 +02:00
Mattias Hellborg Arthursson
d2d050ee2d LDAP-260: LdapRdn now disregards order or sub components in equals, compareTo, and hashCode. 2013-08-28 16:32:30 +02:00
Mattias Hellborg Arthursson
7d50459ae1 LDAP-257: Got rid of commons-lang dependency in core. Upped some versions. 2013-08-28 13:45:17 +02:00
Mattias Hellborg Arthursson
36cbb8894e LDAP-257: More JUnit style cleanup. 2013-08-27 13:35:44 +02:00
Mattias Hellborg Arthursson
469549d04e LDAP-257: Upgraded all core unit tests to JUnit 4 style, and migrated to Mockito. 2013-08-27 13:15:41 +02:00
Mattias Hellborg Arthursson
d54c43cc62 Updated copyright notice. 2013-08-16 13:30:46 +02:00
Mattias Hellborg Arthursson
b557853664 LDAP-239: Changed log message and lowered log priority. 2013-08-14 16:30:16 +02:00
Mattias Hellborg Arthursson
b2104e4d87 LDAP-230: Info on the information output, debug level on exception stacktrace. 2013-08-14 14:30:50 +02:00
Mattias Hellborg Arthursson
97cbfbedda LDAP-230: Pool Validation polluting logs with "IOException: connection closed" stacktrace even though it is handled gracefully by framework
Lowered to log level to debug.
2013-08-14 14:29:22 +02:00
Mattias Hellborg Arthursson
74380e1fc9 LDAP-226: empty OrFilter should be false (|) and empty AndFilter should be true (&), see also rfc4526
Added two new Filter implementations: AbsoluteTrueFilter and AbsoluteFalseFilter.
2013-08-14 14:15:31 +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
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
594886afe7 LDAP-229: Default DN parser does not handle hash/sharp symbol correctly
Applied patch and added suggested test cases.
2013-08-12 12:45:16 +02:00
Mattias Hellborg Arthursson
540ae86136 LDAP-237: Spring LDAP does not correctly parse DN names that has double-quote in the middle
Now compensating for even more CompositeName deficiencies.
2013-08-12 10:55:23 +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
02cd2412ea LDAP-234: Rollback intermittently causes data loss
Finalized incremental attributes retrieval support.
Integrated incremental attributes retrieval support in compansating transaction classes.
Integration tests for Active Directory (not enabled on CI machine).
2013-08-01 10:54:15 +02:00
Mattias Hellborg Arthursson
79a922c778 LDAP-234: Rollback intermittently causes data loss
Moved stuff related to LDAP-176 from sandbox to core.
Minor formatting tweaks.
2013-07-30 12:46:26 +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
Ulrik Sandberg
346bd41efa LDAP-181: Changed log level to debug for missing 'returnObjFlag'. 2012-08-27 09:09:23 +00: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
00d34fd6db Finalized implementation and testing of LDAP-173. 2010-11-03 00:23:34 +00:00
Ulrik Sandberg
5ad237544d Added support for DIGEST-MD5 SASL authentication mechanism. (LDAP-173) 2010-11-03 00:23:06 +00:00
Ulrik Sandberg
e456ddc736 Implemented LDAP-180, AbstractTlsDirContextAuthenticationStrategy Should Provide Setter for Customizing SSLSocketFactory Used for TLS Negotiation 2010-10-19 20:34:14 +00:00
Ulrik Sandberg
1952987fd5 Fixed LDAP-189, The constructor DefaultDirContextValidator(int searchScope) does not actually set scope in SearchControls 2010-10-17 21:59:01 +00:00
Ulrik Sandberg
ed2b0180f8 Fixed LDAP-213, Javadoc for PresentFilter and NotPresentFilter is incorrect 2010-10-17 21:29:36 +00:00
Ulrik Sandberg
cbaebee75f Added tests for LDAP-170. 2010-10-17 10:39:07 +00:00