Skip to content
This repository was archived by the owner on May 14, 2025. It is now read-only.

Commit 3e37f74

Browse files
committed
Update Spring Cloud Common Security + Polish Docs
* Update Spring Cloud Common Security to `1.1.2.RELEASE` * Minor polishing of security section of the docs
1 parent b5dec22 commit 3e37f74

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
<spring-cloud-scheduler-kubernetes.version>1.0.0.RELEASE</spring-cloud-scheduler-kubernetes.version>
5656
<spring-cloud-scheduler-cloudfoundry>1.0.1.RELEASE</spring-cloud-scheduler-cloudfoundry>
5757

58-
<spring-cloud-common-security-config.version>1.1.1.RELEASE</spring-cloud-common-security-config.version>
58+
<spring-cloud-common-security-config.version>1.1.2.RELEASE</spring-cloud-common-security-config.version>
5959

6060
<spring-shell.version>1.2.0.RELEASE</spring-shell.version>
6161
<commons-io.version>2.4</commons-io.version>

spring-cloud-dataflow-docs/src/main/asciidoc/configuration-local.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -741,7 +741,7 @@ $ cd uaa/
741741
$ ./gradlew run
742742
----
743743

744-
In a separate window, check if the UAA server is running:
744+
IMPORTANT: The UAA requires *Java 8*.
745745

746746
The configuration of the UAA is driven by a
747747
https://github.com/cloudfoundry/uaa/blob/develop/uaa/src/main/resources/uaa.yml[uaa.yml]
@@ -857,7 +857,7 @@ security:
857857
client:
858858
client-id: app
859859
client-secret: dataflow
860-
scope: openid, dataflow.view, dataflow.create, dataflow.manage # <1>
860+
scope: openid # <1>
861861
access-token-uri: http://localhost:8080/uaa/oauth/token
862862
user-authorization-uri: http://localhost:8080/uaa/oauth/authorize
863863
resource:
@@ -866,7 +866,7 @@ security:
866866
----
867867

868868
<1> If you use scopes to identify roles, please make sure to also request
869-
the relevant roles
869+
the relevant scopes, e.g `dataflow.view`, `dataflow.create` etc.
870870
<2> Used to retrieve profile information, e.g. username for display purposes (mandatory)
871871
<3> Used for token introspection and validation (mandatory)
872872

0 commit comments

Comments
 (0)