blob: 40c179375cd48dbd5c178425f79f78111d8f759b [file] [log] [blame]
Ezhilarasif95be212019-04-15 20:35:17 +05301.. This work is licensed under a Creative Commons Attribution 4.0 International License.
2.. http://creativecommons.org/licenses/by/4.0
3.. Copyright (C) 2019 IBM.
4
5
6Resource Rest Authentication
7----------------------------
8
9token-auth:
10
11"dsl_definitions": {
12 "dynamic-rest-source": {
13 "type" : "token-auth",
14 "url" : "http://localhost:32778",
15 "token" : "Token 0123456789abcdef0123456789abcdef01234567"
16 }
17}
18
19basic-auth:
20
21"dsl_definitions": {
22 "dynamic-rest-source": {
23 "type" : "basic-auth",
24 "url" : "http://localhost:32778",
25 "username" : "bob",
26 "password": "marley"
27 }
28}
29
30ssl-basic-auth:
31
32"dsl_definitions": {
33 "dynamic-rest-source": {
34 "type" : "ssl-basic-auth",
35 "url" : "http://localhost:32778",
36 "keyStoreInstance": "JKS or PKCS12",
37 "sslTrust": "trusture",
38 "sslTrustPassword": "trustore password",
39 "sslKey": "keystore",
40 "sslKeyPassword: "keystore password"
41 }
42}