Commit Graph

144 Commits

Author SHA1 Message Date
Scott Frederick
1bb8c191c7 Allow empty credential values in requests 2019-05-17 13:41:03 -05:00
Alberto Rios
4d82cfa60d Fixing inverted condition on equals 2019-04-03 03:28:13 -10:00
Spring Operator
cf530ebb4c URL Cleanup
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# Fixed URLs

## Fixed 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://spring-credhub-demo.cf.example.com/test (UnknownHostException) with 1 occurrences migrated to:
  https://spring-credhub-demo.cf.example.com/test ([https](https://spring-credhub-demo.cf.example.com/test) result UnknownHostException).
* [ ] http://username:password@rabbitmq-broker:12345/api (UnknownHostException) with 1 occurrences migrated to:
  https://username:password@rabbitmq-broker:12345/api ([https](https://username:password@rabbitmq-broker:12345/api) result UnknownHostException).

## 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://docs.cloudfoundry.org/cf-cli/getting-started.html with 1 occurrences migrated to:
  https://docs.cloudfoundry.org/cf-cli/getting-started.html ([https](https://docs.cloudfoundry.org/cf-cli/getting-started.html) result 200).
* [ ] http://example.com/uaa/oauth/token with 4 occurrences migrated to:
  https://example.com/uaa/oauth/token ([https](https://example.com/uaa/oauth/token) result 200).
* [ ] http://projects.spring.io/spring-credhub with 1 occurrences migrated to:
  https://projects.spring.io/spring-credhub ([https](https://projects.spring.io/spring-credhub) result 200).
* [ ] http://square.github.io/okhttp/ with 1 occurrences migrated to:
  https://square.github.io/okhttp/ ([https](https://square.github.io/okhttp/) 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://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://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://eclipse.org with 1 occurrences migrated to:
  https://eclipse.org ([https](https://eclipse.org) 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).
2019-03-22 14:55:13 -05:00
Spring Operator
89b44020ed URL Cleanup
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# Fixed URLs

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

* [ ] http://www.apache.org/licenses/ with 1 occurrences migrated to:
  https://www.apache.org/licenses/ ([https](https://www.apache.org/licenses/) result 200).
* [ ] http://www.apache.org/licenses/LICENSE-2.0 with 191 occurrences migrated to:
  https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0) result 200).
2019-03-22 14:50:52 -05:00
Scott Frederick
38d0e1dcf7 Increment version to 2.0.2.BUILD-SNAPSHOT. 2019-03-18 13:17:27 -05:00
Spring Buildmaster
af8d22f7ca [artifactory-release] Release version 2.0.1.RELEASE 2019-03-18 17:10:23 +00:00
Scott Frederick
e7cee758c5 Fail at startup if a configured OAuth2 client ID is not valid. 2019-03-15 15:21:53 -05:00
Scott Frederick
7c49eed010 Update project site URL in generated POM. 2019-03-06 08:37:25 -06:00
Spring Operator
fc327ae0b9 URL Cleanup
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# Fixed URLs

## Fixed Success
These URLs were fixed successfully.

* http://docs.oracle.com/javase/7/docs/api/ migrated to:
  https://docs.oracle.com/javase/7/docs/api/ ([https](https://docs.oracle.com/javase/7/docs/api/) result 200).
* http://docs.oracle.com/javase/8/docs/api/ migrated to:
  https://docs.oracle.com/javase/8/docs/api/ ([https](https://docs.oracle.com/javase/8/docs/api/) result 200).
* http://docs.spring.io/spring/docs/current/javadoc-api/ migrated to:
  https://docs.spring.io/spring/docs/current/javadoc-api/ ([https](https://docs.spring.io/spring/docs/current/javadoc-api/) result 200).
* http://www.apache.org/licenses/LICENSE-2.0 migrated to:
  https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0) result 200).
* http://www.apache.org/licenses/LICENSE-2.0.txt migrated to:
  https://www.apache.org/licenses/LICENSE-2.0.txt ([https](https://www.apache.org/licenses/LICENSE-2.0.txt) result 200).
* http://projects.spring.io/spring-credhub migrated to:
  https://projects.spring.io/spring-credhub ([https](https://projects.spring.io/spring-credhub) result 301).
