Ryabov Dmitrii created IGNITE-13472:
---------------------------------------

             Summary: JDBC bulkload operations are processed with wrong 
security context
                 Key: IGNITE-13472
                 URL: https://issues.apache.org/jira/browse/IGNITE-13472
             Project: Ignite
          Issue Type: Bug
            Reporter: Ryabov Dmitrii
            Assignee: Ryabov Dmitrii


{{JdbcAuthorizationTest.testCopyFrom()}} have many exceptions like

{code:java}
[12:02:56] (err) Failed to execute compound future reducer: GridCompoundFuture 
[rdc=null, initFlag=1, lsnrCalls=0, done=false, cancelled=false, err=null, 
futs=TransformCollectionView [true]]class 
org.apache.ignite.IgniteCheckedException: Authorization failed [perm=CACHE_PUT, 
name=test-bulkload-cache, 
subject=TestSecuritySubject{id=ca0e2ed9-f877-4c49-a80e-11a1c7a00000, 
type=REMOTE_NODE, login=jdbc.JdbcAuthorizationTest0}]
        at 
org.apache.ignite.internal.util.IgniteUtils.cast(IgniteUtils.java:7589)
        at 
org.apache.ignite.internal.processors.closure.GridClosureProcessor$2.body(GridClosureProcessor.java:979)
        at 
org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:120)
        at 
org.apache.ignite.internal.util.StripedExecutor$Stripe.body(StripedExecutor.java:569)
        at 
org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:120)
        at java.lang.Thread.run(Thread.java:748)
Caused by: class org.apache.ignite.plugin.security.SecurityException: 
Authorization failed [perm=CACHE_PUT, name=test-bulkload-cache, 
subject=TestSecuritySubject{id=ca0e2ed9-f877-4c49-a80e-11a1c7a00000, 
type=REMOTE_NODE, login=jdbc.JdbcAuthorizationTest0}]
        at 
org.apache.ignite.internal.processors.security.impl.TestSecurityProcessor.authorize(TestSecurityProcessor.java:153)
        at 
org.apache.ignite.internal.processors.security.IgniteSecurityProcessor.authorize(IgniteSecurityProcessor.java:207)
        at 
org.apache.ignite.internal.processors.datastreamer.DataStreamerUpdateJob.checkSecurityPermission(DataStreamerUpdateJob.java:170)
        at 
org.apache.ignite.internal.processors.datastreamer.DataStreamerUpdateJob.call(DataStreamerUpdateJob.java:123)
        at 
org.apache.ignite.internal.util.IgniteUtils.wrapThreadLoader(IgniteUtils.java:7087)
        at 
org.apache.ignite.internal.processors.closure.GridClosureProcessor$2.body(GridClosureProcessor.java:971)
        ... 4 more
{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to