We're updating the issue view to help you get more done. 

RPC user security using Shiro docs have errant commas in example config

Description

Relating to this page: https://docs.corda.net/head/clientrpc.html#rpc-security-management

There are two sections. The first is:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 security = { authService = { dataSource = { type = "DB", passwordEncryption = "SHIRO_1_CRYPT", connection = { jdbcUrl = "<jdbc connection string>" username = "<db username>" password = "<db user password>" driverClassName = "<JDBC driver>" } } options = { cache = { expireAfterSecs = 120 maxEntries = 10000 } } } }

The commas after type and passwordEncryption make the build fail if you paste this into the build.gradle file for cordformation. Chatting to Anthony, we believe these should be comma less, even for the node.conf file.

The next section also has these commas.

Status

Assignee

Chris Rankin

Reporter

Ben Wyeth

Priority

Medium

Labels

None

Severity

Low

Fix versions

Ported to...

None

Feature Team

Select team

Affects versions

Corda 4
Corda Enterprise 4 RC03