2019-03-06 08:35:17 -06:00
Scott Frederick
ca9cb2979c Add reference docs link to README. 2019-02-26 18:10:02 -06:00
Scott Frederick
f6ed89b994 Exclude integration tests javadoc generation. 2019-02-12 11:07:06 -06:00
Alberto Rios
a6c442597b Adding endpoint to get permissions by path and actor 2019-02-12 11:00:18 -06:00
Scott Frederick
9a51e3f092 Use Apache HttpClient in integration tests by default. Warn when certs are configured by JDK HTTP client in use. 2019-02-11 11:44:20 -06:00
Scott Frederick
517c1d879e Fix javadoc comment. 2019-02-11 09:25:03 -06:00
Scott Frederick
940917cb1c Add methods to check for version 2.0 vs 2.1. 2019-02-11 09:23:14 -06:00
Scott Frederick
2927213a8d Split reactive and non-reactive integration tests into separate subprojects. 2019-02-07 11:40:38 -06:00
Scott Frederick
7436870946 Add a conditional to creation of reactive OAuth2 support beans. 2019-02-04 16:35:07 -06:00
Scott Frederick
5e7a7e71b9 Increment version to 2.0.1.BUILD-SNAPSHOT 2019-01-10 09:08:30 -06:00
Scott Frederick
d55c8bf593 Add Spring Security OAuth2 client lib as a transitive dependency. 2019-01-03 14:47:30 -06:00
Scott Frederick
b1ed0aa95b Fix autoconfiguration in the absence of Spring Security OAuth2 classes. 2019-01-02 16:06:00 -06:00
Scott Frederick
4c5cd24403 Use class names instead of types in @ConditionalOnClass annotations. 2019-01-02 15:00:12 -06:00
Scott Frederick
de5a9d1346 Clean up CredHubTemplateFactory API. 2019-01-02 13:19:13 -06:00
Scott Frederick
e660477b9d Use released version of Spring docs stylesheets. 2018-12-12 17:27:03 -06:00
Scott Frederick
39757db8ff Update docs to use new Spring style sheets. 2018-12-12 17:12:48 -06:00
Scott Frederick
429422b8c4 Fix reactive OAuth2 auto-config when web servlet app is detected. 2018-12-05 13:46:55 -06:00
Scott Frederick
c4a66c4f10 Allow custom configuration of properties. 2018-12-04 16:06:23 -06:00
Scott Frederick
968bc20bc3 Add integration tests for CredentialOperations.getByNameWithHistory operations. 2018-11-30 10:35:21 -06:00
Scott Frederick
8f0286f6f4 Add integration tests for reactive operations. 2018-11-29 20:00:14 -06:00
Scott Frederick
73c0271e23 Add reactive support to docs. Modify OAuth2 config properties for clarity. 2018-11-29 14:18:01 -06:00
Scott Frederick
71788b0a18 Add ReactiveCredHubTemplate. Update OAuth2 support to use Spring
Security 5.1.
2018-11-28 16:21:17 -06:00
Scott Frederick
09c64f6cb3 Add missing copyright file headers. 2018-11-05 13:04:00 -06:00
Scott Frederick
66ad2bf359 Fix integration test build file. 2018-11-02 17:27:21 -05:00
Scott Frederick
7a60c9cd04 Upgrade integration tests to Boot 2.0. 2018-11-02 15:41:46 -05:00
Scott Frederick
337c8686d8 Upgrade to Java 8, Spring 5.0, and Boot 2.0. 2018-11-01 16:04:18 -05:00
Scott Frederick
b6664ea971 Update documentation. 2018-10-31 15:44:11 -05:00
Scott Frederick
affaccf741 Fix permission ID JSON mapping. 2018-10-31 14:21:42 -05:00
Scott Frederick
49fe1223b3 Add permission V2 operations.
Fixes #44
2018-10-31 14:12:57 -05:00
Scott Frederick
fd811f36a5 Support custom certificates for external connectivity. 2018-10-29 16:14:51 -05:00
Scott Frederick
a6eb992269 Add initial reference documentation. 2018-10-26 17:15:35 -05:00
Scott Frederick
db27373032 Update demo app. 2018-10-26 13:57:05 -05:00
Scott Frederick
e2851e0b70 Add missing package javadoc files. 2018-10-26 10:40:23 -05:00
Scott Frederick
9069d4a83f Add Boot configuration properties annotation processor. Upgrade Gradle to 4.10. 2018-10-26 10:35:04 -05:00
Scott Frederick
78b524b931 Remove compiler warnings 2018-10-25 17:17:13 -05:00
Scott Frederick
7a08161744 Fix integration tests for CredHub 1.x servers. 2018-10-25 16:14:17 -05:00
Scott Frederick
4798ef8dfb Add integration tests for interpolation operations. 2018-10-25 15:37:10 -05:00
Scott Frederick
85f33f6fa5 Add regenerate method to certificate operations to bulk-regenerate certificates
Fixes #43
2018-10-25 15:06:25 -05:00
Scott Frederick
1504e64759 Deprecate permissions fields on requests.
Fixes #45
2018-10-24 14:47:57 -05:00
Scott Frederick
2d302b88b3 Move credential-specific classes to the appropriate package. 2018-10-24 14:36:05 -05:00
Scott Frederick
9af009a5d2 Add updateTransitionalVersion method to certificate operations.
Fixes #42
2018-10-24 14:33:12 -05:00
Scott Frederick
926de97c91 Add regenerate method to certificate operations.
Fixes #41
2018-10-23 18:18:04 -05:00