diff --git a/security-ldap-uaa-example/README.adoc b/security-ldap-uaa-example/README.adoc index aa1d3de..940bde2 100644 --- a/security-ldap-uaa-example/README.adoc +++ b/security-ldap-uaa-example/README.adoc @@ -7,13 +7,13 @@ This repository provides an embedded LDAP server, powered by https://directory.apache.org/[Apache Directory Server] (ApacheDS) and Spring Boot, running on *port 40000* with pre-configured users. In this example we will use 2 users. -First user with all roles: +*First user* with all roles: - username: marlene - password: supersecret - assigned LDAP groups: *view*, *create*, *manage* -Second user with view and manage roles only: +*Second user* with view and manage roles only: - username: joe - password: joespassword @@ -52,8 +52,8 @@ for an easier startup experience: ---- $ git clone https://github.com/ghillert/uaa-bundled.git $ cd uaa-bundled -$ export CLOUD_FOUNDRY_CONFIG_PATH=/path/to/dev/ldap-uaa-example -$ ./mwnw clean package +$ export CLOUD_FOUNDRY_CONFIG_PATH=/path/to/dev/security-ldap-uaa-example +$ ./mvnw clean package $ java -jar target/uaa-bundled-1.0.0.BUILD-SNAPSHOT.jar ---- diff --git a/security-ldap-uaa-example/dataflow.yml b/security-ldap-uaa-example/dataflow.yml index 32a7933..49ed2ca 100644 --- a/security-ldap-uaa-example/dataflow.yml +++ b/security-ldap-uaa-example/dataflow.yml @@ -6,4 +6,5 @@ access-token-uri: http://dataflow.local:8080/uaa/oauth/token user-authorization-uri: http://dataflow.local:8080/uaa/oauth/authorize resource: - user-info-uri: http://dataflow.local:8080/uaa/userinfo \ No newline at end of file + user-info-uri: http://dataflow.local:8080/uaa/userinfo + token-info-uri: http://dataflow.local:8080/uaa/check_token \ No newline at end of file diff --git a/security-ldap-uaa-example/skipper.yml b/security-ldap-uaa-example/skipper.yml index abbf7ab..7d1f3aa 100644 --- a/security-ldap-uaa-example/skipper.yml +++ b/security-ldap-uaa-example/skipper.yml @@ -6,4 +6,5 @@ security: access-token-uri: http://dataflow.local:8080/uaa/oauth/token user-authorization-uri: http://dataflow.local:8080/uaa/oauth/authorize resource: - user-info-uri: http://dataflow.local:8080/uaa/userinfo \ No newline at end of file + user-info-uri: http://dataflow.local:8080/uaa/userinfo + token-info-uri: http://dataflow.local:8080/uaa/check_token \ No newline at end of file