ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akuznet...@apache.org
Subject [07/50] [abbrv] incubator-ignite git commit: ignite-9809 review
Date Tue, 24 Feb 2015 09:26:35 GMT
ignite-9809 review


Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/e1a7c8c8
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/e1a7c8c8
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/e1a7c8c8

Branch: refs/heads/ignite-298
Commit: e1a7c8c89c44b7e9c3068745d23cf17863a0873d
Parents: a7cf457
Author: Yakov Zhdanov <yzhdanov@gridgain.com>
Authored: Wed Feb 18 18:06:40 2015 +0300
Committer: Yakov Zhdanov <yzhdanov@gridgain.com>
Committed: Wed Feb 18 18:06:40 2015 +0300

----------------------------------------------------------------------
 .../apache/ignite/spi/discovery/tcp/TcpDiscoverySpi.java  |  3 ++-
 .../discovery/tcp/TcpDiscoverySpiStartStopSelfTest.java   | 10 ----------
 2 files changed, 2 insertions(+), 11 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/e1a7c8c8/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/TcpDiscoverySpi.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/TcpDiscoverySpi.java
b/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/TcpDiscoverySpi.java
index 73f5505..01f5d86 100644
--- a/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/TcpDiscoverySpi.java
+++ b/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/TcpDiscoverySpi.java
@@ -3517,7 +3517,8 @@ public class TcpDiscoverySpi extends TcpDiscoverySpiAdapter implements
TcpDiscov
                             SecurityContext subj = nodeAuth.authenticateNode(node, cred);
 
                             SecurityContext coordSubj = ignite.configuration().getMarshaller().unmarshal(
-                                node.<byte[]>attribute(IgniteNodeAttributes.ATTR_SECURITY_SUBJECT),
U.gridClassLoader());
+                                node.<byte[]>attribute(IgniteNodeAttributes.ATTR_SECURITY_SUBJECT),
+                                U.gridClassLoader());
 
                             if (!permissionsEqual(coordSubj.subject().permissions(), subj.subject().permissions()))
{
                                 // Node has not pass authentication.

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/e1a7c8c8/modules/core/src/test/java/org/apache/ignite/spi/discovery/tcp/TcpDiscoverySpiStartStopSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/spi/discovery/tcp/TcpDiscoverySpiStartStopSelfTest.java
b/modules/core/src/test/java/org/apache/ignite/spi/discovery/tcp/TcpDiscoverySpiStartStopSelfTest.java
index db5837b..361aefd 100644
--- a/modules/core/src/test/java/org/apache/ignite/spi/discovery/tcp/TcpDiscoverySpiStartStopSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/spi/discovery/tcp/TcpDiscoverySpiStartStopSelfTest.java
@@ -53,14 +53,4 @@ public class TcpDiscoverySpiStartStopSelfTest extends GridSpiStartStopAbstractTe
             }
         };
     }
-
-    /**
-     * Discovery SPI authenticator.
-     *
-     * @return Authenticator.
-     */
-    @GridSpiTestConfig
-    public DiscoverySpiNodeAuthenticator getAuthenticator() {
-        return null;
-    }
 }


Mime
View raw message