249 Commits

Author SHA1 Message Date
Josh Cummings
e60f53e8af Fix Javacc Download
Closes gh-854
2023-12-19 10:43:38 -07:00
Josh Cummings
279c110604 Check That Credentials Are Non-Null
Closes gh-538
2022-05-12 10:33:17 -06:00
Josh Cummings
44d591b2bc Add spring-data-commons optional dependency
Otherwise, the XSD cannot find spring-repository.

Issue gh-32
2022-02-17 12:02:44 -07:00
Josh Cummings
7ac7a295cd Polish ReturnAttributes Override
Closes gh-465
2022-02-01 14:09:42 -07:00
Orlando Souto
f8fa7e5d0a Update ReturnAttributes Override
Issue gh-465
2022-02-01 14:09:42 -07:00
mfijas
aead910d64 Fixed debug log format strings
There were a few '%s$1' instead of '%1$s', which caused "$1" to be written to logs.
2022-01-18 14:21:08 -07:00
Josh Cummings
02dd0731fd Polish
Issue gh-489
2022-01-18 13:46:14 -07:00
Tim Perry
3d5eefc64d Close searchResults so LDAP context can close.
Fixes #489
2022-01-18 13:46:14 -07:00
Parker Mauney
5d65143fc9 Fix duplicate typos in exceptions and docs
Closes gh-488
2021-12-16 13:52:47 -07:00
Josh Cummings
8295935290 Add LdapQueryBuilder#filter Docs
Closes gh-582
2021-11-29 09:55:29 -07:00
Josh Cummings
9516edd8c4 Isolate DatatypeConverter Usage
Closes gh-590
2021-11-23 16:41:16 -07:00
Ihor Herasymenko
0f30b05d2f Rework Context.INITIAL_CONTEXT_FACTORY Default
With this approach in place, one will be able to specify a different
implementation using the setContextFactory method should
`com.sun.jndi.ldap.LdapCtxFactory` get removed one day (since this
class is not exported by the `java.naming` modules in JDK 9+ and is an
implementation detail).

Closes gh-579
2021-05-04 14:53:47 -06:00
Rob Winch
cef377b050 master->main
Closes gh-580
2021-04-26 16:17:54 -05:00
Josh Cummings
4d2915efc0 Update Copyright Header 2021-03-08 13:20:30 -07:00
Jirka Havelka
f68f8ce935 fix Not null value assert in LdapNameBuilder.add() 2021-03-04 10:05:27 +01:00
Josh Cummings
113044ad55 Update Copyright
Issue gh-543
2021-02-23 14:46:44 -07:00
Ihor Herasymenko
0a1d3f595b Remove a compile time reference to com.sun.jndi.ldap.LdapCtxFactory
com.sun.jndi.ldap.LdapCtxFactory is not supposed to be used by anyone but the 'java.naming' module in post Java 8 world.

Fixes #543
2021-02-23 14:45:42 -07:00
Rob Winch
bb92e1dd30 Use repo.spring.io for javacc download
Closes gh-553
2020-04-30 09:56:07 -05:00
Michael Schneider
8b68cb0c3c Force a server call to update the LDAP context
With the fix #430 the `DefaultTlsDirContextAuthenticationStrategy` was
extended by the call of `ctx.reconnect(null);`. Due to the Java bug
JDK-8217606 this call creates a second connection while the first
connection remains open forever.

