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 2 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.springsource.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.springsource.org/spring-ldap/docs/1.3.x/reference/html/) 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.spring.io/forum/spring-projects/data/ldap with 1 occurrences migrated to: https://forum.spring.io/forum/spring-projects/data/ldap ([https](https://forum.spring.io/forum/spring-projects/data/ldap) 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://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://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 3 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
This commit is contained in:
@@ -40,5 +40,5 @@ appropriate to the circumstances. Maintainers are obligated to maintain confiden
|
||||
with regard to the reporter of an incident.
|
||||
|
||||
This Code of Conduct is adapted from the
|
||||
http://contributor-covenant.org[Contributor Covenant], version 1.3.0, available at
|
||||
http://contributor-covenant.org/version/1/3/0/[contributor-covenant.org/version/1/3/0/]
|
||||
https://contributor-covenant.org[Contributor Covenant], version 1.3.0, available at
|
||||
https://contributor-covenant.org/version/1/3/0/[contributor-covenant.org/version/1/3/0/]
|
||||
|
||||
@@ -157,7 +157,7 @@ public class Spr8954Tests {
|
||||
Use `git rebase --interactive`, `git add --patch` and other tools to "squash"
|
||||
multiple commits into atomic changes. In addition to the man pages for git,
|
||||
there are many resources online to help you understand how these tools work.
|
||||
Here is one: http://book.git-scm.com/4_interactive_rebasing.html.
|
||||
Here is one: https://book.git-scm.com/4_interactive_rebasing.html.
|
||||
|
||||
|
||||
## Use real name in git commits
|
||||
@@ -282,8 +282,8 @@ Note that you can always force push (`git push -f`) reworked / rebased commits
|
||||
against the branch used to submit your pull request. i.e. you do not need to
|
||||
issue a new pull request when asked to make changes.
|
||||
|
||||
[help documentation]: http://help.github.com/send-pull-requests
|
||||
[help documentation]: https://help.github.com/send-pull-requests
|
||||
[JIRA issue tracker]: https://jira.springsource.org/browse/LDAP
|
||||
[SpringSource CLA form]: https://support.springsource.com/spring_committer_signup
|
||||
[fork-and-edit]: https://github.com/blog/844-forking-with-the-edit-button
|
||||
[commit guidelines section of Pro Git]: http://progit.org/book/ch5-2.html#commit_guidelines
|
||||
[commit guidelines section of Pro Git]: https://progit.org/book/ch5-2.html#commit_guidelines
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
Spring LDAP CHANGELOG
|
||||
=====================
|
||||
http://www.springframework.org/ldap
|
||||
https://www.springframework.org/ldap
|
||||
|
||||
http://www.ietf.org/rfc/rfc1960.txt
|
||||
http://www.ietf.org/rfc/rfc2251.txt
|
||||
http://www.ietf.org/rfc/rfc2252.txt
|
||||
http://www.ietf.org/rfc/rfc2253.txt
|
||||
http://www.ietf.org/rfc/rfc2254.txt
|
||||
http://www.ietf.org/rfc/rfc2255.txt
|
||||
http://www.ietf.org/rfc/rfc2256.txt
|
||||
http://www.ietf.org/rfc/rfc2696.txt
|
||||
http://www.ietf.org/rfc/rfc2829.txt
|
||||
https://www.ietf.org/rfc/rfc1960.txt
|
||||
https://www.ietf.org/rfc/rfc2251.txt
|
||||
https://www.ietf.org/rfc/rfc2252.txt
|
||||
https://www.ietf.org/rfc/rfc2253.txt
|
||||
https://www.ietf.org/rfc/rfc2254.txt
|
||||
https://www.ietf.org/rfc/rfc2255.txt
|
||||
https://www.ietf.org/rfc/rfc2256.txt
|
||||
https://www.ietf.org/rfc/rfc2696.txt
|
||||
https://www.ietf.org/rfc/rfc2829.txt
|
||||
|
||||
Changes in version 1.3.2 (Not released yet)
|
||||
-------------------------------------------
|
||||
@@ -39,7 +39,7 @@ Changes in version 1.3.1 (November 2010)
|
||||
|
||||
* Added utility methods for converting a Windows security identifier (SID)
|
||||
between a binary format and a slightly more readable string format.
|
||||
http://msdn.microsoft.com/en-us/library/aa379571%28VS.85%29.aspx
|
||||
https://msdn.microsoft.com/en-us/library/aa379571%28VS.85%29.aspx
|
||||
(LDAP-187)
|
||||
|
||||
* Added authentication methods that provide a possible authentication
|
||||
@@ -57,7 +57,7 @@ Changes in version 1.3.1 (November 2010)
|
||||
"none". (LDAP-188)
|
||||
|
||||
* DIGEST-MD5 SASL authentication mechanism is now supported, as specified by
|
||||
RFC 2829 (see http://www.ietf.org/rfc/rfc2829.txt, section 4). (LDAP-173)
|
||||
RFC 2829 (see https://www.ietf.org/rfc/rfc2829.txt, section 4). (LDAP-173)
|
||||
Contributed by Marvin S. Addison.
|
||||
|
||||
* DefaultDirObjectFactory calls a Java5 version of the IllegalArgumentException
|
||||
|
||||
@@ -56,7 +56,7 @@ import java.util.Hashtable;
|
||||
* processing.
|
||||
* <p>
|
||||
* For further information regarding TLS, refer to <a
|
||||
* href="http://java.sun.com/products/jndi/tutorial/ldap/ext/starttls.html">this
|
||||
* href="https://java.sun.com/products/jndi/tutorial/ldap/ext/starttls.html">this
|
||||
* page</a>.
|
||||
* <p>
|
||||
* <b>NB:</b> TLS negotiation is an expensive process, which is why you will
|
||||
|
||||
@@ -24,7 +24,7 @@ import javax.naming.ldap.LdapContext;
|
||||
* {@link DirContextAuthenticationStrategy} for using TLS and external (SASL)
|
||||
* authentication. This implementation requires a client certificate to be
|
||||
* pointed out using system variables, as described <a
|
||||
* href="http://java.sun.com/products/jndi/tutorial/ldap/ext/starttls.html"
|
||||
* href="https://java.sun.com/products/jndi/tutorial/ldap/ext/starttls.html"
|
||||
* >here</a>. Refer to {@link AbstractTlsDirContextAuthenticationStrategy} for
|
||||
* other configuration options.
|
||||
*
|
||||
|
||||
@@ -20,7 +20,7 @@ package org.springframework.ldap.filter;
|
||||
* A filter that will always evaluate to <code>false</code>, as specified in RFC4526.
|
||||
*
|
||||
* @author Mattias Hellborg Arthursson
|
||||
* @see <a href="http://tools.ietf.org/html/rfc4526">RFC4526</a>
|
||||
* @see <a href="https://tools.ietf.org/html/rfc4526">RFC4526</a>
|
||||
* @since 1.3.2
|
||||
*/
|
||||
public class AbsoluteFalseFilter extends AbstractFilter {
|
||||
|
||||
@@ -20,7 +20,7 @@ package org.springframework.ldap.filter;
|
||||
* A filter that will always evaluate to <code>true</code>, as specified in RFC4526.
|
||||
*
|
||||
* @author Mattias Hellborg Arthursson
|
||||
* @see <a href="http://tools.ietf.org/html/rfc4526">RFC4526</a>
|
||||
* @see <a href="https://tools.ietf.org/html/rfc4526">RFC4526</a>
|
||||
* @since 1.3.2
|
||||
*/
|
||||
public class AbsoluteTrueFilter extends AbstractFilter {
|
||||
|
||||
@@ -20,7 +20,7 @@ package org.springframework.ldap.filter;
|
||||
* Common interface for LDAP filters.
|
||||
*
|
||||
* @author Adam Skogman
|
||||
* @see <a href="http://www.ietf.org/rfc/rfc1960.txt">RFC 1960: A String
|
||||
* @see <a href="https://www.ietf.org/rfc/rfc1960.txt">RFC 1960: A String
|
||||
* Representation of LDAP Search Filters</a>
|
||||
*/
|
||||
public interface Filter {
|
||||
|
||||
@@ -602,9 +602,9 @@ public final class LdapUtils {
|
||||
/**
|
||||
* Converts a binary SID to its String representation, according to the
|
||||
* algorithm described <a
|
||||
* href="http://blogs.msdn.com/oldnewthing/archive/2004/03/15/89753.aspx"
|
||||
* href="https://blogs.msdn.com/oldnewthing/archive/2004/03/15/89753.aspx"
|
||||
* >here</a>. Thanks to <a href=
|
||||
* "http://www.jroller.com/eyallupu/entry/java_jndi_how_to_convert">Eyal
|
||||
* "https://www.jroller.com/eyallupu/entry/java_jndi_how_to_convert">Eyal
|
||||
* Lupu</a> for algorithmic inspiration.
|
||||
*
|
||||
* <pre>
|
||||
@@ -684,7 +684,7 @@ public final class LdapUtils {
|
||||
/**
|
||||
* Converts a String SID to its binary representation, according to the
|
||||
* algorithm described <a
|
||||
* href="http://blogs.msdn.com/oldnewthing/archive/2004/03/15/89753.aspx"
|
||||
* href="https://blogs.msdn.com/oldnewthing/archive/2004/03/15/89753.aspx"
|
||||
* >here</a>.
|
||||
*
|
||||
* @param string SID in readable format
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
targetNamespace="http://www.springframework.org/schema/ldap">
|
||||
|
||||
<xs:import namespace="http://www.springframework.org/schema/data/repository"
|
||||
schemaLocation="http://www.springframework.org/schema/data/repository/spring-repository.xsd" />
|
||||
schemaLocation="https://www.springframework.org/schema/data/repository/spring-repository.xsd" />
|
||||
|
||||
<xs:attributeGroup name="context-source.attlist">
|
||||
<xs:attribute name="id" type="xs:token">
|
||||
@@ -66,7 +66,7 @@
|
||||
<xs:attribute name="referral">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
Defines the strategy to handle referrals, as described on http://docs.oracle.com/javase/jndi/tutorial/ldap/referral/jndi.html.
|
||||
Defines the strategy to handle referrals, as described on https://docs.oracle.com/javase/jndi/tutorial/ldap/referral/jndi.html.
|
||||
Default is null.
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
targetNamespace="http://www.springframework.org/schema/ldap">
|
||||
|
||||
<xs:import namespace="http://www.springframework.org/schema/data/repository"
|
||||
schemaLocation="http://www.springframework.org/schema/data/repository/spring-repository.xsd" />
|
||||
schemaLocation="https://www.springframework.org/schema/data/repository/spring-repository.xsd" />
|
||||
|
||||
<xs:attributeGroup name="context-source.attlist">
|
||||
<xs:attribute name="id" type="xs:token">
|
||||
@@ -66,7 +66,7 @@
|
||||
<xs:attribute name="referral">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
Defines the strategy to handle referrals, as described on http://docs.oracle.com/javase/jndi/tutorial/ldap/referral/jndi.html.
|
||||
Defines the strategy to handle referrals, as described on https://docs.oracle.com/javase/jndi/tutorial/ldap/referral/jndi.html.
|
||||
Default is null.
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
targetNamespace="http://www.springframework.org/schema/ldap">
|
||||
|
||||
<xs:import namespace="http://www.springframework.org/schema/data/repository"
|
||||
schemaLocation="http://www.springframework.org/schema/data/repository/spring-repository.xsd" />
|
||||
schemaLocation="https://www.springframework.org/schema/data/repository/spring-repository.xsd" />
|
||||
|
||||
<xs:attributeGroup name="context-source.attlist">
|
||||
<xs:attribute name="id" type="xs:token">
|
||||
@@ -66,7 +66,7 @@
|
||||
<xs:attribute name="referral">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
Defines the strategy to handle referrals, as described on http://docs.oracle.com/javase/jndi/tutorial/ldap/referral/jndi.html.
|
||||
Defines the strategy to handle referrals, as described on https://docs.oracle.com/javase/jndi/tutorial/ldap/referral/jndi.html.
|
||||
Default is null.
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
|
||||
@@ -834,7 +834,7 @@ public class DirContextAdapterTest {
|
||||
|
||||
/**
|
||||
* Test case corresponding to LDAP-96 in Spring Jira.
|
||||
* http://jira.springframework.org/browse/LDAP-96
|
||||
* https://jira.springframework.org/browse/LDAP-96
|
||||
*/
|
||||
@Test
|
||||
public void testChangeMultiAttributeOrderDoesMatterLDAP96()
|
||||
|
||||
@@ -581,7 +581,7 @@ public class DistinguishedNameTest {
|
||||
}
|
||||
|
||||
/**
|
||||
* Test for http://forum.springsource.org/showthread.php?t=86640.
|
||||
* Test for https://forum.spring.io/showthread.php?t=86640.
|
||||
*/
|
||||
@Test
|
||||
public void testDistinguishedNameWithDotParsesProperly() {
|
||||
|
||||
@@ -101,7 +101,7 @@ public class LdapUtilsTest {
|
||||
}
|
||||
|
||||
/**
|
||||
* Example SID from "http://www.pcreview.co.uk/forums/thread-1458615.php".
|
||||
* Example SID from "https://www.pcreview.co.uk/forums/thread-1458615.php".
|
||||
*/
|
||||
@Test
|
||||
public void testConvertBinarySidToString() throws Exception {
|
||||
@@ -117,7 +117,7 @@ public class LdapUtilsTest {
|
||||
}
|
||||
|
||||
/**
|
||||
* Example SID from "http://blogs.msdn.com/oldnewthing/archive/2004/03/15/89753.aspx".
|
||||
* Example SID from "https://blogs.msdn.com/oldnewthing/archive/2004/03/15/89753.aspx".
|
||||
*/
|
||||
@Test
|
||||
public void testConvertAnotherBinarySidToString() throws Exception {
|
||||
@@ -212,7 +212,7 @@ public class LdapUtilsTest {
|
||||
}
|
||||
|
||||
/**
|
||||
* Example SID from "http://www.pcreview.co.uk/forums/thread-1458615.php".
|
||||
* Example SID from "https://www.pcreview.co.uk/forums/thread-1458615.php".
|
||||
*/
|
||||
@Test
|
||||
public void testConvertStringSidToBinary() throws Exception {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
$url = "http://s3.amazonaws.com/maven.springframework.org?prefix=snapshot/org/springframework/ldap/spring-ldap/1.3.2.CI-SNAPSHOT/";
|
||||
$url = "https://s3.amazonaws.com/maven.springframework.org?prefix=snapshot/org/springframework/ldap/spring-ldap/1.3.2.CI-SNAPSHOT/";
|
||||
$xml = file_get_contents($url);
|
||||
|
||||
header('Content-Type: text/xml; charset=UTF-8');
|
||||
|
||||
@@ -2,5 +2,5 @@ The page containing snapshot zip builds is actually a PHP page which takes the
|
||||
XML listing from S3, and transforms it into links using a XSLT. The required
|
||||
files should be placed on the following location:
|
||||
|
||||
http://static.springframework.org/spring-ldap/downloads/1.3-snapshot-download.php
|
||||
https://docs.spring.io/spring-ldap/downloads/1.3-snapshot-download.php
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xsl:stylesheet
|
||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||
xmlns:s3="http://s3.amazonaws.com/doc/2006-03-01/"
|
||||
xmlns:s3="https://s3.amazonaws.com/doc/2006-03-01/"
|
||||
version="1.0">
|
||||
<xsl:output method="html" version="1.0" encoding="UTF-8" indent="yes"/>
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
<xsl:for-each select="s3:Contents[substring(s3:Key, (string-length(s3:Key) - 2)) = 'zip']">
|
||||
<tr>
|
||||
<td class="name">
|
||||
<a class="name" href="http://s3.amazonaws.com/{$bucket-name}/{s3:Key}">
|
||||
<a class="name" href="https://s3.amazonaws.com/{$bucket-name}/{s3:Key}">
|
||||
<xsl:value-of select="substring-after(s3:Key,$prefix)"/><br/>
|
||||
</a>
|
||||
</td>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "https://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
|
||||
@@ -61,7 +61,7 @@ public class DefaultAttributeValidationPolicyTest {
|
||||
private List<String> exceptions = Arrays.asList(new String[] {
|
||||
"description: :A big sailing fan.",
|
||||
"cn;lang-ja:: 5bCP56yg5Y6fIO.ODreODieODi+ODvA==",
|
||||
"url:< http://java.sun.com/j2se/1.3/docs/guide/collections/designfaq.html#28"
|
||||
"url:< https://java.sun.com/j2se/1.3/docs/guide/collections/designfaq.html#28"
|
||||
});
|
||||
|
||||
/**
|
||||
@@ -92,8 +92,8 @@ public class DefaultAttributeValidationPolicyTest {
|
||||
{ "cn;lang-ja:: 5bCP56yg5Y6fIO.ODreODieODi+ODvA==", "cn", ";lang-ja", "5bCP56yg5Y6fIO.ODreODieODi+ODvA==", AttributeType.BASE64 },
|
||||
|
||||
//Url
|
||||
{ "url:< http://www.oracle.com/", "url", "", "http://www.oracle.com/", AttributeType.URL},
|
||||
{ "url:< http://java.sun.com/j2se/1.3/docs/guide/collections/designfaq.html", "url", "", "http://java.sun.com/j2se/1.3/docs/guide/collections/designfaq.html", AttributeType.URL},
|
||||
{ "url:< https://www.oracle.com/", "url", "", "https://www.oracle.com/", AttributeType.URL},
|
||||
{ "url:< https://java.sun.com/j2se/1.3/docs/guide/collections/designfaq.html", "url", "", "https://java.sun.com/j2se/1.3/docs/guide/collections/designfaq.html", AttributeType.URL},
|
||||
{ "url:< ftp://kbarlow:test@ftp.is.co.za/rfc/rfc1808.txt", "url", "", "ftp://kbarlow:test@ftp.is.co.za/rfc/rfc1808.txt", AttributeType.URL},
|
||||
{ "url;option:< ftp://ftp.is.co.za:2100/rfc/rfc1808.txt;type=a", "url", ";option", "ftp://ftp.is.co.za:2100/rfc/rfc1808.txt;type=a", AttributeType.URL},
|
||||
{ "url:< telnet://kbarlow@melvyl.ucop.edu/", "url", "", "telnet://kbarlow@melvyl.ucop.edu/", AttributeType.URL},
|
||||
@@ -105,7 +105,7 @@ public class DefaultAttributeValidationPolicyTest {
|
||||
{ "url:< prospero://host.dom:1525//pros/name;key=value", "url", "", "prospero://host.dom:1525//pros/name;key=value", AttributeType.URL},
|
||||
{ "url:< nntp://news.cs.hut.fi/alt.html/239157", "url", "", "nntp://news.cs.hut.fi/alt.html/239157", AttributeType.URL},
|
||||
{ "url:< wais://vega.lib.ncsu.edu/alawon.src?nren", "url", "", "wais://vega.lib.ncsu.edu/alawon.src?nren", AttributeType.URL},
|
||||
{ "url:< http://java.sun.com/j2se/1.3/docs/guide/collections/designfaq.html#28", "url", "", "http://java.sun.com/j2se/1.3/docs/guide/collections/designfaq.html#28", AttributeType.URL}
|
||||
{ "url:< https://java.sun.com/j2se/1.3/docs/guide/collections/designfaq.html#28", "url", "", "https://java.sun.com/j2se/1.3/docs/guide/collections/designfaq.html#28", AttributeType.URL}
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
@@ -4,13 +4,13 @@
|
||||
======================================================================
|
||||
|
||||
This product includes software developed by
|
||||
the Apache Software Foundation (http://www.apache.org).
|
||||
the Apache Software Foundation (https://www.apache.org).
|
||||
|
||||
The end-user documentation included with a redistribution, if any,
|
||||
must include the following acknowledgement:
|
||||
|
||||
"This product includes software developed by the Spring LDAP
|
||||
Project (http://www.springframework.org/ldap)."
|
||||
Project (https://www.springframework.org/ldap)."
|
||||
|
||||
Alternately, this acknowledgement may appear in the software itself,
|
||||
if and wherever such third-party acknowledgements normally appear.
|
||||
|
||||
@@ -109,8 +109,8 @@ public interface OdmManager {
|
||||
*
|
||||
* @throws org.springframework.ldap.NamingException on error.
|
||||
*
|
||||
* @see <a href="http://java.sun.com/products/jndi/tutorial/basics/directory/filter.html">Sun's JNDI tutorial description of search filters.</a>
|
||||
* @see <a href="http://www.rfc-editor.org/rfc/rfc4515.txt">LDAP: String Representation of Search Filters RFC.</a>
|
||||
* @see <a href="https://java.sun.com/products/jndi/tutorial/basics/directory/filter.html">Sun's JNDI tutorial description of search filters.</a>
|
||||
* @see <a href="https://www.rfc-editor.org/rfc/rfc4515.txt">LDAP: String Representation of Search Filters RFC.</a>
|
||||
*/
|
||||
<T> List<T> search(Class<T> clazz, Name base, String filter, SearchControls searchControls);
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# List of syntaxes that will be returned by the JNDI provider as byte[], taken from
|
||||
# http://java.sun.com/products/jndi/tutorial/ldap/misc/attrs.html
|
||||
# See all http://www.ietf.org/rfc/rfc2256.txt for attribute names with ;binary suffix
|
||||
# https://java.sun.com/products/jndi/tutorial/ldap/misc/attrs.html
|
||||
# See all https://www.ietf.org/rfc/rfc2256.txt for attribute names with ;binary suffix
|
||||
|
||||
# Syntax Used by Attributes
|
||||
# ------ ------------------
|
||||
|
||||
@@ -101,12 +101,12 @@ public final class TestConverterManager {
|
||||
new ConverterTestData<String>((byte)66, String.class, "66"),
|
||||
new ConverterTestData<String>((int)1234, String.class, "1234"),
|
||||
new ConverterTestData<String>((int)-9876, String.class, "-9876"),
|
||||
new ConverterTestData<URI>("http://google.com/", URI.class, new URI("http://google.com/")),
|
||||
new ConverterTestData<URI>("http://apache.org/index.html", URI.class, new URI(
|
||||
"http://apache.org/index.html")),
|
||||
new ConverterTestData<String>(new URI("http://google.com/"), String.class, "http://google.com/"),
|
||||
new ConverterTestData<String>(new URI("http://apache.org/index.html"), String.class,
|
||||
"http://apache.org/index.html") };
|
||||
new ConverterTestData<URI>("https://google.com/", URI.class, new URI("https://google.com/")),
|
||||
new ConverterTestData<URI>("https://apache.org/index.html", URI.class, new URI(
|
||||
"https://apache.org/index.html")),
|
||||
new ConverterTestData<String>(new URI("https://google.com/"), String.class, "https://google.com/"),
|
||||
new ConverterTestData<String>(new URI("https://apache.org/index.html"), String.class,
|
||||
"https://apache.org/index.html") };
|
||||
|
||||
new ExecuteRunnable<ConverterTestData<?>>().runTests(new RunnableTest<ConverterTestData<?>>() {
|
||||
public void runTest(ConverterTestData<?> testData) {
|
||||
|
||||
10
readme.md
10
readme.md
@@ -24,7 +24,7 @@ In addition to this, Spring LDAP provides Exception translation from NamingExcep
|
||||
to an unchecked exception hirearchy, as well as several utilities for working with filters,
|
||||
LDAP paths and Attributes.
|
||||
|
||||
For detailed information on the project, please refer to the [reference documentation](http://static.springsource.org/spring-ldap/docs/1.3.x/reference/html/) and [javadocs](http://static.springframework.org/spring-ldap/docs/1.3.x/apidocs/).
|
||||
For detailed information on the project, please refer to the [reference documentation](https://docs.spring.io/spring-ldap/docs/1.3.x/reference/html/) and [javadocs](https://docs.spring.io/spring-ldap/docs/1.3.x/apidocs/).
|
||||
See [the changelog](https://jira.springsource.org/secure/ReleaseNote.jspa?projectId=10071&version=13399) for detailed information on changes in the latest version.
|
||||
|
||||
###MAVEN USERS
|
||||
@@ -53,7 +53,7 @@ framework milestone repo:
|
||||
<repository>
|
||||
<id>spring-milestone</id>
|
||||
<name>Spring Portfolio Milestone Repository</name>
|
||||
<url>http://maven.springframework.org/milestone</url>
|
||||
<url>https://maven.springframework.org/milestone</url>
|
||||
</repository>
|
||||
|
||||
Snapshot builds produced by the CI builds are available from the Spring framework snapshot repo:
|
||||
@@ -61,7 +61,7 @@ Snapshot builds produced by the CI builds are available from the Spring framewor
|
||||
<repository>
|
||||
<id>spring-milestone</id>
|
||||
<name>Spring Portfolio Milestone Repository</name>
|
||||
<url>http://maven.springframework.org/snapshot</url>
|
||||
<url>https://maven.springframework.org/snapshot</url>
|
||||
</repository>
|
||||
|
||||
In order to e.g. try out the latest build snapshot of the core module, include the repository above and
|
||||
@@ -79,6 +79,6 @@ and bug fixes for an upcoming version. Please report any problems or bugs in the
|
||||
|
||||
###ADDITIONAL RESOURCES
|
||||
|
||||
* [Official site](http://www.springframework.org/ldap)
|
||||
* [Support forum](http://forum.springframework.org/forumdisplay.php?f=40)
|
||||
* [Official site](https://www.springframework.org/ldap)
|
||||
* [Support forum](https://forum.springframework.org/forumdisplay.php?f=40)
|
||||
* [Issue tracker](https://jira.springsource.org/browse/LDAP)
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<a class="navbar-brand" href="http://projects.spring.io/spring-ldap/">Spring LDAP</a>
|
||||
<a class="navbar-brand" href="https://projects.spring.io/spring-ldap/">Spring LDAP</a>
|
||||
</div>
|
||||
<div class="collapse navbar-collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
|
||||
@@ -10,7 +10,7 @@ if (typeof jQuery === "undefined") { throw new Error("Bootstrap requires jQuery"
|
||||
|
||||
/* ========================================================================
|
||||
* Bootstrap: transition.js v3.0.0
|
||||
* http://getbootstrap.com/javascript/#transitions
|
||||
* https://getbootstrap.com/javascript/#transitions
|
||||
* ========================================================================
|
||||
* Copyright 2013 Twitter, Inc.
|
||||
*
|
||||
@@ -30,7 +30,7 @@ if (typeof jQuery === "undefined") { throw new Error("Bootstrap requires jQuery"
|
||||
|
||||
+function ($) { "use strict";
|
||||
|
||||
// CSS TRANSITION SUPPORT (Shoutout: http://www.modernizr.com/)
|
||||
// CSS TRANSITION SUPPORT (Shoutout: https://www.modernizr.com/)
|
||||
// ============================================================
|
||||
|
||||
function transitionEnd() {
|
||||
@@ -50,7 +50,7 @@ if (typeof jQuery === "undefined") { throw new Error("Bootstrap requires jQuery"
|
||||
}
|
||||
}
|
||||
|
||||
// http://blog.alexmaccaw.com/css-transitions
|
||||
// https://blog.alexmaccaw.com/css-transitions
|
||||
$.fn.emulateTransitionEnd = function (duration) {
|
||||
var called = false, $el = this
|
||||
$(this).one($.support.transition.end, function () { called = true })
|
||||
@@ -67,7 +67,7 @@ if (typeof jQuery === "undefined") { throw new Error("Bootstrap requires jQuery"
|
||||
|
||||
/* ========================================================================
|
||||
* Bootstrap: alert.js v3.0.0
|
||||
* http://getbootstrap.com/javascript/#alerts
|
||||
* https://getbootstrap.com/javascript/#alerts
|
||||
* ========================================================================
|
||||
* Copyright 2013 Twitter, Inc.
|
||||
*
|
||||
@@ -166,7 +166,7 @@ if (typeof jQuery === "undefined") { throw new Error("Bootstrap requires jQuery"
|
||||
|
||||
/* ========================================================================
|
||||
* Bootstrap: button.js v3.0.0
|
||||
* http://getbootstrap.com/javascript/#buttons
|
||||
* https://getbootstrap.com/javascript/#buttons
|
||||
* ========================================================================
|
||||
* Copyright 2013 Twitter, Inc.
|
||||
*
|
||||
@@ -276,7 +276,7 @@ if (typeof jQuery === "undefined") { throw new Error("Bootstrap requires jQuery"
|
||||
|
||||
/* ========================================================================
|
||||
* Bootstrap: carousel.js v3.0.0
|
||||
* http://getbootstrap.com/javascript/#carousel
|
||||
* https://getbootstrap.com/javascript/#carousel
|
||||
* ========================================================================
|
||||
* Copyright 2013 Twitter, Inc.
|
||||
*
|
||||
@@ -494,7 +494,7 @@ if (typeof jQuery === "undefined") { throw new Error("Bootstrap requires jQuery"
|
||||
|
||||
/* ========================================================================
|
||||
* Bootstrap: collapse.js v3.0.0
|
||||
* http://getbootstrap.com/javascript/#collapse
|
||||
* https://getbootstrap.com/javascript/#collapse
|
||||
* ========================================================================
|
||||
* Copyright 2013 Twitter, Inc.
|
||||
*
|
||||
@@ -674,7 +674,7 @@ if (typeof jQuery === "undefined") { throw new Error("Bootstrap requires jQuery"
|
||||
|
||||
/* ========================================================================
|
||||
* Bootstrap: dropdown.js v3.0.0
|
||||
* http://getbootstrap.com/javascript/#dropdowns
|
||||
* https://getbootstrap.com/javascript/#dropdowns
|
||||
* ========================================================================
|
||||
* Copyright 2013 Twitter, Inc.
|
||||
*
|
||||
@@ -829,7 +829,7 @@ if (typeof jQuery === "undefined") { throw new Error("Bootstrap requires jQuery"
|
||||
|
||||
/* ========================================================================
|
||||
* Bootstrap: modal.js v3.0.0
|
||||
* http://getbootstrap.com/javascript/#modals
|
||||
* https://getbootstrap.com/javascript/#modals
|
||||
* ========================================================================
|
||||
* Copyright 2013 Twitter, Inc.
|
||||
*
|
||||
@@ -1076,7 +1076,7 @@ if (typeof jQuery === "undefined") { throw new Error("Bootstrap requires jQuery"
|
||||
|
||||
/* ========================================================================
|
||||
* Bootstrap: tooltip.js v3.0.0
|
||||
* http://getbootstrap.com/javascript/#tooltip
|
||||
* https://getbootstrap.com/javascript/#tooltip
|
||||
* Inspired by the original jQuery.tipsy by Jason Frame
|
||||
* ========================================================================
|
||||
* Copyright 2013 Twitter, Inc.
|
||||
@@ -1463,7 +1463,7 @@ if (typeof jQuery === "undefined") { throw new Error("Bootstrap requires jQuery"
|
||||
|
||||
/* ========================================================================
|
||||
* Bootstrap: popover.js v3.0.0
|
||||
* http://getbootstrap.com/javascript/#popovers
|
||||
* https://getbootstrap.com/javascript/#popovers
|
||||
* ========================================================================
|
||||
* Copyright 2013 Twitter, Inc.
|
||||
*
|
||||
@@ -1581,7 +1581,7 @@ if (typeof jQuery === "undefined") { throw new Error("Bootstrap requires jQuery"
|
||||
|
||||
/* ========================================================================
|
||||
* Bootstrap: scrollspy.js v3.0.0
|
||||
* http://getbootstrap.com/javascript/#scrollspy
|
||||
* https://getbootstrap.com/javascript/#scrollspy
|
||||
* ========================================================================
|
||||
* Copyright 2013 Twitter, Inc.
|
||||
*
|
||||
@@ -1740,7 +1740,7 @@ if (typeof jQuery === "undefined") { throw new Error("Bootstrap requires jQuery"
|
||||
|
||||
/* ========================================================================
|
||||
* Bootstrap: tab.js v3.0.0
|
||||
* http://getbootstrap.com/javascript/#tabs
|
||||
* https://getbootstrap.com/javascript/#tabs
|
||||
* ========================================================================
|
||||
* Copyright 2013 Twitter, Inc.
|
||||
*
|
||||
@@ -1876,7 +1876,7 @@ if (typeof jQuery === "undefined") { throw new Error("Bootstrap requires jQuery"
|
||||
|
||||
/* ========================================================================
|
||||
* Bootstrap: affix.js v3.0.0
|
||||
* http://getbootstrap.com/javascript/#affix
|
||||
* https://getbootstrap.com/javascript/#affix
|
||||
* ========================================================================
|
||||
* Copyright 2013 Twitter, Inc.
|
||||
*
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -65,7 +65,7 @@ import java.lang.reflect.Method;
|
||||
*
|
||||
* @author Ulrik Sandberg
|
||||
* @author Marius Scurtescu
|
||||
* @see <a href="http://www3.ietf.org/proceedings/02nov/I-D/draft-ietf-ldapext-ldapv3-vlv-09.txt">LDAP Extensions for Scrolling View Browsing of Search Results</a>
|
||||
* @see <a href="https://www3.ietf.org/proceedings/02nov/I-D/draft-ietf-ldapext-ldapv3-vlv-09.txt">LDAP Extensions for Scrolling View Browsing of Search Results</a>
|
||||
*/
|
||||
public class VirtualListViewControlDirContextProcessor extends AbstractFallbackRequestAndResponseControlDirContextProcessor
|
||||
{
|
||||
|
||||
@@ -22,7 +22,7 @@ Spring JDBC, a core component of Spring Framework, provides excellent utilities
|
||||
=== Overview
|
||||
Spring LDAP is designed to simplify LDAP programming in Java. Some of the features provided by the library are:
|
||||
|
||||
* http://docs.spring.io/spring/docs/current/javadoc-api/org/springframework/jdbc/core/JdbcTemplate.html[JdbcTemplate]-style template simplifications to LDAP programming.
|
||||
* https://docs.spring.io/spring/docs/current/javadoc-api/org/springframework/jdbc/core/JdbcTemplate.html[JdbcTemplate]-style template simplifications to LDAP programming.
|
||||
* JPA/Hibernate-style annotation-based object/directory mapping.
|
||||
* Spring Data repository support, including support for QueryDSL.
|
||||
* Utilities to simplify building LDAP queries and distinguished names.
|
||||
@@ -139,8 +139,8 @@ Naturally -- this being a Spring Framework sub-project -- we will use Spring to
|
||||
<beans xmlns="http://www.springframework.org/schema/beans"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:ldap="http://www.springframework.org/schema/ldap"
|
||||
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
|
||||
http://www.springframework.org/schema/ldap http://www.springframework.org/schema/ldap/spring-ldap.xsd">
|
||||
xsi:schemaLocation="http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans.xsd
|
||||
http://www.springframework.org/schema/ldap https://www.springframework.org/schema/ldap/spring-ldap.xsd">
|
||||
|
||||
<ldap:context-source
|
||||
url="ldap://localhost:389"
|
||||
@@ -234,19 +234,19 @@ In addition to the required dependencies the following optional dependencies are
|
||||
The https://github.com/spring-projects/spring-ldap/tree/master/samples[samples] provide some useful examples on how to use Spring LDAP for common usecases.
|
||||
|
||||
=== Support
|
||||
The community support forum is located at http://forum.spring.io/forum/spring-projects/data/ldap, and the project web page is http://spring.io/spring-ldap/.
|
||||
The community support forum is located at https://forum.spring.io/forum/spring-projects/data/ldap, and the project web page is https://spring.io/spring-ldap/.
|
||||
|
||||
=== Acknowledgements
|
||||
The initial effort when starting the Spring LDAP project was sponsored by http://www.jayway.com[Jayway].
|
||||
Current maintenance of the project is funded by http://www.gopivotal.com[Pivotal]
|
||||
The initial effort when starting the Spring LDAP project was sponsored by https://www.jayway.com[Jayway].
|
||||
Current maintenance of the project is funded by https://pivotal.io[Pivotal]
|
||||
|
||||
Thanks to http://structure101.com/[Structure101] for providing an open source license that has come in handy for keeping the project structure in check.
|
||||
Thanks to https://structure101.com/[Structure101] for providing an open source license that has come in handy for keeping the project structure in check.
|
||||
|
||||
== Basic Usage
|
||||
|
||||
=== Search and Lookup Using AttributesMapper
|
||||
|
||||
In this example we will use an http://docs.spring.io/spring-ldap/docs/current/apidocs/org/springframework/ldap/core/AttributesMapper.html[`AttributesMapper`] to easily build a List of all common names of all person objects.
|
||||
In this example we will use an https://docs.spring.io/spring-ldap/docs/current/apidocs/org/springframework/ldap/core/AttributesMapper.html[`AttributesMapper`] to easily build a List of all common names of all person objects.
|
||||
|
||||
.AttributesMapper that returns a single attribute
|
||||
[source,java]
|
||||
@@ -335,7 +335,7 @@ LDAP searches involve a number of parameters, e.g.:
|
||||
* Attributes to return
|
||||
* Search filter - The criteria to use when selecting elements within scope.
|
||||
|
||||
Spring LDAP provides an http://docs.spring.io/spring-ldap/docs/current/apidocs/org/springframework/ldap/query/LdapQueryBuilder.html[`LdapQueryBuilder`] with a fluent API for building LDAP Queries.
|
||||
Spring LDAP provides an https://docs.spring.io/spring-ldap/docs/current/apidocs/org/springframework/ldap/query/LdapQueryBuilder.html[`LdapQueryBuilder`] with a fluent API for building LDAP Queries.
|
||||
|
||||
Let's say that we want to perform a search starting at the base DN `dc=261consulting,dc=com`,
|
||||
limiting the returned attributes to "cn" and "sn", with the filter `(&(objectclass=person)(sn=?))`, where we want the `?` to be replaced with the value of the parameter `lastName`.
|
||||
@@ -392,7 +392,7 @@ For more information on the `LdapQueryBuilder` see <<query-builder-advanced>>.
|
||||
[[ldap-names]]
|
||||
=== Dynamically Building Distinguished Names
|
||||
|
||||
The standard Java implementation of Distinguished Name, http://docs.oracle.com/javase/6/docs/api/javax/naming/ldap/LdapName.html[LdapName],
|
||||
The standard Java implementation of Distinguished Name, https://docs.oracle.com/javase/6/docs/api/javax/naming/ldap/LdapName.html[LdapName],
|
||||
performs very well when it comes to parsing of Distinguished Names. However, in practical use this implementation has a number of shortcomings:
|
||||
|
||||
* The `LdapName` implementation is mutable, which is badly suited for an object representing identity.
|
||||
@@ -402,8 +402,8 @@ performs very well when it comes to parsing of Distinguished Names. However, in
|
||||
|
||||
* Many of the operations on `LdapName` throw checked Exceptions, requiring try-catch statements for situations where the error is typically fatal and cannot be repaired in a meaningful manner.
|
||||
|
||||
To simplify working with Distinguished Names, Spring LDAP provides an http://docs.spring.io/spring-ldap/docs/current/apidocs/org/springframework/ldap/support/LdapNameBuilder.html[`LdapNameBuilder`],
|
||||
as well as a number of utility methods in http://docs.spring.io/spring-ldap/docs/current/apidocs/org/springframework/ldap/support/LdapUtils.html[`LdapUtils`] that helps working with `LdapName`.
|
||||
To simplify working with Distinguished Names, Spring LDAP provides an https://docs.spring.io/spring-ldap/docs/current/apidocs/org/springframework/ldap/support/LdapNameBuilder.html[`LdapNameBuilder`],
|
||||
as well as a number of utility methods in https://docs.spring.io/spring-ldap/docs/current/apidocs/org/springframework/ldap/support/LdapUtils.html[`LdapUtils`] that helps working with `LdapName`.
|
||||
|
||||
==== Examples
|
||||
|
||||
@@ -591,13 +591,13 @@ Spring LDAP provides more help for simplifying these operations.
|
||||
|
||||
=== Introduction
|
||||
A little-known -- and probably underestimated -- feature of the Java LDAP API is the ability to register a `DirObjectFactory` to automatically create objects from found LDAP entries.
|
||||
Spring LDAP makes use of this feature to return http://docs.spring.io/spring-ldap/docs/current/apidocs/org/springframework/ldap/core/DirContextAdapter.html[`DirContextAdapter`] instances in certain search and lookup operations.
|
||||
Spring LDAP makes use of this feature to return https://docs.spring.io/spring-ldap/docs/current/apidocs/org/springframework/ldap/core/DirContextAdapter.html[`DirContextAdapter`] instances in certain search and lookup operations.
|
||||
|
||||
`DirContextAdapter` is a very useful tool for working with LDAP attributes, particularly when adding or modifying data.
|
||||
|
||||
=== Search and Lookup Using ContextMapper
|
||||
Whenever an entry is found in the LDAP tree, its attributes and Distinguished Name (DN) will be used by Spring LDAP to construct a `DirContextAdapter`.
|
||||
This enables us to use a http://docs.spring.io/spring-ldap/docs/current/apidocs/org/springframework/ldap/core/ContextMapper.html[`ContextMapper`] instead of an `AttributesMapper`
|
||||
This enables us to use a https://docs.spring.io/spring-ldap/docs/current/apidocs/org/springframework/ldap/core/ContextMapper.html[`ContextMapper`] instead of an `AttributesMapper`
|
||||
to transform found values:
|
||||
|
||||
.Searching using a ContextMapper
|
||||
@@ -631,8 +631,8 @@ A shown above, we can retrieve the attribute values directly by name without hav
|
||||
This is particularly useful when working with multi-value attributes.
|
||||
Extracting values from multi-value attributes normally requires looping through a `NamingEnumeration` of attribute values returned from the `Attributes` implementation.
|
||||
`DirContextAdapter` does this for you
|
||||
in the http://docs.spring.io/spring-ldap/docs/current/apidocs/org/springframework/ldap/core/DirContextAdapter.html#getStringAttributes(java.lang.String)[`getStringAttributes()`]
|
||||
or http://docs.spring.io/spring-ldap/docs/current/apidocs/org/springframework/ldap/core/DirContextAdapter.html#getObjectAttributes(java.lang.String)[`getObjectAttributes()`] methods:
|
||||
in the https://docs.spring.io/spring-ldap/docs/current/apidocs/org/springframework/ldap/core/DirContextAdapter.html#getStringAttributes(java.lang.String)[`getStringAttributes()`]
|
||||
or https://docs.spring.io/spring-ldap/docs/current/apidocs/org/springframework/ldap/core/DirContextAdapter.html#getObjectAttributes(java.lang.String)[`getObjectAttributes()`] methods:
|
||||
|
||||
.Getting multi-value attribute values using getStringAttributes()
|
||||
[source,java]
|
||||
@@ -654,7 +654,7 @@ private static class PersonContextMapper implements ContextMapper {
|
||||
|
||||
==== The AbstractContextMapper
|
||||
|
||||
Spring LDAP provides an abstract base implementation of `ContextMapper`, http://docs.spring.io/spring-ldap/docs/current/apidocs/org/springframework/ldap/core/support/AbstractContextMapper.html[`AbstractContextMapper`].
|
||||
Spring LDAP provides an abstract base implementation of `ContextMapper`, https://docs.spring.io/spring-ldap/docs/current/apidocs/org/springframework/ldap/core/support/AbstractContextMapper.html[`AbstractContextMapper`].
|
||||
This implementation automatically takes care of the casting of the supplied `Object` parameter to `DirContexOperations`.
|
||||
Using `AbstractContextMapper`, the `PersonContextMapper` above can thus be re-written as follows:
|
||||
|
||||
@@ -1271,8 +1271,8 @@ The recommended way of configuring Spring LDAP is using the custom XML configura
|
||||
<beans xmlns="http://www.springframework.org/schema/beans"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
**xmlns:ldap="http://www.springframework.org/schema/ldap"**
|
||||
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
|
||||
**http://www.springframework.org/schema/ldap http://www.springframework.org/schema/ldap/spring-ldap.xsd**">
|
||||
xsi:schemaLocation="http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans.xsd
|
||||
**http://www.springframework.org/schema/ldap https://www.springframework.org/schema/ldap/spring-ldap.xsd**">
|
||||
----
|
||||
|
||||
=== ContextSource Configuration
|
||||
@@ -1332,7 +1332,7 @@ This will create an `LdapContextSource` with default values (see below), and the
|
||||
|
||||
| `referral`
|
||||
| `null`
|
||||
a| Defines the strategy to handle referrals, as described http://docs.oracle.com/javase/jndi/tutorial/ldap/referral/jndi.html[here]. Valid values are:
|
||||
a| Defines the strategy to handle referrals, as described https://docs.oracle.com/javase/jndi/tutorial/ldap/referral/jndi.html[here]. Valid values are:
|
||||
|
||||
|
||||
* `ignore`
|
||||
@@ -1400,7 +1400,7 @@ When working with TLS connections you need to make sure that the native LDAP Poo
|
||||
===== Custom Principal and Credentials ManagementUsing the
|
||||
While the user name (i.e. user DN) and password used for creating an authenticated `Context` are statically defined by default - the ones defined in the `context-source` element configuration will be used throughout the lifetime of the `ContextSource` - there are several cases where this is not the desired behaviour. A common scenario is that the principal and credentials of the current user should be used when executing LDAP operations for that user. The default behaviour can be modified by supplying a reference to an `AuthenticationSource` implementation to the `context-source` element using the `authentication-source-ref` element, instead of explicitly specifying the `username` and `password`. The `AuthenticationSource` will be queried by the `ContextSource` for principal and credentials each time an authenticated `Context` is to be created.
|
||||
|
||||
If you are using http://spring.io/spring-security[Spring Security] you can make sure the principal and credentials of the currently logged in user is used at all times by configuring your `ContextSource` with an instance of the `SpringSecurityAuthenticationSource` shipped with Spring Security.
|
||||
If you are using https://spring.io/spring-security[Spring Security] you can make sure the principal and credentials of the currently logged in user is used at all times by configuring your `ContextSource` with an instance of the `SpringSecurityAuthenticationSource` shipped with Spring Security.
|
||||
|
||||
|
||||
.Using the SpringSecurityAuthenticationSource
|
||||
@@ -1427,7 +1427,7 @@ NOTE: When using the `SpringSecurityAuthenticationSource` you need to use Spring
|
||||
|
||||
|
||||
==== Native Java LDAP Pooling
|
||||
The internal Java LDAP provider provides some very basic pooling capabilities. This LDAP connection pooling can be turned on/off using the `pooled` flag on `AbstractContextSource`. The default value is `false` (since release 1.3), i.e. the native Java LDAP pooling will be turned off. The configuration of LDAP connection pooling is managed using `System` properties, so this needs to be handled manually, outside of the Spring Context configuration. Details of the native pooling configuration can be found http://java.sun.com/products/jndi/tutorial/ldap/connect/config.html[here].
|
||||
The internal Java LDAP provider provides some very basic pooling capabilities. This LDAP connection pooling can be turned on/off using the `pooled` flag on `AbstractContextSource`. The default value is `false` (since release 1.3), i.e. the native Java LDAP pooling will be turned off. The configuration of LDAP connection pooling is managed using `System` properties, so this needs to be handled manually, outside of the Spring Context configuration. Details of the native pooling configuration can be found https://java.sun.com/products/jndi/tutorial/ldap/connect/config.html[here].
|
||||
|
||||
NOTE: There are several serious deficiencies in the built-in LDAP connection pooling, which is why Spring LDAP provides a more sophisticated approach to LDAP connection pooling, described in <<pooling>>. If pooling functionality is required, this is the recommended approach.
|
||||
|
||||
@@ -1551,7 +1551,7 @@ The default behaviour of the `BaseLdapPathBeanPostProcessor` is to use the base
|
||||
== Spring LDAP Repositories
|
||||
|
||||
=== Overview
|
||||
Spring LDAP has built-in support for Spring Data repositories. The basic functionality and configuration is described http://docs.spring.io/spring-data/data-commons/docs/1.6.1.RELEASE/reference/html/repositories.html[here]. When working with Spring LDAP repositories, please note the following:
|
||||
Spring LDAP has built-in support for Spring Data repositories. The basic functionality and configuration is described https://docs.spring.io/spring-data/data-commons/docs/1.6.1.RELEASE/reference/html/repositories.html[here]. When working with Spring LDAP repositories, please note the following:
|
||||
|
||||
* Spring LDAP repositories can be enabled using an `<ldap:repositories>` tag in your XML configuration or using an `@EnableLdapRepositories` annotation on a configuration class.
|
||||
* To include support for `LdapQuery` parameters in automatically generated repositories, have your interface extend `LdapRepository` rather than `CrudRepository`.
|
||||
@@ -1571,9 +1571,9 @@ Basic QueryDSL support is included in Spring LDAP. This support includes the fol
|
||||
== Pooling Support
|
||||
|
||||
=== Introduction
|
||||
Pooling LDAP connections helps mitigate the overhead of creating a new LDAP connection for each LDAP interaction. While http://java.sun.com/products/jndi/tutorial/ldap/connect/pool.html[Java LDAP pooling support] exists it is limited in its configuration options and features, such as connection validation and pool maintenance. Spring LDAP provides support for detailed pool configuration on a per-`ContextSource` basis.
|
||||
Pooling LDAP connections helps mitigate the overhead of creating a new LDAP connection for each LDAP interaction. While https://java.sun.com/products/jndi/tutorial/ldap/connect/pool.html[Java LDAP pooling support] exists it is limited in its configuration options and features, such as connection validation and pool maintenance. Spring LDAP provides support for detailed pool configuration on a per-`ContextSource` basis.
|
||||
|
||||
Pooling support is provided by supplying a `<ldap:pooling />` sub-element to the `<ldap:context-source />` element in the application context configuration. Read-only and read-write `DirContext` objects are pooled separately (if `anonymous-read-only` is specified. http://commons.apache.org/pool/index.html[Jakarta Commons-Pool] is used to provide the underlying pool implementation.
|
||||
Pooling support is provided by supplying a `<ldap:pooling />` sub-element to the `<ldap:context-source />` element in the application context configuration. Read-only and read-write `DirContext` objects are pooled separately (if `anonymous-read-only` is specified. https://commons.apache.org/pool/index.html[Jakarta Commons-Pool] is used to provide the underlying pool implementation.
|
||||
|
||||
|
||||
=== DirContext Validation
|
||||
@@ -2065,7 +2065,7 @@ public class MyCoolRequestControl extends AbstractRequestControlDirContextProces
|
||||
|
||||
[NOTE]
|
||||
====
|
||||
Make sure you use `LdapContextSource` when you use Controls. The http://download.oracle.com/javase/1.5.0/docs/api/javax/naming/ldap/Control.html[`Control`] interface is specific for LDAPv3 and requires that `LdapContext` is used instead of `DirContext`. If an `AbstractRequestControlDirContextProcessor` subclass is called with an argument that is not an `LdapContext`, it will throw an `IllegalArgumentException`.
|
||||
Make sure you use `LdapContextSource` when you use Controls. The https://download.oracle.com/javase/1.5.0/docs/api/javax/naming/ldap/Control.html[`Control`] interface is specific for LDAPv3 and requires that `LdapContext` is used instead of `DirContext`. If an `AbstractRequestControlDirContextProcessor` subclass is called with an argument that is not an `LdapContext`, it will throw an `IllegalArgumentException`.
|
||||
====
|
||||
|
||||
=== Paged Search Results
|
||||
@@ -2406,7 +2406,7 @@ In addition to the `authenticate` methods described above there are a number of
|
||||
|
||||
|
||||
=== Use Spring Security
|
||||
While the approach above may be sufficient for simple authentication scenarios, requirements in this area commonly expand rapidly. There is a multitude of aspects that apply, including authentication, authorization, web integration, user context management, etc. If you suspect that the requirements might expand beyond just simple authentication, you should definitely consider using http://spring.io/spring-security[Spring Security] for your security purposes instead. It is a full-blown, mature security framework addressing the above aspects as well as several others.
|
||||
While the approach above may be sufficient for simple authentication scenarios, requirements in this area commonly expand rapidly. There is a multitude of aspects that apply, including authentication, authorization, web integration, user context management, etc. If you suspect that the requirements might expand beyond just simple authentication, you should definitely consider using https://spring.io/spring-security[Spring Security] for your security purposes instead. It is a full-blown, mature security framework addressing the above aspects as well as several others.
|
||||
|
||||
|
||||
== LDIF Parsing
|
||||
|
||||
@@ -5,7 +5,7 @@ This document is the API specification for the Spring LDAP Framework
|
||||
<div id="overviewBody">
|
||||
<p>
|
||||
For further API reference and developer documentation, see the
|
||||
<a href="http://static.springframework.org/spring-ldap/site/reference.html" target="_top">Spring
|
||||
<a href="https://docs.spring.io/spring-ldap/site/reference.html" target="_top">Spring
|
||||
LDAP reference documentation</a>.
|
||||
That documentation contains more detailed, developer-targeted
|
||||
descriptions, with conceptual overviews, definitions of terms,
|
||||
|
||||
@@ -8,7 +8,7 @@ Downloads
|
||||
|
||||
* <<Spring LDAP 1.3.1.RELEASE is the current production release>>
|
||||
|
||||
* {{{http://www.springsource.com/download/community?project=Spring%20LDAP}Download}} | {{{http://static.springframework.org/spring-ldap/docs/1.3.x/changelog.txt}Changelog}} | {{{http://static.springframework.org/spring-ldap/docs/1.3.x/reference/html/}Documentation (HTML)}} | {{{http://static.springframework.org/spring-ldap/docs/1.3.x/reference/pdf/spring-ldap-reference.pdf}Documentation (PDF)}} | {{{http://static.springframework.org/spring-ldap/docs/1.3.x/apidocs/}API}}
|
||||
* {{{https://www.springsource.com/download/community?project=Spring%20LDAP}Download}} | {{{https://docs.spring.io/spring-ldap/docs/1.3.x/changelog.txt}Changelog}} | {{{https://docs.spring.io/spring-ldap/docs/1.3.x/reference/html/}Documentation (HTML)}} | {{{https://docs.spring.io/spring-ldap/docs/1.3.x/reference/pdf/spring-ldap-reference.pdf}Documentation (PDF)}} | {{{https://docs.spring.io/spring-ldap/docs/1.3.x/apidocs/}API}}
|
||||
|
||||
* <<Spring LDAP 1.3.2 is the upcoming production release>>
|
||||
|
||||
@@ -18,9 +18,9 @@ Sources
|
||||
|
||||
Sources are available in the Spring Framework Subversion repository:
|
||||
|
||||
* http://src.springframework.org/svn/spring-ldap/trunk (latest sources)
|
||||
* https://src.springframework.org/svn/spring-ldap/trunk (latest sources)
|
||||
|
||||
* http://src.springframework.org/svn/spring-ldap/tags/spring-ldap-1.3.1.RELEASE (1.3.1 release sources)
|
||||
* https://src.springframework.org/svn/spring-ldap/tags/spring-ldap-1.3.1.RELEASE (1.3.1 release sources)
|
||||
|
||||
Maven Users
|
||||
|
||||
@@ -66,7 +66,7 @@ Maven Users
|
||||
<repository>
|
||||
<id>spring-milestone</id>
|
||||
<name>Spring Portfolio Milestone Repository</name>
|
||||
<url>http://s3.amazonaws.com/maven.springframework.org/milestone</url>
|
||||
<url>https://s3.amazonaws.com/maven.springframework.org/milestone</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
+--------------------------------------------------+
|
||||
|
||||
@@ -13,7 +13,7 @@ Snapshot Builds
|
||||
<repository>
|
||||
<id>spring-s3</id>
|
||||
<name>Spring Portfolio Maven SNAPSHOT Repository</name>
|
||||
<url>http://s3.amazonaws.com/maven.springframework.org/snapshot</url>
|
||||
<url>https://s3.amazonaws.com/maven.springframework.org/snapshot</url>
|
||||
</repository>
|
||||
+---------------
|
||||
|
||||
@@ -33,5 +33,5 @@ Snapshot Builds
|
||||
+---------------
|
||||
|
||||
Additionally, there are
|
||||
{{{http://static.springframework.org/spring-ldap/downloads/1.3-snapshot-download.php}zips}}
|
||||
{{{https://docs.spring.io/spring-ldap/downloads/1.3-snapshot-download.php}zips}}
|
||||
available which contain all jars.
|
||||
|
||||
@@ -12,17 +12,17 @@ Resources
|
||||
|
||||
** RFCs
|
||||
|
||||
* {{{http://www.ietf.org/rfc/rfc2251.txt}RFC 2251}}, LDAPv3 spec
|
||||
* {{{https://www.ietf.org/rfc/rfc2251.txt}RFC 2251}}, LDAPv3 spec
|
||||
|
||||
* {{{http://www.ietf.org/rfc/rfc2252.txt}RFC 2252}}, Attribute Syntax Definitions
|
||||
* {{{https://www.ietf.org/rfc/rfc2252.txt}RFC 2252}}, Attribute Syntax Definitions
|
||||
|
||||
* {{{http://www.ietf.org/rfc/rfc2253.txt}RFC 2253}}, Distinguished Names
|
||||
* {{{https://www.ietf.org/rfc/rfc2253.txt}RFC 2253}}, Distinguished Names
|
||||
|
||||
* {{{http://www.ietf.org/rfc/rfc2254.txt}RFC 2254}}, LDAP Search Filters
|
||||
* {{{https://www.ietf.org/rfc/rfc2254.txt}RFC 2254}}, LDAP Search Filters
|
||||
|
||||
* {{{http://www.ietf.org/rfc/rfc2255.txt}RFC 2255}}, LDAP URL Format
|
||||
* {{{https://www.ietf.org/rfc/rfc2255.txt}RFC 2255}}, LDAP URL Format
|
||||
|
||||
* {{{http://www.ietf.org/rfc/rfc2256.txt}RFC 2256}}, X.500 User Schema for use with LDAPv3
|
||||
* {{{https://www.ietf.org/rfc/rfc2256.txt}RFC 2256}}, X.500 User Schema for use with LDAPv3
|
||||
|
||||
* {{{http://www.ietf.org/rfc/rfc2696.txt}RFC 2696}}, LDAP Control Extension for Simple Paged Results
|
||||
* {{{https://www.ietf.org/rfc/rfc2696.txt}RFC 2696}}, LDAP Control Extension for Simple Paged Results
|
||||
|
||||
|
||||
@@ -40,7 +40,7 @@ import static org.assertj.core.api.Assertions.assertThat;
|
||||
* Integration tests for the virtual list view search result capability of
|
||||
* LdapTemplate. The test should reflect the example in Chapter 7 of the <a
|
||||
* href=
|
||||
* "http://www3.tools.ietf.org/html/draft-ietf-ldapext-ldapv3-vlv-09">Virtual
|
||||
* "https://www3.tools.ietf.org/html/draft-ietf-ldapext-ldapv3-vlv-09">Virtual
|
||||
* List View RFC draft</a>.
|
||||
*
|
||||
* <blockquote> Here we walk through the client-server interaction for a
|
||||
|
||||
Reference in New Issue
Block a user