Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

[NC-2218] RPC auth config validation + tests. #846

Merged
merged 2 commits into from
Feb 13, 2019

Conversation

mark-terry
Copy link
Contributor

PR description

Added validation for RPC authentication configuration at start up.

Fixed Issue(s)

#NC-2218

@mark-terry mark-terry changed the title [NC-2218] RPC auth validation + tests. [NC-2218] RPC auth config validation + tests. Feb 13, 2019
password = "$2a$10$l3GA7K8g6rJ/Yv.YFSygCuI9byngpEzxgWS9qEg5emYDZomQW7fGC"
groups = ["admin"]
permissions = ["eth:*", "perm:*"]
roles = ["net"]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in my PR I used / instead of :
what you have done is what the design doc says. I can't think right now why I used / so I guess that needs changing

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The / will be JsonRpcMethod and NetListeningTest and one or two auth.toml files
If you feel like doing it, otherwise I will get to it later this afternoon

@mark-terry mark-terry merged commit e603d3e into PegaSysEng:master Feb 13, 2019
@mark-terry mark-terry deleted the NC-2218 branch February 13, 2019 05:20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants