Description
example: authentication commands
curl http://localhost:8983/solr/admin/authentication -d '{ "set-user": {"tom":"TomIsCool"}, "set-user":{ "tom":"TomIsUberCool"} }'
example : authorization commands
curl http://localhost:8983/solr/admin/authorization -d '{ {"set-user-role": { "tom": ["admin","dev"]}, "set-permission":{"name": "security-edit", "path": ["/admin/authentication","/admin/authorization"], "role": "admin" }, "set-permission":{"name":"some-permission", "collection":"acoll", "path":"/nonexistentpath", "role":"guest", "before":"security-admin" } }'
Please note that the set of parameters required for a basic ZK based impl will be completely different from that of a Kerberos implementation. However the framework would remain the same. The end point will remain the same, though