Commit Graph

100 Commits

Author SHA1 Message Date
Josh Cummings
32a866f868 Remove LDAP + Data Source Transaction Wrappers
Closes gh-1109
2025-06-16 14:11:49 -06:00
Josh Cummings
32081f5edd Remove Implicit Type Parameters 2025-01-07 13:41:45 -07:00
Josh Cummings
dfb7b4ceeb Retrieve All ODM-Managed Attributes on Update
In this way, if an Entry has an operational attribute, it will
be present in both the updated and existing objects so that
DirContextAdapter does not compute it as a new attribute.

Closes gh-446
2024-10-10 13:27:55 -06:00
Josh Cummings
159dfd1fcb Fix Formatting 2024-08-15 10:38:35 -07:00
Josh Cummings
7fd89aa794 Remove Deprecation Warnings
- Address usage of new Integer
- Address missing deprecation markers

Closes gh-793
2023-07-13 10:08:41 -06:00
Josh Cummings
47e7e194c9 Align Visibliity Modifiers in Integration Tests
Issue gh-750
2023-05-10 09:43:51 -06:00
Josh Cummings
c16ed5a440 Address JavaFormat Violations in Integration Tests
Issue gh-743
2023-05-10 09:43:51 -06:00
Josh Cummings
aba65aecfc Use this. Prefix in Integration Tests
Issue gh-745
2023-05-10 09:43:50 -06:00
Josh Cummings
5928a933d9 Address JavaFormat Violations in Integration Tests
Issue gh-743
2023-05-10 09:43:50 -06:00
Josh Cummings
847e4d00e1 Use this. Prefix in Core Tests
Issue gh-745
2023-05-10 09:43:50 -06:00
Josh Cummings
f8be5e56de Update Copyright Headers
Closes gh-747
2023-04-11 16:49:31 -06:00
Josh Cummings
c07584be48 Update Import Order
Closes gh-749
2023-04-11 16:49:25 -06:00
Josh Cummings
ec23b3ebf2 Change Test Names
Closes gh-746
2023-03-30 20:02:11 -06:00
Josh Cummings
08b209fe5c Add JavaFormat format Gradle Task
Closes gh-744
2023-03-27 17:32:48 -06:00
Josh Cummings
de86a00e8c Add LdapClient
Closes gh-675
2023-03-17 12:23:30 -06:00
Josh Cummings
092b22c200 Add Stream Support
Closes gh-586
2022-07-22 14:44:22 -06:00
Josh Cummings
a51c9e11c6 Convert Spaces to Tabs 2022-07-21 15:34:48 -06:00
Josh Cummings
9ded1758d6 Convert to Linux Line Endings 2022-07-21 15:09:00 -06:00
Josh Cummings
7a3e85587a Remove core-tiger
Closes gh-621
2022-01-21 14:26:22 -07:00
Josh Cummings
c162fc9685 Add test/integration-tests to build
Issue gh-610
2022-01-13 16:42:11 -07:00
Spring Operator
d5212a0490 URL Cleanup
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# HTTP URLs that Could Not Be Fixed
These URLs were unable to be fixed. Please review them to see if they can be manually resolved.

