-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathscdf.yml
25 lines (25 loc) · 794 Bytes
/
scdf.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
spring:
cloud:
dataflow:
security:
authorization:
map-oauth-scopes: true
role-mappings:
ROLE_CREATE: foo.create
ROLE_DEPLOY: foo.create
ROLE_DESTROY: foo.create
ROLE_MANAGE: foo.create
ROLE_MODIFY: foo.create
ROLE_SCHEDULE: foo.create
ROLE_VIEW: foo.view
security:
oauth2:
client:
client-id: dataflow
client-secret: dataflow
scope: openid,foo.create,foo.view
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
token-info-uri: http://dataflow.local:8080/uaa/check_token