fixes #502
see JDK-8217606 https://bugs.java.com/bugdatabase/view_bug.do?bug_id=8217606
2020-03-03 19:41:42 -06:00
Josh Cummings
6a9bde3481 URL Cleanup
Replacing http://www.watersprings.org/pub/id/draft-kashi-incremental-00.txt
with https://tools.ietf.org/html/draft-kashi-incremental-00
2019-03-21 13:08:28 -06:00
Spring Operator
885ba331ac 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.watersprings.org/pub/id/draft-kashi-incremental-00.txt (200) with 3 occurrences could not be migrated:
   ([https](https://www.watersprings.org/pub/id/draft-kashi-incremental-00.txt) result AnnotatedConnectException).

# 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://progit.org/book/ch5-2.html (301) with 1 occurrences migrated to:
  https://progit.org/book/ch5-2.html ([https](https://progit.org/book/ch5-2.html) result SSLHandshakeException).
* [ ] http://www3.tools.ietf.org/html/draft-ietf-ldapext-ldapv3-vlv-09 (AnnotatedConnectException) with 1 occurrences migrated to:
  https://www3.tools.ietf.org/html/draft-ietf-ldapext-ldapv3-vlv-09 ([https](https://www3.tools.ietf.org/html/draft-ietf-ldapext-ldapv3-vlv-09) result AnnotatedConnectException).
* [ ] http://www.jroller.com/eyallupu/entry/java_jndi_how_to_convert (ConnectTimeoutException) with 1 occurrences migrated to:
  https://www.jroller.com/eyallupu/entry/java_jndi_how_to_convert ([https](https://www.jroller.com/eyallupu/entry/java_jndi_how_to_convert) result ConnectTimeoutException).
* [ ] http://www.w3.org/TR/html4/loose.dtd (ReadTimeoutException) with 1 occurrences migrated to:
  https://www.w3.org/TR/html4/loose.dtd ([https](https://www.w3.org/TR/html4/loose.dtd) result ReadTimeoutException).
* [ ] http://src.springframework.org/svn/spring-ldap/tags/spring-ldap-1.3.1.RELEASE (UnknownHostException) with 1 occurrences migrated to:
  https://src.springframework.org/svn/spring-ldap/tags/spring-ldap-1.3.1.RELEASE ([https](https://src.springframework.org/svn/spring-ldap/tags/spring-ldap-1.3.1.RELEASE) result UnknownHostException).
* [ ] http://src.springframework.org/svn/spring-ldap/trunk (UnknownHostException) with 1 occurrences migrated to:
  https://src.springframework.org/svn/spring-ldap/trunk ([https](https://src.springframework.org/svn/spring-ldap/trunk) result UnknownHostException).
* [ ] http://www3.ietf.org/proceedings/02nov/I-D/draft-ietf-ldapext-ldapv3-vlv-09.txt (UnknownHostException) with 1 occurrences migrated to:
  https://www3.ietf.org/proceedings/02nov/I-D/draft-ietf-ldapext-ldapv3-vlv-09.txt ([https](https://www3.ietf.org/proceedings/02nov/I-D/draft-ietf-ldapext-ldapv3-vlv-09.txt) result UnknownHostException).
* [ ] http://s3.amazonaws.com/doc/2006-03-01/ (403) with 1 occurrences migrated to:
  https://s3.amazonaws.com/doc/2006-03-01/ ([https](https://s3.amazonaws.com/doc/2006-03-01/) result 403).
* [ ] http://book.git-scm.com/4_interactive_rebasing.html (301) with 1 occurrences migrated to:
  https://book.git-scm.com/4_interactive_rebasing.html ([https](https://book.git-scm.com/4_interactive_rebasing.html) result 404).
* [ ] http://static.springframework.org/spring-ldap/docs/1.3.x/changelog.txt (301) with 1 occurrences migrated to:
  https://docs.spring.io/spring-ldap/docs/1.3.x/changelog.txt ([https](https://static.springframework.org/spring-ldap/docs/1.3.x/changelog.txt) result 404).
* [ ] http://help.github.com/send-pull-requests (404) with 1 occurrences migrated to:
  https://help.github.com/send-pull-requests ([https](https://help.github.com/send-pull-requests) result 404).
* [ ] http://s3.amazonaws.com/maven.springframework.org/milestone (404) with 1 occurrences migrated to:
  https://s3.amazonaws.com/maven.springframework.org/milestone ([https](https://s3.amazonaws.com/maven.springframework.org/milestone) result 404).
* [ ] http://s3.amazonaws.com/maven.springframework.org/snapshot (404) with 1 occurrences migrated to:
  https://s3.amazonaws.com/maven.springframework.org/snapshot ([https](https://s3.amazonaws.com/maven.springframework.org/snapshot) 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://apache.org/index.html with 4 occurrences migrated to:
  https://apache.org/index.html ([https](https://apache.org/index.html) result 200).
* [ ] http://blog.alexmaccaw.com/css-transitions with 1 occurrences migrated to:
  https://blog.alexmaccaw.com/css-transitions ([https](https://blog.alexmaccaw.com/css-transitions) result 200).
* [ ] http://docs.oracle.com/javase/6/docs/api/javax/naming/ldap/LdapName.html with 1 occurrences migrated to:
  https://docs.oracle.com/javase/6/docs/api/javax/naming/ldap/LdapName.html ([https](https://docs.oracle.com/javase/6/docs/api/javax/naming/ldap/LdapName.html) result 200).
* [ ] http://docs.oracle.com/javase/jndi/tutorial/ldap/referral/jndi.html with 4 occurrences migrated to:
  https://docs.oracle.com/javase/jndi/tutorial/ldap/referral/jndi.html ([https](https://docs.oracle.com/javase/jndi/tutorial/ldap/referral/jndi.html) result 200).
* [ ] http://docs.spring.io/spring-data/data-commons/docs/1.6.1.RELEASE/reference/html/repositories.html with 1 occurrences migrated to:
  https://docs.spring.io/spring-data/data-commons/docs/1.6.1.RELEASE/reference/html/repositories.html ([https](https://docs.spring.io/spring-data/data-commons/docs/1.6.1.RELEASE/reference/html/repositories.html) result 200).
* [ ] http://static.springframework.org/spring-ldap/docs/1.3.x/apidocs/ (301) with 1 occurrences migrated to:
  https://docs.spring.io/spring-ldap/docs/1.3.x/apidocs/ ([https](https://static.springframework.org/spring-ldap/docs/1.3.x/apidocs/) result 200).
* [ ] http://static.springframework.org/spring-ldap/docs/1.3.x/reference/html/ (301) with 1 occurrences migrated to:
  https://docs.spring.io/spring-ldap/docs/1.3.x/reference/html/ ([https](https://static.springframework.org/spring-ldap/docs/1.3.x/reference/html/) result 200).
* [ ] http://static.springframework.org/spring-ldap/docs/1.3.x/reference/pdf/spring-ldap-reference.pdf (301) with 1 occurrences migrated to:
  https://docs.spring.io/spring-ldap/docs/1.3.x/reference/pdf/spring-ldap-reference.pdf ([https](https://static.springframework.org/spring-ldap/docs/1.3.x/reference/pdf/spring-ldap-reference.pdf) result 200).
* [ ] http://docs.spring.io/spring-ldap/docs/current/apidocs/org/springframework/ldap/core/AttributesMapper.html with 1 occurrences migrated to:
  https://docs.spring.io/spring-ldap/docs/current/apidocs/org/springframework/ldap/core/AttributesMapper.html ([https](https://docs.spring.io/spring-ldap/docs/current/apidocs/org/springframework/ldap/core/AttributesMapper.html) result 200).
* [ ] http://docs.spring.io/spring-ldap/docs/current/apidocs/org/springframework/ldap/core/ContextMapper.html with 1 occurrences migrated to:
  https://docs.spring.io/spring-ldap/docs/current/apidocs/org/springframework/ldap/core/ContextMapper.html ([https](https://docs.spring.io/spring-ldap/docs/current/apidocs/org/springframework/ldap/core/ContextMapper.html) result 200).
* [ ] http://docs.spring.io/spring-ldap/docs/current/apidocs/org/springframework/ldap/core/DirContextAdapter.html with 3 occurrences migrated to:
  https://docs.spring.io/spring-ldap/docs/current/apidocs/org/springframework/ldap/core/DirContextAdapter.html ([https](https://docs.spring.io/spring-ldap/docs/current/apidocs/org/springframework/ldap/core/DirContextAdapter.html) result 200).
* [ ] http://docs.spring.io/spring-ldap/docs/current/apidocs/org/springframework/ldap/core/support/AbstractContextMapper.html with 1 occurrences migrated to:
  https://docs.spring.io/spring-ldap/docs/current/apidocs/org/springframework/ldap/core/support/AbstractContextMapper.html ([https](https://docs.spring.io/spring-ldap/docs/current/apidocs/org/springframework/ldap/core/support/AbstractContextMapper.html) result 200).
* [ ] http://docs.spring.io/spring-ldap/docs/current/apidocs/org/springframework/ldap/query/LdapQueryBuilder.html with 1 occurrences migrated to:
  https://docs.spring.io/spring-ldap/docs/current/apidocs/org/springframework/ldap/query/LdapQueryBuilder.html ([https](https://docs.spring.io/spring-ldap/docs/current/apidocs/org/springframework/ldap/query/LdapQueryBuilder.html) result 200).
* [ ] http://docs.spring.io/spring-ldap/docs/current/apidocs/org/springframework/ldap/support/LdapNameBuilder.html with 1 occurrences migrated to:
  https://docs.spring.io/spring-ldap/docs/current/apidocs/org/springframework/ldap/support/LdapNameBuilder.html ([https](https://docs.spring.io/spring-ldap/docs/current/apidocs/org/springframework/ldap/support/LdapNameBuilder.html) result 200).
* [ ] http://docs.spring.io/spring-ldap/docs/current/apidocs/org/springframework/ldap/support/LdapUtils.html with 1 occurrences migrated to:
  https://docs.spring.io/spring-ldap/docs/current/apidocs/org/springframework/ldap/support/LdapUtils.html ([https](https://docs.spring.io/spring-ldap/docs/current/apidocs/org/springframework/ldap/support/LdapUtils.html) result 200).
* [ ] http://static.springframework.org/spring-ldap/downloads/1.3-snapshot-download.php (301) with 2 occurrences migrated to:
  https://docs.spring.io/spring-ldap/downloads/1.3-snapshot-download.php ([https](https://static.springframework.org/spring-ldap/downloads/1.3-snapshot-download.php) result 200).
* [ ] http://static.springframework.org/spring-ldap/site/reference.html (301) with 1 occurrences migrated to:
  https://docs.spring.io/spring-ldap/site/reference.html ([https](https://static.springframework.org/spring-ldap/site/reference.html) result 200).
* [ ] http://docs.spring.io/spring/docs/current/javadoc-api/org/springframework/jdbc/core/JdbcTemplate.html with 1 occurrences migrated to:
  https://docs.spring.io/spring/docs/current/javadoc-api/org/springframework/jdbc/core/JdbcTemplate.html ([https](https://docs.spring.io/spring/docs/current/javadoc-api/org/springframework/jdbc/core/JdbcTemplate.html) result 200).
* [ ] http://getbootstrap.com/javascript/ with 12 occurrences migrated to:
  https://getbootstrap.com/javascript/ ([https](https://getbootstrap.com/javascript/) result 200).
* [ ] http://www.gopivotal.com (302) with 1 occurrences migrated to:
  https://pivotal.io ([https](https://www.gopivotal.com) result 200).
* [ ] http://projects.spring.io/spring-ldap/ with 1 occurrences migrated to:
  https://projects.spring.io/spring-ldap/ ([https](https://projects.spring.io/spring-ldap/) result 200).
* [ ] http://s3.amazonaws.com/maven.springframework.org?prefix=snapshot/org/springframework/ldap/spring-ldap/1.3.2.CI-SNAPSHOT/ with 1 occurrences migrated to:
  https://s3.amazonaws.com/maven.springframework.org?prefix=snapshot/org/springframework/ldap/spring-ldap/1.3.2.CI-SNAPSHOT/ ([https](https://s3.amazonaws.com/maven.springframework.org?prefix=snapshot/org/springframework/ldap/spring-ldap/1.3.2.CI-SNAPSHOT/) result 200).
* [ ] http://structure101.com/ with 1 occurrences migrated to:
  https://structure101.com/ ([https](https://structure101.com/) result 200).
* [ ] http://tools.ietf.org/html/rfc4526 with 2 occurrences migrated to:
  https://tools.ietf.org/html/rfc4526 ([https](https://tools.ietf.org/html/rfc4526) result 200).
* [ ] http://underscorejs.org with 1 occurrences migrated to:
  https://underscorejs.org ([https](https://underscorejs.org) result 200).
* [ ] http://www.apache.org with 1 occurrences migrated to:
  https://www.apache.org ([https](https://www.apache.org) result 200).
* [ ] http://www.ietf.org/rfc/rfc1960.txt with 2 occurrences migrated to:
  https://www.ietf.org/rfc/rfc1960.txt ([https](https://www.ietf.org/rfc/rfc1960.txt) result 200).
* [ ] http://www.ietf.org/rfc/rfc2251.txt with 2 occurrences migrated to:
  https://www.ietf.org/rfc/rfc2251.txt ([https](https://www.ietf.org/rfc/rfc2251.txt) result 200).
* [ ] http://www.ietf.org/rfc/rfc2252.txt with 2 occurrences migrated to:
  https://www.ietf.org/rfc/rfc2252.txt ([https](https://www.ietf.org/rfc/rfc2252.txt) result 200).
* [ ] http://www.ietf.org/rfc/rfc2253.txt with 2 occurrences migrated to:
  https://www.ietf.org/rfc/rfc2253.txt ([https](https://www.ietf.org/rfc/rfc2253.txt) result 200).
* [ ] http://www.ietf.org/rfc/rfc2254.txt with 2 occurrences migrated to:
  https://www.ietf.org/rfc/rfc2254.txt ([https](https://www.ietf.org/rfc/rfc2254.txt) result 200).
* [ ] http://www.ietf.org/rfc/rfc2255.txt with 2 occurrences migrated to:
  https://www.ietf.org/rfc/rfc2255.txt ([https](https://www.ietf.org/rfc/rfc2255.txt) result 200).
* [ ] http://www.ietf.org/rfc/rfc2256.txt with 3 occurrences migrated to:
  https://www.ietf.org/rfc/rfc2256.txt ([https](https://www.ietf.org/rfc/rfc2256.txt) result 200).
* [ ] http://www.ietf.org/rfc/rfc2696.txt with 2 occurrences migrated to:
  https://www.ietf.org/rfc/rfc2696.txt ([https](https://www.ietf.org/rfc/rfc2696.txt) result 200).
* [ ] http://www.ietf.org/rfc/rfc2829.txt with 2 occurrences migrated to:
  https://www.ietf.org/rfc/rfc2829.txt ([https](https://www.ietf.org/rfc/rfc2829.txt) result 200).
* [ ] http://www.jayway.com with 1 occurrences migrated to:
  https://www.jayway.com ([https](https://www.jayway.com) result 200).
* [ ] http://www.rfc-editor.org/rfc/rfc4515.txt with 1 occurrences migrated to:
  https://www.rfc-editor.org/rfc/rfc4515.txt ([https](https://www.rfc-editor.org/rfc/rfc4515.txt) result 200).
* [ ] http://www.springframework.org/schema/beans/spring-beans.xsd with 2 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/data/repository/spring-repository.xsd with 3 occurrences migrated to:
  https://www.springframework.org/schema/data/repository/spring-repository.xsd ([https](https://www.springframework.org/schema/data/repository/spring-repository.xsd) result 200).
* [ ] http://www.springframework.org/schema/ldap/spring-ldap.xsd with 2 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://blogs.msdn.com/oldnewthing/archive/2004/03/15/89753.aspx with 3 occurrences migrated to:
  https://blogs.msdn.com/oldnewthing/archive/2004/03/15/89753.aspx ([https](https://blogs.msdn.com/oldnewthing/archive/2004/03/15/89753.aspx) result 301).
* [ ] http://contributor-covenant.org with 1 occurrences migrated to:
  https://contributor-covenant.org ([https](https://contributor-covenant.org) result 301).
* [ ] http://contributor-covenant.org/version/1/3/0/ with 1 occurrences migrated to:
  https://contributor-covenant.org/version/1/3/0/ ([https](https://contributor-covenant.org/version/1/3/0/) result 301).
* [ ] http://forum.springsource.org/showthread.php?t=86640 (301) with 1 occurrences migrated to:
  https://forum.spring.io/showthread.php?t=86640 ([https](https://forum.springsource.org/showthread.php?t=86640) result 301).
* [ ] http://google.com/ with 4 occurrences migrated to:
  https://google.com/ ([https](https://google.com/) result 301).
* [ ] http://jira.springframework.org/browse/LDAP-96 with 1 occurrences migrated to:
  https://jira.springframework.org/browse/LDAP-96 ([https](https://jira.springframework.org/browse/LDAP-96) result 301).
* [ ] http://www.modernizr.com/ with 1 occurrences migrated to:
  https://www.modernizr.com/ ([https](https://www.modernizr.com/) result 301).
* [ ] http://www.oracle.com/ with 2 occurrences migrated to:
  https://www.oracle.com/ ([https](https://www.oracle.com/) result 301).
* [ ] http://www.pcreview.co.uk/forums/thread-1458615.php with 2 occurrences migrated to:
  https://www.pcreview.co.uk/forums/thread-1458615.php ([https](https://www.pcreview.co.uk/forums/thread-1458615.php) result 301).
* [ ] http://www.springframework.org/ldap with 2 occurrences migrated to:
  https://www.springframework.org/ldap ([https](https://www.springframework.org/ldap) result 301).
* [ ] http://commons.apache.org/pool/index.html with 1 occurrences migrated to:
  https://commons.apache.org/pool/index.html ([https](https://commons.apache.org/pool/index.html) result 302).
* [ ] http://download.oracle.com/javase/1.5.0/docs/api/javax/naming/ldap/Control.html with 1 occurrences migrated to:
  https://download.oracle.com/javase/1.5.0/docs/api/javax/naming/ldap/Control.html ([https](https://download.oracle.com/javase/1.5.0/docs/api/javax/naming/ldap/Control.html) result 302).
* [ ] http://java.sun.com/j2se/1.3/docs/guide/collections/designfaq.html with 5 occurrences migrated to:
  https://java.sun.com/j2se/1.3/docs/guide/collections/designfaq.html ([https](https://java.sun.com/j2se/1.3/docs/guide/collections/designfaq.html) result 302).
* [ ] http://java.sun.com/products/jndi/tutorial/basics/directory/filter.html with 1 occurrences migrated to:
  https://java.sun.com/products/jndi/tutorial/basics/directory/filter.html ([https](https://java.sun.com/products/jndi/tutorial/basics/directory/filter.html) result 302).
* [ ] http://java.sun.com/products/jndi/tutorial/ldap/connect/config.html with 1 occurrences migrated to:
  https://java.sun.com/products/jndi/tutorial/ldap/connect/config.html ([https](https://java.sun.com/products/jndi/tutorial/ldap/connect/config.html) result 302).
* [ ] http://java.sun.com/products/jndi/tutorial/ldap/connect/pool.html with 1 occurrences migrated to:
  https://java.sun.com/products/jndi/tutorial/ldap/connect/pool.html ([https](https://java.sun.com/products/jndi/tutorial/ldap/connect/pool.html) result 302).
* [ ] http://java.sun.com/products/jndi/tutorial/ldap/ext/starttls.html with 2 occurrences migrated to:
  https://java.sun.com/products/jndi/tutorial/ldap/ext/starttls.html ([https](https://java.sun.com/products/jndi/tutorial/ldap/ext/starttls.html) result 302).
* [ ] http://java.sun.com/products/jndi/tutorial/ldap/misc/attrs.html with 1 occurrences migrated to:
  https://java.sun.com/products/jndi/tutorial/ldap/misc/attrs.html ([https](https://java.sun.com/products/jndi/tutorial/ldap/misc/attrs.html) result 302).
* [ ] http://maven.springframework.org/milestone with 1 occurrences migrated to:
  https://maven.springframework.org/milestone ([https](https://maven.springframework.org/milestone) result 302).
* [ ] http://maven.springframework.org/snapshot with 1 occurrences migrated to:
  https://maven.springframework.org/snapshot ([https](https://maven.springframework.org/snapshot) result 302).
* [ ] http://msdn.microsoft.com/en-us/library/aa379571%28VS.85%29.aspx with 1 occurrences migrated to:
  https://msdn.microsoft.com/en-us/library/aa379571%28VS.85%29.aspx ([https](https://msdn.microsoft.com/en-us/library/aa379571%28VS.85%29.aspx) result 302).
* [ ] http://spring.io/spring-ldap/ with 1 occurrences migrated to:
  https://spring.io/spring-ldap/ ([https](https://spring.io/spring-ldap/) result 302).
* [ ] http://spring.io/spring-security with 2 occurrences migrated to:
  https://spring.io/spring-security ([https](https://spring.io/spring-security) result 302).
* [ ] http://www.springsource.com/download/community?project=Spring%20LDAP with 1 occurrences migrated to:
  https://www.springsource.com/download/community?project=Spring%20LDAP ([https](https://www.springsource.com/download/community?project=Spring%20LDAP) result 302).
* [ ] http://s3.amazonaws.com/ with 1 occurrences migrated to:
  https://s3.amazonaws.com/ ([https](https://s3.amazonaws.com/) result 307).

# Ignored
These URLs were intentionally ignored.

* http://java.sun.com/jsp/jstl/core with 11 occurrences
* http://localhost:8080/spring-ldap-plain-sample with 2 occurrences
* http://localhost:8080/spring-ldap-user-admin-sample with 1 occurrences
* http://www.springframework.org/schema/beans with 4 occurrences
* http://www.springframework.org/schema/data/repository with 6 occurrences
* http://www.springframework.org/schema/ldap with 11 occurrences
* http://www.w3.org/1999/XSL/Transform with 1 occurrences
* http://www.w3.org/2001/XMLSchema with 3 occurrences
* http://www.w3.org/2001/XMLSchema-instance with 2 occurrences
2019-03-21 13:08:28 -06: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
Etienne Dysli Metref
81604a81ed Document that @DnAttribute only works on String fields
Fixes #499.
2019-01-25 08:29:11 -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
Amir Wiener
c0def8583f return the processed context (as it can be a proxy) 2017-10-06 14:39:26 -05:00
Rob Winch
bdbbd72b7d Issues: gh-430 gh-432 2017-10-06 14:33:34 -05:00
Tobias Schneider
08e8ae289b Force reconnect with credentials on DefaultTlsDirContextAuthenticationStrategy
refs #430
2017-10-06 14:25:31 -05:00
Rob Winch
9d8f9fb188 javacc uses https 2017-03-06 09:21:42 -06:00
Rob Winch
145d42b76e Fix javacc download url
The javacc download URL has been moved. This commit updates
to the new download URL
2017-03-03 11:39:38 -06:00
Konrad Windszus
dd73c9c0a2 added ITs 2017-01-19 13:52:10 -06:00
Konrad Windszus
8dd61f9b6a added some unit tests for new functionality 2017-01-19 13:52:10 -06:00
Konrad Windszus
c7ac71bea0 fix failing test (by mocking more functionality of nameMock) 2017-01-19 13:52:10 -06:00
Konrad Windszus
e84eda1096 skip transient fields and also consider attribute names of non-annotated
fields
2017-01-19 13:52:10 -06:00
Konrad Windszus
9ab8cabedb always add mandatory attribute 'objectclass' 2017-01-19 13:52:10 -06:00
Konrad Windszus
dd7091513b disable failing test due to NPE 2017-01-19 13:52:10 -06:00
Konrad Windszus
c5ff90d1c5 fix NPE in case of annotated field not having any attributes connected
to it
2017-01-19 13:52:10 -06:00
Konrad Windszus
74c77276ec removed irrelevant formatting changes
javadoc fix
2017-01-19 13:52:10 -06:00
Konrad Windszus
5cecd0b2f7 Support read-only attributes.
Also always explicitly request only the necessary attributes (makes
operational attributes work).

This closes #347
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
Patryk Petrowski
a44454d221 Fix valuesAsNames on NameAwareAttribute.remote(int)
Issue gh-437
2016-12-16 15:39:12 -06:00
Patryk Petrowski
37f8833826 Make NameAwareAttribute Iterable
Allow faster iteration over NameAwareAttribute's values

Fixes gh-429
2016-12-16 15:37:47 -06:00
Andrei Ivanov
c885997cd7 Improve Log Levels
Issue gh-402
2016-10-21 10:40:29 -05:00
Andrei Ivanov
7d2a71815d Fix indentation 2016-10-17 21:29:15 -05:00
Andrei Ivanov
468655a17c Use placeholders instead of string concatenation when logging 2016-10-17 21:29:15 -05:00
Andrei Ivanov
33840bc46c No need to log twice in case of an exception (#402) 2016-10-17 21:29:15 -05:00
Andrei Ivanov
5951d8a526 Fix #402 2016-10-17 21:29:15 -05:00
Rob Winch
c5388bcb5d Fix XSD Schemas
Previously the schemas had been improperly merged into the
spring-ldap-2.0.xsd

This commit properly separates the schemas into their own versions.

Fixes gh-406
2016-10-04 10:25:47 -05:00
Rob Winch
1e542f3381 LdapEncoder Base64 newlines should start with " "
Fixes gh-413
2016-09-30 16:46:17 -05:00
Rob Winch
e970111a17 Use versionless schema 2016-09-30 15:33:15 -05:00