* http://www.261consulting.com (200) with 3 occurrences could not be migrated:
   ([https](https://www.261consulting.com) result ConnectTimeoutException).

# Fixed URLs

## Fixed But Review Recommended
These URLs were fixed, but the https status was not OK. However, the https status was the same as the http request or http redirected to an https URL, so they were migrated. Your review is recommended.

* http://www.atlassian.com/software/bamboo/images/badges/v2/continuous_integration_tools_sm.png (301) with 1 occurrences migrated to:
  https://www.atlassian.com/software/bamboo/images/badges/v2/continuous_integration_tools_sm.png ([https](https://www.atlassian.com/software/bamboo/images/badges/v2/continuous_integration_tools_sm.png) result 404).
* http://www.atlassian.com/software/jira/images/badges/v2/bug_tracking_software_sm.png (301) with 1 occurrences migrated to:
  https://www.atlassian.com/software/jira/images/badges/v2/bug_tracking_software_sm.png ([https](https://www.atlassian.com/software/jira/images/badges/v2/bug_tracking_software_sm.png) result 404).
* http://www.contegix.com/images/badges/contegix-hosted-90x30.png (404) with 1 occurrences migrated to:
  https://www.contegix.com/images/badges/contegix-hosted-90x30.png ([https](https://www.contegix.com/images/badges/contegix-hosted-90x30.png) result 404).
* http://www.springframework.org/buttons/spring_80x15.png (404) with 1 occurrences migrated to:
  https://www.springframework.org/buttons/spring_80x15.png ([https](https://www.springframework.org/buttons/spring_80x15.png) result 404).

## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* http://static.springframework.org/spring-ldap/sites/1.3/ (301) with 1 occurrences migrated to:
  https://docs.spring.io/spring-ldap/sites/1.3/ ([https](https://static.springframework.org/spring-ldap/sites/1.3/) result 200).
* http://static.springsource.org/spring-security/site/ (301) with 1 occurrences migrated to:
  https://docs.spring.io/spring-security/site/ ([https](https://static.springsource.org/spring-security/site/) result 200).
* http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd (301) with 1 occurrences migrated to:
  https://hibernate.org/dtd/hibernate-mapping-3.0.dtd ([https](https://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd) result 200).
* http://maven.apache.org with 1 occurrences migrated to:
  https://maven.apache.org ([https](https://maven.apache.org) result 200).
* http://maven.apache.org/images/logos/maven-feather.png with 1 occurrences migrated to:
  https://maven.apache.org/images/logos/maven-feather.png ([https](https://maven.apache.org/images/logos/maven-feather.png) result 200).
* http://maven.apache.org/xsd/maven-4.0.0.xsd with 3 occurrences migrated to:
  https://maven.apache.org/xsd/maven-4.0.0.xsd ([https](https://maven.apache.org/xsd/maven-4.0.0.xsd) result 200).
* http://t4.trackalyzer.com/trackalyze.js with 1 occurrences migrated to:
  https://t4.trackalyzer.com/trackalyze.js ([https](https://t4.trackalyzer.com/trackalyze.js) result 200).
* http://www.contegix.com/ with 1 occurrences migrated to:
  https://www.contegix.com/ ([https](https://www.contegix.com/) result 200).
* http://www.springframework.org/schema/batch/spring-batch-2.0.xsd with 2 occurrences migrated to:
  https://www.springframework.org/schema/batch/spring-batch-2.0.xsd ([https](https://www.springframework.org/schema/batch/spring-batch-2.0.xsd) result 200).
* http://www.springframework.org/schema/batch/spring-batch-2.2.xsd with 2 occurrences migrated to:
  https://www.springframework.org/schema/batch/spring-batch-2.2.xsd ([https](https://www.springframework.org/schema/batch/spring-batch-2.2.xsd) result 200).
* http://www.springframework.org/schema/beans/spring-beans.xsd with 89 occurrences migrated to:
  https://www.springframework.org/schema/beans/spring-beans.xsd ([https](https://www.springframework.org/schema/beans/spring-beans.xsd) result 200).
* http://www.springframework.org/schema/context/spring-context.xsd with 14 occurrences migrated to:
  https://www.springframework.org/schema/context/spring-context.xsd ([https](https://www.springframework.org/schema/context/spring-context.xsd) result 200).
* http://www.springframework.org/schema/ldap/spring-ldap.xsd with 47 occurrences migrated to:
  https://www.springframework.org/schema/ldap/spring-ldap.xsd ([https](https://www.springframework.org/schema/ldap/spring-ldap.xsd) result 200).
* http://www.springframework.org/schema/mvc/spring-mvc.xsd with 1 occurrences migrated to:
  https://www.springframework.org/schema/mvc/spring-mvc.xsd ([https](https://www.springframework.org/schema/mvc/spring-mvc.xsd) result 200).
* http://www.springframework.org/schema/security/spring-security.xsd with 1 occurrences migrated to:
  https://www.springframework.org/schema/security/spring-security.xsd ([https](https://www.springframework.org/schema/security/spring-security.xsd) result 200).
* http://www.springframework.org/schema/tx/spring-tx-3.0.xsd with 1 occurrences migrated to:
  https://www.springframework.org/schema/tx/spring-tx-3.0.xsd ([https](https://www.springframework.org/schema/tx/spring-tx-3.0.xsd) result 200).
* http://www.springframework.org/schema/tx/spring-tx.xsd with 6 occurrences migrated to:
  https://www.springframework.org/schema/tx/spring-tx.xsd ([https](https://www.springframework.org/schema/tx/spring-tx.xsd) result 200).
* http://www.springframework.org/schema/util/spring-util.xsd with 4 occurrences migrated to:
  https://www.springframework.org/schema/util/spring-util.xsd ([https](https://www.springframework.org/schema/util/spring-util.xsd) result 200).
* http://static.springsource.org/spring-batch/ (301) with 1 occurrences migrated to:
  https://docs.spring.io/spring-batch/ ([https](https://static.springsource.org/spring-batch/) result 301).
* http://forum.springframework.org/forumdisplay.php?f=40 with 1 occurrences migrated to:
  https://forum.springframework.org/forumdisplay.php?f=40 ([https](https://forum.springframework.org/forumdisplay.php?f=40) result 301).
* http://jira.springframework.org/browse/LDAP with 1 occurrences migrated to:
  https://jira.springframework.org/browse/LDAP ([https](https://jira.springframework.org/browse/LDAP) result 301).
* http://www.atlassian.com/software/bamboo/ with 1 occurrences migrated to:
  https://www.atlassian.com/software/bamboo/ ([https](https://www.atlassian.com/software/bamboo/) result 301).
* http://www.atlassian.com/software/jira/ with 1 occurrences migrated to:
  https://www.atlassian.com/software/jira/ ([https](https://www.atlassian.com/software/jira/) result 301).
* http://www.headwaysoftware.com/products/structure101/ with 1 occurrences migrated to:
  https://www.headwaysoftware.com/products/structure101/ ([https](https://www.headwaysoftware.com/products/structure101/) result 301).
* http://www.springframework.org with 1 occurrences migrated to:
  https://www.springframework.org ([https](https://www.springframework.org) result 301).
* http://www.springframework.org/ldap with 1 occurrences migrated to:
  https://www.springframework.org/ldap ([https](https://www.springframework.org/ldap) result 301).
* http://www.structure101.com/java/images/logo-small.gif with 1 occurrences migrated to:
  https://www.structure101.com/java/images/logo-small.gif ([https](https://www.structure101.com/java/images/logo-small.gif) result 301).
* http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd with 3 occurrences migrated to:
  https://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd ([https](https://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd) result 302).
* http://www.springsource.org/about with 1 occurrences migrated to:
  https://www.springsource.org/about ([https](https://www.springsource.org/about) result 302).

# Ignored
These URLs were intentionally ignored.

* http://java.sun.com/xml/ns/j2ee with 6 occurrences
* http://maven.apache.org/POM/4.0.0 with 6 occurrences
* http://www.springframework.org/schema/batch with 8 occurrences
* http://www.springframework.org/schema/beans with 178 occurrences
* http://www.springframework.org/schema/context with 28 occurrences
* http://www.springframework.org/schema/ldap with 94 occurrences
* http://www.springframework.org/schema/mvc with 2 occurrences
* http://www.springframework.org/schema/security with 2 occurrences
* http://www.springframework.org/schema/tx with 14 occurrences
* http://www.springframework.org/schema/util with 8 occurrences
* http://www.w3.org/2001/XMLSchema-instance with 95 occurrences
2019-03-21 12:21:27 -06:00
Spring Operator
d03b571ebc URL Cleanup
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# Fixed URLs

## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* http://www.apache.org/licenses/ with 1 occurrences migrated to:
  https://www.apache.org/licenses/ ([https](https://www.apache.org/licenses/) result 200).
* http://www.apache.org/licenses/LICENSE-2.0 with 512 occurrences migrated to:
  https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0) result 200).
