Update docs to use new Spring style sheets.
This commit is contained in:
@@ -16,7 +16,7 @@ To use mutual TLS authentication to a CredHub server, simply provide the URL of
|
||||
|
||||
[source,properties,%autofit]
|
||||
----
|
||||
include::{examples-dir}/config-minimal.yml[]
|
||||
include::{examples-dir}config-minimal.yml[]
|
||||
----
|
||||
|
||||
See the {credhub-api-mtls}[CredHub documentation] for more information on mutual TLS authentication.
|
||||
@@ -30,7 +30,7 @@ Spring CredHub supports client credentials grant tokens for authentication using
|
||||
|
||||
[source,properties,%autofit]
|
||||
----
|
||||
include::{examples-dir}/config-oauth2.yml[]
|
||||
include::{examples-dir}config-oauth2.yml[]
|
||||
----
|
||||
|
||||
The ID provided in `spring.credhub.oauth2.registration-id` must refer to a client configured under `spring.security.oauth2.client.registration`.
|
||||
|
||||
@@ -8,7 +8,7 @@ Scott Frederick;
|
||||
:toclevels: 3
|
||||
:sectlinks:
|
||||
|
||||
:examples-dir: ../../test/java/com/example/credhub/
|
||||
:examples-dir: ../../src/test/java/com/example/credhub/
|
||||
:credhub-home: https://docs.cloudfoundry.org/credhub/
|
||||
:credhub-api-home: https://credhub-api.cfapps.io/
|
||||
:credhub-api-credentials: {credhub-api-home}version/2.0/#credentials
|
||||
|
||||
@@ -65,5 +65,5 @@ Application classes can autowire an instance of this bean to interact with a Cre
|
||||
|
||||
[source,java,%autofit]
|
||||
----
|
||||
include::{examples-dir}/CredHubService.java[]
|
||||
include::{examples-dir}CredHubService.java[]
|
||||
----
|
||||
|
||||
@@ -65,5 +65,5 @@ Application classes can autowire an instance of this bean to interact with a Cre
|
||||
|
||||
[source,java,%autofit]
|
||||
----
|
||||
include::{examples-dir}/ReactiveCredHubService.java[]
|
||||
include::{examples-dir}ReactiveCredHubService.java[]
|
||||
----
|
||||
|
||||
Reference in New Issue
Block a user