[ 
https://issues.apache.org/jira/browse/IGNITE-8201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16434891#comment-16434891
 ] 

Alexey Kuznetsov edited comment on IGNITE-8201 at 4/12/18 6:39 AM:
-------------------------------------------------------------------

Pavel, please test in branch ignite-8201.

 To test:
 # Enable authentication: on IgniteConfiguration do: 
setAuthenticationEnabled(true);
 # Now all REST command should failed (except new command authentication).
 #  Execute authentication command - you should receive token: 
"?cmd=authenticate&user=ignite&password=ignite"
 # All REST command should work with that token (&sessionToken=token)
 # OLD API also should work (add to each REST command: 
&ignite.login=ignite&ignite.password=ignite).


was (Author: kuaw26):
Pavel, please test in branch ignite-8201.

 To test:
 # Enable authentication: on IgniteConfiguration do: 
setAuthenticationEnabled(true);
 # Now all REST command should failed (except new command authentication).
 #  Execute authentication command - you should receive token: 
"&cmd=authentication&user=ignite&password=ignite"
 # All REST command should work with that token (&sessionToken=token)
 # OLD API also should work (add to each REST command: 
&ignite.login=ignite&ignite.password=ignite).

> Refactor REST API for authentication
> ------------------------------------
>
>                 Key: IGNITE-8201
>                 URL: https://issues.apache.org/jira/browse/IGNITE-8201
>             Project: Ignite
>          Issue Type: Task
>          Components: rest
>            Reporter: Alexey Kuznetsov
>            Assignee: Pavel Konstantinov
>            Priority: Major
>             Fix For: 2.5
>
>
> # Introduce "authenticate" command.
>  # All subsequent commands should be executed with session token from step 1.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to