Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.3, 6.0
    • Component/s: security
    • Labels:
      None

      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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                noble.paul Noble Paul
                Reporter:
                noble.paul Noble Paul
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: