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 2019/05/06 18:03:03 UTC

[jira] [Commented] (IGNITE-11346) Remote client authentication failed for the CommandHandler in the case where it optional on the server

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

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

{panel:title=--&gt; Run :: All: Possible Blockers|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1}
{color:#d04437}Platform .NET{color} [[tests 5 JVM CRASH , Exit Code |https://ci.ignite.apache.org/viewLog.html?buildId=3767014]]
* exe: PartitionLossTest.TestReadOnlyAll - 73,8% fails in last 149 master runs.
* exe: PartitionLossTest.TestReadWriteAll - 72,5% fails in last 149 master runs.
* exe: PartitionLossTest.TestReadOnlySafe - 70,5% fails in last 149 master runs.
* exe: PartitionLossTest.TestReadWriteSafe - 65,5% fails in last 148 master runs.
* exe: ConsoleRedirectTest.TestMultipleDomains - 47,9% fails in last 142 master runs.

{color:#d04437}Platform .NET (Core Linux){color} [[tests 0 Exit Code |https://ci.ignite.apache.org/viewLog.html?buildId=3767015]]

{color:#d04437}MVCC Cache 7{color} [[tests 3|https://ci.ignite.apache.org/viewLog.html?buildId=3767034]]
* IgniteCacheMvccTestSuite7: WalModeChangeAdvancedSelfTest.testClientReconnect - 0,0% fails in last 142 master runs.

{color:#d04437}Queries 1{color} [[tests 2|https://ci.ignite.apache.org/viewLog.html?buildId=3767020]]
* IgniteBinaryCacheQueryTestSuite: IndexingCachePartitionLossPolicySelfTest.testReadWriteSafeWithBackupsAfterKillThreeNodesWithPersistence[ATOMIC] - 0,7% fails in last 140 master runs.

{color:#d04437}Geospatial Indexing{color} [[tests 1|https://ci.ignite.apache.org/viewLog.html?buildId=3766892]]
* GeoSpatialIndexingTestSuite: H2IndexesSystemViewTest.testIndexesView - 0,0% fails in last 143 master runs.

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

> Remote client authentication failed for the CommandHandler in the case where it optional on the server
> ------------------------------------------------------------------------------------------------------
>
>                 Key: IGNITE-11346
>                 URL: https://issues.apache.org/jira/browse/IGNITE-11346
>             Project: Ignite
>          Issue Type: Bug
>          Components: clients, security, thin client
>    Affects Versions: 2.7
>            Reporter: Maxim Karavaev
>            Priority: Minor
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> h2. Preposition:
> Custom _GridSecurityProcessor_ implementation allows optional authentication. With other words, if some credentials are presents then authentication performed, otherwise - not (some restricted SecurityContext returned). 
> REST API works fine. If credentials are present or the auth request was made then the auth works as desired, if not - it also works but only for some authorized requests.
> h2. The problem:
> _CommandHandler_ which is used for controlling a cluster through the CLI script _command.sh|bat_ doesn't respect credential parameters and sends auth request only in case of authentication exception for a regular request. In the described case of optional authentication it never happens, so the result always depends on the "default" Permissions.
> h2. Possible solution:
> Change _GridClientNioTcpConnection_ to always send first an auth request in case of provided credentials.



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