[ 
https://issues.apache.org/jira/browse/IGNITE-8289?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Prachi Garg reassigned IGNITE-8289:
-----------------------------------

    Assignee: Denis Magda  (was: Prachi Garg)

> 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: Denis Magda
>            Priority: Major
>             Fix For: 2.5
>
>
> 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)

Reply via email to