You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Alexey Kuznetsov (JIRA)" <ji...@apache.org> on 2018/04/17 07:01:00 UTC
[jira] [Created] (IGNITE-8289) Document new feature in REST: new
command AUTHENTICATE and how to use sessionToken
Alexey Kuznetsov created IGNITE-8289:
----------------------------------------
Summary: Document new feature in REST: new command AUTHENTICATE and how to use sessionToken
Key: IGNITE-8289
URL: https://issues.apache.org/jira/browse/IGNITE-8289
Project: Ignite
Issue Type: Improvement
Components: documentation, rest
Reporter: Alexey Kuznetsov
Assignee: Prachi Garg
Fix For: 2.5
[~pgarcia], 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
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)