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).

These URLs were unable to be fixed. Please review them to see if they can be manually resolved.

* [ ] http://blindsignals.com (200) with 1 occurrences could not be migrated:
   ([https](https://blindsignals.com) result SSLHandshakeException).
* [ ] http://erik.eae.net/archives/2007/07/27/18.54.15/ (200) with 1 occurrences could not be migrated:
   ([https](https://erik.eae.net/archives/2007/07/27/18.54.15/) result SSLHandshakeException).
* [ ] http://javascript.nwbox.com/IEContentLoaded/ (200) with 1 occurrences could not be migrated:
   ([https](https://javascript.nwbox.com/IEContentLoaded/) result SSLHandshakeException).

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://foo.bar (UnknownHostException) with 1 occurrences migrated to:
  https://foo.bar ([https](https://foo.bar) result UnknownHostException).
* [ ] http://docs.spring.io/spring-vault/docs/current-SNAPSHOT/api/ (301) with 1 occurrences migrated to:
  https://docs.spring.io/spring-vault/docs/current-SNAPSHOT/api/ ([https](https://docs.spring.io/spring-vault/docs/current-SNAPSHOT/api/) result 404).
* [ ] http://docs.spring.io/spring-vault/docs/current-SNAPSHOT/reference/html/ (301) with 8 occurrences migrated to:
  https://docs.spring.io/spring-vault/docs/current-SNAPSHOT/reference/html/ ([https](https://docs.spring.io/spring-vault/docs/current-SNAPSHOT/reference/html/) result 404).

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

* [ ] http://docs.aws.amazon.com/STS/latest/APIReference/API_GetCallerIdentity.html with 1 occurrences migrated to:
  https://docs.aws.amazon.com/STS/latest/APIReference/API_GetCallerIdentity.html ([https](https://docs.aws.amazon.com/STS/latest/APIReference/API_GetCallerIdentity.html) result 200).
* [ ] http://docs.spring.io/spring-framework/docs/ with 1 occurrences migrated to:
  https://docs.spring.io/spring-framework/docs/ ([https](https://docs.spring.io/spring-framework/docs/) result 200).
* [ ] http://docs.spring.io/spring/docs/ with 2 occurrences migrated to:
  https://docs.spring.io/spring/docs/ ([https](https://docs.spring.io/spring/docs/) result 200).
* [ ] http://pivotal.io/ with 1 occurrences migrated to:
  https://pivotal.io/ ([https](https://pivotal.io/) result 200).
* [ ] http://projects.spring.io/spring-vault/ with 1 occurrences migrated to:
  https://projects.spring.io/spring-vault/ ([https](https://projects.spring.io/spring-vault/) result 200).
* [ ] http://repo.spring.io/milestone/org/springframework/vault/ with 1 occurrences migrated to:
  https://repo.spring.io/milestone/org/springframework/vault/ ([https](https://repo.spring.io/milestone/org/springframework/vault/) result 200).
* [ ] http://repo.spring.io/snapshot/org/springframework/vault/ with 1 occurrences migrated to:
  https://repo.spring.io/snapshot/org/springframework/vault/ ([https](https://repo.spring.io/snapshot/org/springframework/vault/) result 200).
* [ ] http://rubygems.org/ with 1 occurrences migrated to:
  https://rubygems.org/ ([https](https://rubygems.org/) result 200).
* [ ] http://spring.io with 1 occurrences migrated to:
  https://spring.io ([https](https://spring.io) result 200).
* [ ] http://spring.io/blog with 1 occurrences migrated to:
  https://spring.io/blog ([https](https://spring.io/blog) result 200).
* [ ] http://spring.io/docs with 2 occurrences migrated to:
  https://spring.io/docs ([https](https://spring.io/docs) result 200).
* [ ] http://stackoverflow.com/questions/tagged/spring-vault with 3 occurrences migrated to:
  https://stackoverflow.com/questions/tagged/spring-vault ([https](https://stackoverflow.com/questions/tagged/spring-vault) result 200).
* [ ] http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html with 1 occurrences migrated to:
  https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html ([https](https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html) result 200).
* [ ] http://twitter.com/springcentral with 1 occurrences migrated to:
  https://twitter.com/springcentral ([https](https://twitter.com/springcentral) result 200).
* [ ] http://plugins.jetbrains.com/plugin/6546 with 1 occurrences migrated to:
  https://plugins.jetbrains.com/plugin/6546 ([https](https://plugins.jetbrains.com/plugin/6546) result 301).
* [ ] http://projects.spring.io/spring-vault with 3 occurrences migrated to:
  https://projects.spring.io/spring-vault ([https](https://projects.spring.io/spring-vault) result 301).
* [ ] http://www.pivotal.io with 1 occurrences migrated to:
  https://www.pivotal.io ([https](https://www.pivotal.io) result 301).
* [ ] http://www.pivotal.io/privacy-policy with 1 occurrences migrated to:
  https://www.pivotal.io/privacy-policy ([https](https://www.pivotal.io/privacy-policy) result 301).
* [ ] http://www.pivotal.io/terms-of-use with 1 occurrences migrated to:
  https://www.pivotal.io/terms-of-use ([https](https://www.pivotal.io/terms-of-use) result 301).
* [ ] http://eclipse.org with 1 occurrences migrated to:
  https://eclipse.org ([https](https://eclipse.org) result 302).
* [ ] http://eclipse.org/m2e/ with 2 occurrences migrated to:
  https://eclipse.org/m2e/ ([https](https://eclipse.org/m2e/) result 302).
* [ ] http://repo.spring.io/libs-milestone with 1 occurrences migrated to:
  https://repo.spring.io/libs-milestone ([https](https://repo.spring.io/libs-milestone) result 302).
* [ ] http://repo.spring.io/libs-snapshot with 2 occurrences migrated to:
  https://repo.spring.io/libs-snapshot ([https](https://repo.spring.io/libs-snapshot) result 302).
* [ ] http://spring.io/tools/sts with 1 occurrences migrated to:
  https://spring.io/tools/sts ([https](https://spring.io/tools/sts) result 302).
* [ ] http://www.springsource.com/developer/sts with 1 occurrences migrated to:
  https://www.springsource.com/developer/sts ([https](https://www.springsource.com/developer/sts) result 302).

These URLs were intentionally ignored.

* http://127.0.0.1 with 1 occurrences
* http://127.0.0.1:443 with 1 occurrences

Closes gh-410.
Original pull request: gh-410.
This commit is contained in:
Spring Operator
2019-03-26 05:00:30 -05:00
committed by Mark Paluch
parent 458850faa6
commit b18e89fee7
8 changed files with 39 additions and 39 deletions

View File

@@ -1,6 +1,6 @@
image::https://spring.io/badges/spring-vault/ga.svg[link=http://projects.spring.io/spring-vault#quick-start]
image::https://spring.io/badges/spring-vault/ga.svg[link=https://projects.spring.io/spring-vault#quick-start]
image::https://spring.io/badges/spring-vault/snapshot.svg[link=http://projects.spring.io/spring-vault#quick-start]
image::https://spring.io/badges/spring-vault/snapshot.svg[link=https://projects.spring.io/spring-vault#quick-start]
= Spring Vault
@@ -13,10 +13,10 @@ Vault can manage static and dynamic secrets such as application data, username/p
For a comprehensive treatment of all the Spring Vault features, please refer to:
* the http://docs.spring.io/spring-vault/docs/current-SNAPSHOT/reference/html/[User Guide]
* the http://docs.spring.io/spring-vault/docs/current-SNAPSHOT/api/[JavaDocs] have extensive comments in them as well.
* the home page of http://projects.spring.io/spring-vault[Spring Vault] contains links to articles and other resources.
* for more detailed questions, use http://stackoverflow.com/questions/tagged/spring-vault[Spring Vault on Stackoverflow].
* the https://docs.spring.io/spring-vault/docs/current-SNAPSHOT/reference/html/[User Guide]
* the https://docs.spring.io/spring-vault/docs/current-SNAPSHOT/api/[JavaDocs] have extensive comments in them as well.
* the home page of https://projects.spring.io/spring-vault[Spring Vault] contains links to articles and other resources.
* for more detailed questions, use https://stackoverflow.com/questions/tagged/spring-vault[Spring Vault on Stackoverflow].
== Features
@@ -24,13 +24,13 @@ Specifically for Spring applications:
* JavaConfig for Vault Client
* Retrieve secrets from Vault and initialize Spring Environment with remote property sources
* Obtain http://docs.spring.io/spring-vault/docs/current-SNAPSHOT/reference/html/#vault.backends.generic[secrets] secured with SSL
* http://docs.spring.io/spring-vault/docs/current-SNAPSHOT/reference/html/#vault.authentication.token[Token],
http://docs.spring.io/spring-vault/docs/current-SNAPSHOT/reference/html/#vault.authentication.appid[AppId],
http://docs.spring.io/spring-vault/docs/current-SNAPSHOT/reference/html/#vault.authentication.approle[AppRole],
http://docs.spring.io/spring-vault/docs/current-SNAPSHOT/reference/html/#vault.authentication.clientcert[Client Certificate],
http://docs.spring.io/spring-vault/docs/current-SNAPSHOT/reference/html/#vault.authentication.cubbyhole[Cubbyhole], and
http://docs.spring.io/spring-vault/docs/current-SNAPSHOT/reference/html/#vault.authentication.awsec2[AWS-EC2] authentication
* Obtain https://docs.spring.io/spring-vault/docs/current-SNAPSHOT/reference/html/#vault.backends.generic[secrets] secured with SSL
* https://docs.spring.io/spring-vault/docs/current-SNAPSHOT/reference/html/#vault.authentication.token[Token],
https://docs.spring.io/spring-vault/docs/current-SNAPSHOT/reference/html/#vault.authentication.appid[AppId],
https://docs.spring.io/spring-vault/docs/current-SNAPSHOT/reference/html/#vault.authentication.approle[AppRole],
https://docs.spring.io/spring-vault/docs/current-SNAPSHOT/reference/html/#vault.authentication.clientcert[Client Certificate],
https://docs.spring.io/spring-vault/docs/current-SNAPSHOT/reference/html/#vault.authentication.cubbyhole[Cubbyhole], and
https://docs.spring.io/spring-vault/docs/current-SNAPSHOT/reference/html/#vault.authentication.awsec2[AWS-EC2] authentication
* Bootstrap application context: a parent context for the main application that can be trained to do anything
Spring Boot users can benefit from https://github.com/spring-cloud/spring-cloud-vault-config[Spring Cloud Vault Config], an optimized integration with Vault to provide encrypted Vault properties inside Spring Boot applications.
@@ -66,7 +66,7 @@ If you'd rather like the latest snapshots of the upcoming major version, use our
<repository>
<id>spring-libs-snapshot</id>
<name>Spring Snapshot Repository</name>
<url>http://repo.spring.io/libs-snapshot</url>
<url>https://repo.spring.io/libs-snapshot</url>
</repository>
----
====
@@ -293,13 +293,13 @@ that on it will try to build asciidoc sources from
=== Working with the code
If you don't have an IDE preference we would recommend that you use
http://www.springsource.com/developer/sts[Spring Tools Suite] or
http://eclipse.org[Eclipse] when working with the code. We use the
http://eclipse.org/m2e/[m2eclipe] eclipse plugin for maven support. Other IDEs and tools
https://www.springsource.com/developer/sts[Spring Tools Suite] or
https://eclipse.org[Eclipse] when working with the code. We use the
https://eclipse.org/m2e/[m2eclipe] eclipse plugin for maven support. Other IDEs and tools
should also work without issue as long as they use Maven 3.3.3 or better.
==== Importing into eclipse with m2eclipse
We recommend the http://eclipse.org/m2e/[m2eclipe] eclipse plugin when working with
We recommend the https://eclipse.org/m2e/[m2eclipe] eclipse plugin when working with
eclipse. If you don't already have m2eclipse installed it is available from the "eclipse
marketplace".
@@ -353,7 +353,7 @@ added after the original pull request but before a merge.
you can import formatter settings using the
`eclipse-code-formatter.xml` file from the
https://raw.githubusercontent.com/spring-framework/spring-vault/master/etc/ide/eclipse-code-formatter.xml[project]. If using IntelliJ, you can use the
http://plugins.jetbrains.com/plugin/6546[Eclipse Code Formatter
https://plugins.jetbrains.com/plugin/6546[Eclipse Code Formatter
Plugin] to import the same file.
* Make sure all new `.java` files to have a Javadoc class comment with at least an
`@author` tag identifying you, and preferably at least a paragraph on what the class is
@@ -365,6 +365,6 @@ added after the original pull request but before a merge.
* Please include unit tests.
* If no-one else is using your branch, please rebase it against the current master (or
other target branch in the main project).
* When writing a commit message please follow http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html[these conventions],
* When writing a commit message please follow https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html[these conventions],
if you are fixing an existing issue please add `Fixes gh-XXXX` at the end of the commit
message (where XXXX is the issue number).

View File

@@ -1,5 +1,5 @@
GEM
remote: http://rubygems.org/
remote: https://rubygems.org/
specs:
activesupport (4.2.7)
i18n (~> 0.7)

View File

@@ -114,9 +114,9 @@
</div>
</div>
&copy; <script type="text/javascript"> var d = new Date();
document.write(d.getFullYear());</script> <a href="http://www.pivotal.io">Pivotal Software</a>, Inc. All Rights Reserved.
<a href="http://www.pivotal.io/terms-of-use">Terms of Use</a> and
<a href="http://www.pivotal.io/privacy-policy">Privacy</a>
document.write(d.getFullYear());</script> <a href="https://www.pivotal.io">Pivotal Software</a>, Inc. All Rights Reserved.
<a href="https://www.pivotal.io/terms-of-use">Terms of Use</a> and
<a href="https://www.pivotal.io/privacy-policy">Privacy</a>
</div>
</div>
</div>

View File

@@ -77,7 +77,7 @@ public class EnvironmentVaultConfigurationUnitTests {
public void shouldConfigureSsl() {
Map<String, Object> map = new HashMap<String, Object>();
map.put("vault.ssl.key-store", "http://foo.bar");
map.put("vault.ssl.key-store", "https://foo.bar");
map.put("vault.ssl.trust-store", "classpath:certificate.json");
MapPropertySource propertySource = new MapPropertySource("shouldConfigureSsl",

View File

@@ -4,7 +4,7 @@ Mark Paluch;
:revdate: {localdate}
:toc: macro
:toc-placement!:
:spring-framework-docs: http://docs.spring.io/spring/docs/{springVersion}/spring-framework-reference/
:spring-framework-docs: https://docs.spring.io/spring/docs/{springVersion}/spring-framework-reference/
(C) 2016-2018 The original authors.

View File

@@ -25,7 +25,7 @@ Spring Vault uses Spring framework's {spring-framework-docs}html/spring-core.htm
The core functionality of the Vault support can be used directly, with no need to invoke the IoC services of the Spring Container. This is much like `RestTemplate` which can be used 'standalone' without any other services of the Spring container. To leverage all the features of Spring Vault document, such as the session support, you will need to configure some parts of the library using Spring.
To learn more about Spring, you can refer to the comprehensive (and sometimes disarming) documentation that explains in detail the Spring Framework. There are a lot of articles, blog entries and books on the matter - take a look at the Spring framework http://spring.io/docs[home page ] for more information.
To learn more about Spring, you can refer to the comprehensive (and sometimes disarming) documentation that explains in detail the Spring Framework. There are a lot of articles, blog entries and books on the matter - take a look at the Spring framework https://spring.io/docs[home page ] for more information.
[[get-started:first-steps:vault]]
== Knowing Vault
@@ -52,7 +52,7 @@ for external services such as MySQL, PostgreSQL, Apache Cassandra, Consul, AWS a
[[requirements]]
== Requirements
Spring Vault 1.x binaries requires JDK level 6.0 and above, and http://spring.io/docs[Spring Framework] {springVersion} and above. While we maintain Java 6 compatibility, new projects should consider using Java 8 .
Spring Vault 1.x binaries requires JDK level 6.0 and above, and https://spring.io/docs[Spring Framework] {springVersion} and above. While we maintain Java 6 compatibility, new projects should consider using Java 8 .
In terms of Vault, https://www.vaultproject.io/[Vault] at least 0.5.
@@ -68,14 +68,14 @@ There are a few support options available:
[[get-started:help:community]]
==== Community Forum
Post questions questions regarding Spring Vault on http://stackoverflow.com/questions/tagged/spring-vault[Stackoverflow] to share information and help each other. Note that registration is needed *only* for posting.
Post questions questions regarding Spring Vault on https://stackoverflow.com/questions/tagged/spring-vault[Stackoverflow] to share information and help each other. Note that registration is needed *only* for posting.
[[get-started:help:professional]]
==== Professional Support
Professional, from-the-source support, with guaranteed response time, is available from http://pivotal.io/[Pivotal Sofware, Inc.], the company behind Spring Vault and Spring.
Professional, from-the-source support, with guaranteed response time, is available from https://pivotal.io/[Pivotal Sofware, Inc.], the company behind Spring Vault and Spring.
[[get-started:up-to-date]]
=== Following Development
For information on the Spring Vault source code repository, nightly builds and snapshot artifacts please see the http://projects.spring.io/spring-vault/[Spring Vault homepage]. You can help make Spring Vault best serve the needs of the Spring community by interacting with developers through the Community on http://stackoverflow.com/questions/tagged/spring-vault[Stackoverflow]. If you encounter a bug or want to suggest an improvement, please create a ticket on the Spring Vault issue https://github.com/spring-projects/spring-vault/issues[tracker]. To stay up to date with the latest news and announcements in the Spring ecosystem, subscribe to the Spring Community http://spring.io[Portal]. Lastly, you can follow the Spring http://spring.io/blog[blog ]or the project team on Twitter (http://twitter.com/springcentral[SpringCentral]).
For information on the Spring Vault source code repository, nightly builds and snapshot artifacts please see the https://projects.spring.io/spring-vault/[Spring Vault homepage]. You can help make Spring Vault best serve the needs of the Spring community by interacting with developers through the Community on https://stackoverflow.com/questions/tagged/spring-vault[Stackoverflow]. If you encounter a bug or want to suggest an improvement, please create a ticket on the Spring Vault issue https://github.com/spring-projects/spring-vault/issues[tracker]. To stay up to date with the latest news and announcements in the Spring ecosystem, subscribe to the Spring Community https://spring.io[Portal]. Lastly, you can follow the Spring https://spring.io/blog[blog ]or the project team on Twitter (https://twitter.com/springcentral[SpringCentral]).

View File

@@ -371,7 +371,7 @@ You can configure the authentication via `AwsIamAuthenticationOptions`.
See also:
* https://www.vaultproject.io/docs/auth/aws.html[Vault Documentation: Using the AWS auth backend]
* http://docs.aws.amazon.com/STS/latest/APIReference/API_GetCallerIdentity.html[AWS Documentation: STS GetCallerIdentity]
* https://docs.aws.amazon.com/STS/latest/APIReference/API_GetCallerIdentity.html[AWS Documentation: STS GetCallerIdentity]
[[vault.authentication.clientcert]]
== TLS certificate authentication

View File

@@ -3,7 +3,7 @@
Spring Vault support requires Vault 0.5 or higher and Java SE 6 or higher.
An easy way to bootstrap setting up a working environment is to create a
Spring based project in http://spring.io/tools/sts[STS].
Spring based project in https://spring.io/tools/sts[STS].
First you need to set up a running Vault server.
Refer to the https://www.vaultproject.io/intro/[Vault] for an explanation on how to startup a Vault instance.
@@ -42,13 +42,13 @@ Milestone repository to your maven `pom.xml` which is at the same level of your
<repository>
<id>spring-milestone</id>
<name>Spring Maven MILESTONE Repository</name>
<url>http://repo.spring.io/libs-milestone</url>
<url>https://repo.spring.io/libs-milestone</url>
</repository>
</repositories>
----
====
The repository is also http://repo.spring.io/milestone/org/springframework/vault/[browseable here].
The repository is also https://repo.spring.io/milestone/org/springframework/vault/[browseable here].
If you are using a SNAPSHOT, you will also need to add the location of the Spring
Snapshot repository to your maven `pom.xml` which is at the same level of your `<dependencies/>` element.
@@ -60,13 +60,13 @@ Snapshot repository to your maven `pom.xml` which is at the same level of your `
<repository>
<id>spring-snapshot</id>
<name>Spring Maven SNAPSHOT Repository</name>
<url>http://repo.spring.io/libs-snapshot</url>
<url>https://repo.spring.io/libs-snapshot</url>
</repository>
</repositories>
----
====
The repository is also http://repo.spring.io/snapshot/org/springframework/vault/[browseable here].
The repository is also https://repo.spring.io/snapshot/org/springframework/vault/[browseable here].
Create a simple `Secrets` class to persist:
@@ -491,8 +491,8 @@ For example, if the `@Configuration` classes above were registered via
component-scanning, the ordering is difficult to predict.
In such cases - and if overriding is important - it is recommended that the
user fall back to using the programmatic PropertySource API.
See http://docs.spring.io/spring-framework/docs/{springVersion}/javadoc-api/org/springframework/core/env/ConfigurableEnvironment.html[`ConfigurableEnvironment`] and
http://docs.spring.io/spring/docs/{springVersion}/javadoc-api/org/springframework/core/env/MutablePropertySources.html[`MutablePropertySources`] for details.
See https://docs.spring.io/spring-framework/docs/{springVersion}/javadoc-api/org/springframework/core/env/ConfigurableEnvironment.html[`ConfigurableEnvironment`] and
https://docs.spring.io/spring/docs/{springVersion}/javadoc-api/org/springframework/core/env/MutablePropertySources.html[`MutablePropertySources`] for details.
[[vault.core.executioncallback]]