THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Using gfsh, start a locator with security activated.
Code Block gfsh> start locator --name=locator1 \ --J=-Dgemfire.security-client-authenticator=blah.blah.ExampleJSONAuthorization.create \ --J=-Dgemfire.security-client-accessor=blah.blah.ExampleJSONAuthorization.create
Similarly, start a server
Code Block gfsh> start server --name=server1 --locators=localhost[10334]
- asdfsadfsa
- type stuff
- run stuff
Start a new instance of gfsh and connect with one of the users defined in your JSON file. The super-user should be allowed to do everything in gfsh.
Code Block gfsh> connect --locators=localhost[10334] --user=super-user --password=1234567
Disconnect and reconnect with a user with lesser privileges:
do more stuffCode Block gfsh> disconnect gfsh> connect --locators=localhost[10334] --user=joebloggs --password=1234567 gfsh> stop server --name=server1 An error occurred while attempting to stop a Cache Server: Subject does not have permission [CLUSTER:READ]
sdfdsfsdg
Reference
Following are lists for gfsh commands, (highlighted in green), and JMX operations with their corresponding permissions.
...