9b41245b39
Added demo projects for Java 1.4 and 1.5. These can be used to demonstrate refactoring from plain JNDI to Spring LDAP.
Ulrik Sandberg
2008-11-25 20:53:13 +00:00
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()).
Mattias Arthursson
2008-11-25 15:24:05 +00:00
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).
Mattias Arthursson
2008-11-24 08:56:43 +00:00
25868e20fd
Moved LdapEntryIdentificationContextMapper to core package.
Mattias Arthursson
2008-11-18 14:14:33 +00:00
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.
Mattias Arthursson
2008-11-18 14:10:27 +00:00
0819e34ab6
Deprecated setKey and setValue methods in LdapRdnComponent
Mattias Arthursson
2008-11-17 14:08:48 +00:00
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.
Mattias Arthursson
2008-11-17 14:06:44 +00:00
bea272e7b4
LDAP-125 Upgraded to Spring 2.5.6.
Ulrik Sandberg
2008-11-13 14:54:19 +00:00
3d2bb8ac5e
Added test case verifying simple authentication mechanism.
Mattias Arthursson
2008-11-12 07:44:42 +00:00
bc1c4cba47
Removed illegal character in pom exclusion tag.
Mattias Arthursson
2008-11-06 09:13:14 +00:00
4e9c71fd6f
Removing another crappy maven merge attempt
Ben Hale
2008-10-27 11:00:20 +00:00
ab184588dc
[maven-release-plugin] prepare release spring-ldap-1.3.0.RC1
Ben Hale
2008-10-27 10:50:43 +00:00
244790db8d
Removed bad merge from Maven
Ben Hale
2008-10-27 10:48:31 +00:00
90e5e1dd28
[maven-release-plugin] prepare release spring-ldap-1.3.0.RC1
Ben Hale
2008-10-27 10:29:24 +00:00
a370aea3ff
POM Polishing some more
Ben Hale
2008-10-27 09:54:59 +00:00
f9ed7a6900
More POM Polishing
Ben Hale
2008-10-27 09:53:15 +00:00
1aba08928a
A little POM polishin
Ben Hale
2008-10-27 08:58:26 +00:00
0250538e6c
Fixed typo in author.
Ulrik Sandberg
2008-10-26 20:13:23 +00:00
3cc7d2476d
Fixed code and tests so that the integration tests now run via 'mvn test', provided that the LDAP server is running.
Ulrik Sandberg
2008-10-26 19:59:45 +00:00
c495408e84
Changed default of pooling flag in AbstractContextSource. Added configuration property for referral handling in AbstractContextSource. Updated changelog accordingly.
Mattias Arthursson
2008-10-26 18:41:22 +00:00
de46d23684
Fixed typos and formatting.
Ulrik Sandberg
2008-10-26 17:05:29 +00:00
b30f068a46
Fixed problem where an empty CompositeName may be passed to DefaultDirObjectFactory. Added required artifacts to samples article pom.
Mattias Arthursson
2008-10-24 09:00:27 +00:00
d9b5ec2e1f
Fixed some FindBugs problems and removed all references to acegi-support.
Mattias Arthursson
2008-10-24 06:30:36 +00:00
363773ce9a
Removed unused stuff and changed Exception type in AbstractCompensatingTransactionManagerDelegate to avoid package cycle.
Mattias Arthursson
2008-10-23 17:06:27 +00:00
2f60f6618f
Updated copyright year (now including 2008) and made sure all my author tags have my full name; Mattias Hellborg Arthursson.
Mattias Arthursson
2008-10-23 12:33:51 +00:00
ccc0c2e775
Added changelog to documents included in distribution.
Mattias Arthursson
2008-10-23 12:12:02 +00:00
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.
Mattias Arthursson
2008-10-23 09:14:06 +00:00
e22fa053a3
LDAP-138: DistinguishedName.toString now defaults to compact format - toString consults new System property to use the old format.
Mattias Arthursson
2008-10-23 08:13:20 +00:00
59f7e01d73
Added some @since tags.
Mattias Arthursson
2008-10-23 07:45:33 +00:00
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.
Mattias Arthursson
2008-10-23 07:37:26 +00:00
ae978b9992
Fix for LDAP-97: DistinguishedName now accepts '\r' as input, as specified in LDAP v3 RFC.
Mattias Arthursson
2008-10-22 12:56:42 +00:00
7b24ab0c0c
Fix for LDAP-122: Now properly throwing a CannotCreateTransactionException if the underlying DataSource refuses creation of a DirContext instance.
Mattias Arthursson
2008-10-22 09:23:34 +00:00
9c0d1afe7a
Fix for LDAP-25: Added an additional finder method to reference doc.
Mattias Arthursson
2008-10-22 08:40:39 +00:00
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.
Mattias Arthursson
2008-10-22 08:10:13 +00:00
2517e0e94e
Removed dependency on ldapbp classes for paged results. All classes are now dynamically resolved.
Mattias Arthursson
2008-10-21 12:33:05 +00:00
f078b5d657
Tidied SingleContextSource, making the target context final and implementing DisposableBean.
Mattias Arthursson
2008-10-21 10:47:34 +00:00
d8b21bff98
Fix for LDAP-121: now using OBJECT_SCOPE as default search scope in DefaultDirContextValidator. Added alternate constructor to specify different search scope.
Mattias Arthursson
2008-10-21 10:38:51 +00:00
6158de3333
Moved ContextSourceEc2InstanceLaunchingFactoryBean to test-support.
Mattias Arthursson
2008-10-20 13:49:47 +00:00
7b36381f07
Moved EC2 launching FactoryBean to test support. Now using typica from mvn repo. Added some svn ignores.
Mattias Arthursson
2008-10-20 11:15:01 +00:00
aae43d177c
Placed both integration test modules in test. The OpenLDAP version is run only if using the profile "openldap".
Ulrik Sandberg
2008-08-18 21:50:48 +00:00
a0da075ec4
Added getContext(principal, credentials) method to ContextSource to enable explicit authentication. Refactored AbstractContextSource to enable the new method and so that DirContextAuthenticationStrategy does not interfere with anonymous contexts. Changed defaults in integraion-tests-openldap to target server spring-ldap-test.dyndns.org and use TLS.
Mattias Arthursson
2008-08-18 18:51:58 +00:00
bdb2a4bfa6
Added base project for openldap tests.
Mattias Arthursson
2008-08-14 15:10:17 +00:00
2997844258
Added DirContextAuthenticationStratety for use with TLS connections.
Mattias Arthursson
2008-08-13 17:12:18 +00:00
89947a13e6
Added DirContextAuthenticationStrategy, a default implementation for simple authentication, and modified AbstractContextSource to call the strategy at appropriate stages in authentication.
Mattias Arthursson
2008-08-12 17:40:22 +00:00
21bf36e838
Changed version to 1.3-SNAPSHOT. Now using same pom structure and release package creation mechanism as Spring WS. Changed some artifactIds: root is now spring-ldap, core is now spring-ldap-core, tiger is now spring-ldap-core-tiger. Added samples to build structure, but under own profile (-P samples).
Ulrik Sandberg
2008-08-06 21:19:53 +00:00
61f20dd374
Added the Spring external repo, since jets3t seems to be available there.
Ulrik Sandberg
2008-08-04 14:58:16 +00:00
93efd00866
Made changes to the parent pom: * Added 'distributionManagement' tag, which is required for the 'deploy' target in the nightly build. * Fixed incorrect urls in 'scm' tag (now using fisheye url). * Added 'organization', 'license', 'ciManagement', 'url', 'developers', 'contributors', and 'description' tags.
Ulrik Sandberg
2008-08-01 14:53:10 +00:00
61f49f9611
Now ignoring generated stuff.
Ulrik Sandberg
2008-07-20 16:59:52 +00:00
c6f3a1ee40
ApacheDS 1.0.2 has the following schemas installed by default:
Ulrik Sandberg
2008-07-20 16:58:50 +00:00
0e60d717bb
Fix for LDAP-109, LDAP-50: the dreaded CompositeName backslash problem.
Mattias Arthursson
2008-07-01 19:37:22 +00:00
246452b6a8
Fix for LDAP-28: added HardcodedFilter to enable hardcoded filters in configuration files. Also included FilterEditor, which creates instances of HardcodedFilter for Filter properties.
Mattias Arthursson
2008-06-19 11:57:33 +00:00
1fc4824a66
Added default page in web app, removed unnecessary files, and added some setup documentation.
Mattias Arthursson
2008-06-19 08:12:33 +00:00