2019-03-19 23:09:30 -05:00
Eddú Meléndez
e32379af3e Fix port 2019-01-22 11:14:28 -06:00
Eddú Meléndez
0ebfec5df5 Set anonymousReadOnly true when userDn is not provided
Fixes gh-473
2019-01-22 11:14:28 -06:00
Konrad Windszus
4d593dcf85 fix IT where the modified DN leads to a new entryUUID 2017-01-19 13:52:10 -06:00
Konrad Windszus
dd73c9c0a2 added ITs 2017-01-19 13:52:10 -06:00
Rob Winch
0e280146fb Remove Spring Data
Fixes gh-436
2016-12-16 17:06:32 -06:00
Rob Winch
e970111a17 Use versionless schema 2016-09-30 15:33:15 -05:00
Rob Winch
c3326cf658 Update Dependency Versions
Fixes gh-418
2016-09-30 11:29:50 -05:00
Rob Winch
3739079e5a Work with Spring 5
Fixes gh-415
2016-09-30 11:29:19 -05:00
Eddú Meléndez Gonzales
64208a34ed Move test to assertj (#401) 2016-04-15 12:56:31 -05:00
Andy Wilkinson
b271b1fd66 LDAP-328: DirtiesContext for Integration Tests that have Order issues
The upgrade to JUnit 4.11 has revealed some integration tests whose
success was dependant on them being run in a particular order. To
overcome this the classes containing these tests have been marked
with @DirtiesContext configured to renew the application context after
each test method.
2015-04-28 16:01:23 -05:00
Rob Winch
340a88da4c LDAP-321: ContextSourceTransactionManager overrides isExistingTransaction
PreviouslyIllegalStateException: No value for key PoolingContextSource
would be thrown.

This is now fixed since isExistingTransaction is now provided.
2015-04-28 13:07:03 -05:00
Mattias Hellborg Arthursson
f89daf692e LDAP-282: Minor tweaks to naming in LdapNameBuilder. Added methods for appending distinguished name strings. 2013-11-18 13:36:16 +01:00
Mattias Hellborg Arthursson
98e4db9ae5 LDAP-264: Handle SizeLimitException explicitly, ignoring and aborting unless explicitly specified otherwise. 2013-11-18 11:51:14 +01:00
Mattias Hellborg Arthursson
7610961d25 LDAP-279: Configuration tweaks. Removed simple-odm sample. 2013-11-08 08:49:55 +01:00
Mattias Hellborg Arthursson
9f81a8918c LDAP-280: Now updating id in created/updated objects. 2013-11-07 15:51:09 +01:00
Mattias Hellborg Arthursson
6ac6afb912 LDAP-56: Removed obsolete file. 2013-11-05 09:02:19 +01:00
Mattias Hellborg Arthursson
d3414775c4 LDAP-56: Specific configuration when running integration tests against Active Directory. 2013-11-05 09:00:38 +01:00
Mattias Hellborg Arthursson
2eba25811e LDAP-56: generic integration tests are now configurable to run against a local LDAP server rather than startin in-process ApacheDS. 2013-10-25 10:46:28 +02:00
Mattias Hellborg Arthursson
c2abc9660e LDAP-248: DirContextAdapter now handles javax.naming.Name instances properly with regards to equality
LDAP-274: ODM now uses standard Spring converter (if present).
LDAP-275: Support for different Collection types in ODM
2013-10-24 10:25:22 +02:00
Mattias Hellborg Arthursson
27593ac973 LDAP-271: Now propertly handling setting values to null and updating when using ODM. 2013-10-22 08:51:20 +02:00
Mattias Hellborg Arthursson
7823b329b4 LDAP-269: Basic QueryDSL support. 2013-10-22 08:06:12 +02:00
Mattias Hellborg Arthursson
983d183bb1 LDAP-266: Finishing up spring-data repository support. 2013-10-14 16:09:28 +02:00
Mattias Hellborg Arthursson
2c3d1935dc LDAP-266: Integration tests of automatic repository support. 2013-10-14 09:21:24 +02:00
Mattias Hellborg Arthursson
1e2a060459 LDAP-273: Converted to slf4j 2013-10-10 14:21:23 +02:00
Mattias Hellborg Arthursson
c98110b8c2 LDAP-266: Initial effort for automatic repository support. 2013-10-10 13:32:45 +02:00
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