You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Andrew Mashenkov (JIRA)" <ji...@apache.org> on 2017/10/24 14:42:00 UTC

[jira] [Updated] (IGNITE-6741) GridRestProcessor doesn't support authorization on CLUSTER_ACTIVE command.

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

Andrew Mashenkov updated IGNITE-6741:
-------------------------------------
    Fix Version/s: 2.4

> GridRestProcessor doesn't support authorization on CLUSTER_ACTIVE command.
> --------------------------------------------------------------------------
>
>                 Key: IGNITE-6741
>                 URL: https://issues.apache.org/jira/browse/IGNITE-6741
>             Project: Ignite
>          Issue Type: Bug
>      Security Level: Public(Viewable by anyone) 
>          Components: rest
>    Affects Versions: 2.2
>            Reporter: Andrew Mashenkov
>             Fix For: 2.4
>
>
> I've found we have a enum GridRestCommand.CLUSTER_ACTIVE, 
> but looks like it is not supported by GridRestProcessor and 
> enum SecurityPermission doesn't support any permission for cluster activation. 
> Also CLUSTER_INACTIVE has same issues.
> So, cluster can't be activated with security plugin due to ERROR.
> See userlist thread for details [#\[1\]]
> {code:java}
> id=d2e2b816-61e3-47ff-9d88-ae4c8b3eb2ae, login=null 
> 10-23 20:48:30.051 [rest-#47%cdev_cluster%] ERROR 
> internal.processors.rest.GridRestProcessor - Client request execution failed 
> with error. 
> java.lang.AssertionError: Unexpected command: CLUSTER_ACTIVE 
>         at 
> org.apache.ignite.internal.processors.rest.GridRestProcessor.authorize(GridRestProcessor.java:817) 
>         at 
> org.apache.ignite.internal.processors.rest.GridRestProcessor.handleRequest(GridRestProcessor.java:250) 
>         at 
> org.apache.ignite.internal.processors.rest.GridRestProcessor.access$100(GridRestProcessor.java:91) 
>         at 
> org.apache.ignite.internal.processors.rest.GridRestProcessor$2.body(GridRestProcessor.java:157) 
>         at 
> org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110) 
>         at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) 
>         at 
> {code}
> [^http://apache-ignite-users.70518.x6.nabble.com/Cannot-activate-Ignite-with-custom-security-plugin-tt17687.html]



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)