Resource Rest Authentication¶
token-auth:¶
1 2 3 4 5 6 7 8 9 | {
"dsl_definitions": {
"dynamic-rest-source": {
"type" : "token-auth",
"url" : "http://localhost:32778",
"token" : "<token>"
}
}
}
|
basic-auth:¶
1 2 3 4 5 6 7 8 9 10 | {
"dsl_definitions": {
"dynamic-rest-source": {
"type" : "basic-auth",
"url" : "http://localhost:32778",
"username" : "<username>",
"password": "<password>"
}
}
}
|
ssl-basic-auth:¶
1 2 3 4 5 6 7 8 9 10 11 12 13 | {
"dsl_definitions": {
"dynamic-rest-source": {
"type" : "ssl-basic-auth",
"url" : "http://localhost:32778",
"keyStoreInstance": "JKS or PKCS12",
"sslTrust": "trusture",
"sslTrustPassword": "<password>",
"sslKey": "keystore",
"sslKeyPassword": "<password>"
}
}
}
|