CORDA-2703: Fix use of commas in node.conf examples. (#4852)

This commit is contained in:
Chris Rankin 2019-03-08 16:42:03 +00:00 committed by Tommy Lillehagen
parent ea263b3e54
commit 25851c78a3

View File

@ -70,7 +70,7 @@ RPC users are created by adding them to the ``rpcUsers`` list in the node's ``no
username=exampleUser username=exampleUser
password=examplePass password=examplePass
permissions=[] permissions=[]
} },
... ...
] ]
@ -93,7 +93,7 @@ You provide an RPC user with the permission to start a specific flow using the s
"StartFlow.net.corda.flows.ExampleFlow1", "StartFlow.net.corda.flows.ExampleFlow1",
"StartFlow.net.corda.flows.ExampleFlow2" "StartFlow.net.corda.flows.ExampleFlow2"
] ]
} },
... ...
] ]
@ -111,7 +111,7 @@ You can also provide an RPC user with the permission to start any flow using the
permissions=[ permissions=[
"InvokeRpc.startFlow" "InvokeRpc.startFlow"
] ]
} },
... ...
] ]
@ -132,7 +132,7 @@ You provide an RPC user with the permission to perform a specific RPC operation
"InvokeRpc.nodeInfo", "InvokeRpc.nodeInfo",
"InvokeRpc.networkMapSnapshot" "InvokeRpc.networkMapSnapshot"
] ]
} },
... ...
] ]
@ -152,7 +152,7 @@ You can provide an RPC user with the permission to perform any RPC operation (in
permissions=[ permissions=[
"ALL" "ALL"
] ]
} },
... ...
] ]
@ -182,8 +182,8 @@ passwords in hash-encrypted format and enable in-memory caching of users data:
security = { security = {
authService = { authService = {
dataSource = { dataSource = {
type = "DB", type = "DB"
passwordEncryption = "SHIRO_1_CRYPT", passwordEncryption = "SHIRO_1_CRYPT"
connection = { connection = {
jdbcUrl = "<jdbc connection string>" jdbcUrl = "<jdbc connection string>"
username = "<db username>" username = "<db username>"
@ -210,11 +210,11 @@ of ``INMEMORY`` type:
security = { security = {
authService = { authService = {
dataSource = { dataSource = {
type = "INMEMORY", type = "INMEMORY"
users = [ users = [
{ {
username = "<username>", username = "<username>"
password = "<password>", password = "<password>"
permissions = ["<permission 1>", "<permission 2>", ...] permissions = ["<permission 1>", "<permission 2>", ...]
}, },
... ...