You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Ignite TC Bot (Jira)" <ji...@apache.org> on 2020/09/23 16:50:00 UTC

[jira] [Commented] (IGNITE-13472) JDBC bulkload operations are processed with wrong security context

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

Ignite TC Bot commented on IGNITE-13472:
----------------------------------------

{panel:title=Branch: [pull/8266/head] Base: [master] : No blockers found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel}
{panel:title=Branch: [pull/8266/head] Base: [master] : No new tests found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1}{panel}
[TeamCity *--&gt; Run :: All* Results|https://ci.ignite.apache.org/viewLog.html?buildId=5618142&amp;buildTypeId=IgniteTests24Java8_RunAll]

> 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
>            Priority: Minor
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> {{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 exception means the put operation is processed with node context instead of user. Also, operation doesn't finish successfully.



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