Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-8289

Document new feature in REST: new command AUTHENTICATE and how to use sessionToken

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5
    • Component/s: documentation, rest
    • Labels:
      None

      Description

      Please document new REST command "authenticate" + how to use sessionToken to execute subsequent commands.

      For example: 

      https://localhost:8080/ignite?cmd=authenticate&user=ignite&password=ignite

      Get  token, for example: 12DA3E2144344377BFA8155A7A796B3F

       

      And execute "top" command.

      https://localhost:8080/ignite?cmd=top&sessionToken=12DA3E2144344377BFA8155A7A796B3F

       

      NOTE, token will be expired in 30 seconds, by default.

      To set custom expire time, set system variable: IGNITE_REST_SESSION_TIMEOUT in seconds.

      For example, -DIGNITE_REST_SESSION_TIMEOUT=3600

       

        Attachments

          Activity

            People

            • Assignee:
              dmagda Denis A. Magda
              Reporter:
              kuaw26 Alexey Kuznetsov
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: