Commit Graph

119 Commits

Author SHA1 Message Date
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
63692ed30a LDAP-251: Some additional tweaks to the gradle build
- Made sure Main-Class is specified in odm jar
- Fixed source inclusions/exclusions for idea and eclipse plugins
- Made sure idea and eclipse plugins depend on javacc task
- Removed pom files from build.
2013-08-16 08:44:22 +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
Mattias Hellborg Arthursson
e3b15cc494 LDAP-253: Specify sourceCompatibility and targetCompatibility
Core module now uses 1.4 as source and target JDK.
2013-07-30 07:24:06 +02:00
Rob Winch
8b350a874d Convert to Gradle
This commit converts the build to a Gradle based build. It also setup sonar
integration at https://sonar.springsource.org/dashboard/index/11620

Currently tests in the samples fail on the CI server and are disabled. The
tests were not enabled for the maven based build either.

Issue: LDAP-251
2013-07-10 11:33:07 -05:00
Ulrik Sandberg
346bd41efa LDAP-181: Changed log level to debug for missing 'returnObjFlag'. 2012-08-27 09:09:23 +00:00
Ben Hale
5ccb1854bd [maven-release-plugin] prepare for next development iteration 2010-11-30 16:00:34 +00:00
Ben Hale
cff4f7ef1a [maven-release-plugin] prepare release spring-ldap-1.3.1.RELEASE 2010-11-30 16:00:31 +00:00
Ben Hale
9c8118247a Remove another bad tag. On the trail now though 2010-11-30 15:55:02 +00:00
Ben Hale
ce8250fe98 [maven-release-plugin] prepare for next development iteration 2010-11-30 15:36:02 +00:00
Ben Hale
22b6bd33f7 [maven-release-plugin] prepare release spring-ldap-1.3.1.RELEASE 2010-11-30 15:35:58 +00:00
Ben Hale
5a34bf2d78 Removed bad tag 2010-11-30 15:32:09 +00:00
Ben Hale
6c743b05eb [maven-release-plugin] prepare for next development iteration 2010-11-30 15:17:28 +00:00
Ben Hale
c1cb82b29b [maven-release-plugin] prepare release spring-ldap-1.3.1.RELEASE 2010-11-30 15:17:25 +00:00
Ulrik Sandberg
54f1629418 Updated some maven plugins. Added relativePath to some poms. 2010-11-28 11:06:05 +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