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

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

{panel:title=Branch: [pull/9290/head] Base: [master] : No blockers 
found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel}
{panel:title=Branch: [pull/9290/head] Base: [master] : New Tests 
(38)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}
{color:#00008b}Java Client{color} [[tests 
33|https://ci.ignite.apache.org/viewLog.html?buildId=6113468]]
* {color:#013220}IgniteClientTestSuite: 
CacheCreateDestroyEventSecurityContextTest.testServerNode - PASSED{color}
* {color:#013220}IgniteClientTestSuite: 
CacheCreateDestroyEventSecurityContextTest.testRestClient - PASSED{color}
* {color:#013220}IgniteClientTestSuite: 
CacheCreateDestroyEventSecurityContextTest.testClientNode - PASSED{color}
* {color:#013220}IgniteClientTestSuite: 
CacheCreateDestroyEventSecurityContextTest.testGridClient - PASSED{color}
* {color:#013220}IgniteClientTestSuite: 
CacheEventSecurityContextTest.testClientNode[cacheAtomicity=transactional, 
txConcurrency=SERIALIZABLE, txIsolation=PESSIMISTIC] - PASSED{color}
* {color:#013220}IgniteClientTestSuite: 
CacheEventSecurityContextTest.testIgniteClient[cacheAtomicity=transactional, 
txConcurrency=REPEATABLE_READ, txIsolation=PESSIMISTIC] - PASSED{color}
* {color:#013220}IgniteClientTestSuite: 
CacheEventSecurityContextTest.testServerNode[cacheAtomicity=transactional, 
txConcurrency=REPEATABLE_READ, txIsolation=PESSIMISTIC] - PASSED{color}
* {color:#013220}IgniteClientTestSuite: 
CacheEventSecurityContextTest.testGridClient[cacheAtomicity=transactional, 
txConcurrency=null, txIsolation=null] - PASSED{color}
* {color:#013220}IgniteClientTestSuite: 
CacheEventSecurityContextTest.testIgniteClient[cacheAtomicity=transactional, 
txConcurrency=SERIALIZABLE, txIsolation=PESSIMISTIC] - PASSED{color}
* {color:#013220}IgniteClientTestSuite: 
CacheEventSecurityContextTest.testServerNode[cacheAtomicity=transactional, 
txConcurrency=SERIALIZABLE, txIsolation=PESSIMISTIC] - PASSED{color}
* {color:#013220}IgniteClientTestSuite: 
CacheEventSecurityContextTest.testServerNode[cacheAtomicity=transactional, 
txConcurrency=READ_COMMITTED, txIsolation=PESSIMISTIC] - PASSED{color}
... and 22 new tests

{color:#00008b}ZooKeeper (Discovery) 4{color} [[tests 
5|https://ci.ignite.apache.org/viewLog.html?buildId=6113531]]
* {color:#013220}ZookeeperDiscoverySpiTestSuite4: 
CacheCreateDestroyEventSecurityContextTest.testIgniteClient - PASSED{color}
* {color:#013220}ZookeeperDiscoverySpiTestSuite4: 
CacheCreateDestroyEventSecurityContextTest.testServerNode - PASSED{color}
* {color:#013220}ZookeeperDiscoverySpiTestSuite4: 
CacheCreateDestroyEventSecurityContextTest.testRestClient - PASSED{color}
* {color:#013220}ZookeeperDiscoverySpiTestSuite4: 
CacheCreateDestroyEventSecurityContextTest.testClientNode - PASSED{color}
* {color:#013220}ZookeeperDiscoverySpiTestSuite4: 
CacheCreateDestroyEventSecurityContextTest.testGridClient - PASSED{color}

{panel}
[TeamCity *--> Run :: All* 
Results|https://ci.ignite.apache.org/viewLog.html?buildId=6113550&buildTypeId=IgniteTests24Java8_RunAll]

> Cache_Put event generated from a remote_client user action has subject uuid 
> of Node that executes the request sometimes.
> ------------------------------------------------------------------------------------------------------------------------
>
>                 Key: IGNITE-12781
>                 URL: https://issues.apache.org/jira/browse/IGNITE-12781
>             Project: Ignite
>          Issue Type: Bug
>          Components: security
>    Affects Versions: 2.8
>            Reporter: Veena Mithare
>            Priority: Major
>              Labels: iep-41
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Unable to get the right audit information i.e. we are unable 
> to get the right subject for users logged in through dbeaver ( jdbc thin 
> client. ).
>  
> This is because the subjectid associated with the "CACHE_PUT" 
> event when an update is triggered by the jdbc thin client, contains the uuid 
> of the node that executed the update rather than the logged in jdbc thin 
> client user. 
> This was discussed in the 'Ignite users' group 
> [http://apache-ignite-users.70518.x6.nabble.com/JDBC-thin-client-incorrect-security-context-td31354.html]
> During the  update through jdbc client, there 
> could be 2 kinds of threads acting on it. The 'client-connector' thread and 
> the 'sys-stripe'. If the client-connector thread completes the transaction 
> and calls the record, it is able to send a 'cache_put' event with the uuid 
> of the person logged in to through the jdbc thin client . Whereas if the 
> 'sys-stripe' thread completes the transaction, it sends the 'cache_put' 
> event with the node uuid. 
>  



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

Reply via email to