You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Denis Magda (JIRA)" <ji...@apache.org> on 2018/04/17 18:57:00 UTC

[jira] [Updated] (IGNITE-8289) Document new feature in REST: new command AUTHENTICATE and how to use sessionToken

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

Denis Magda updated IGNITE-8289:
--------------------------------
    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

 

  was:
[~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

 


> 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
>            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)