ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [10/29] incubator-ignite git commit: # IGNITE-222: Remove enterprise checks.
Date Wed, 11 Feb 2015 21:13:22 GMT
# IGNITE-222: Remove enterprise checks.


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

Branch: refs/heads/ignite-92
Commit: b3cf44ba196889340e31a74a678f778572f995a0
Parents: d71f260
Author: vozerov-gridgain <vozerov@gridgain.com>
Authored: Wed Feb 11 12:31:58 2015 +0300
Committer: vozerov-gridgain <vozerov@gridgain.com>
Committed: Wed Feb 11 12:31:58 2015 +0300

----------------------------------------------------------------------
 .../main/java/org/apache/ignite/internal/IgniteKernal.java    | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/b3cf44ba/modules/core/src/main/java/org/apache/ignite/internal/IgniteKernal.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/IgniteKernal.java b/modules/core/src/main/java/org/apache/ignite/internal/IgniteKernal.java
index a6b7737..b598390 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/IgniteKernal.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/IgniteKernal.java
@@ -764,9 +764,7 @@ public class IgniteKernal extends ClusterGroupAdapter implements IgniteEx,
Ignit
                 provider.start(ctx.plugins().pluginContextForProvider(provider), attrs);
             }
 
-            if (ctx.isEnterprise()) {
-                security = new GridSecurityImpl(ctx);
-            }
+            security = new GridSecurityImpl(ctx);
 
             gw.writeLock();
 
@@ -3231,9 +3229,6 @@ public class IgniteKernal extends ClusterGroupAdapter implements IgniteEx,
Ignit
 
     /** {@inheritDoc} */
     @Override public GridSecurity security() {
-        if (!ctx.isEnterprise())
-            throw new UnsupportedOperationException("Security interface available in Enterprise
edition only.");
-
         return security;
     }
 


Mime
View raw message