#ignite-189: move AuthenticationContext from org.apache.ignite.authentication 
to org.apache.ignite.plugin.security package.


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

Branch: refs/heads/ignite-189
Commit: bd2ce38a73eb6fb3625684c3033eba28a2279968
Parents: 7e6388c
Author: ivasilinets <ivasilin...@gridgain.com>
Authored: Thu Feb 12 20:36:59 2015 +0300
Committer: ivasilinets <ivasilin...@gridgain.com>
Committed: Thu Feb 12 20:36:59 2015 +0300

----------------------------------------------------------------------
 .../authentication/AuthenticationContext.java   | 56 --------------------
 .../security/GridSecurityProcessor.java         |  1 -
 .../security/os/GridOsSecurityProcessor.java    |  1 -
 .../plugin/security/AuthenticationContext.java  | 54 +++++++++++++++++++
 4 files changed, 54 insertions(+), 58 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/bd2ce38a/modules/core/src/main/java/org/apache/ignite/authentication/AuthenticationContext.java
----------------------------------------------------------------------
diff --git 
a/modules/core/src/main/java/org/apache/ignite/authentication/AuthenticationContext.java
 
b/modules/core/src/main/java/org/apache/ignite/authentication/AuthenticationContext.java
deleted file mode 100644
index b02daac..0000000
--- 
a/modules/core/src/main/java/org/apache/ignite/authentication/AuthenticationContext.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.ignite.authentication;
-
-import org.apache.ignite.plugin.security.*;
-
-import java.net.*;
-import java.util.*;
-
-/**
- * Authentication context.
- */
-public interface AuthenticationContext {
-    /**
-     * Gets subject type.
-     *
-     * @return Subject type.
-     */
-    public GridSecuritySubjectType subjectType();
-
-    /**
-     * Gets subject ID.
-     *
-     * @return Subject ID.
-     */
-    public UUID subjectId();
-
-    /**
-     * Gets security credentials.
-     *
-     * @return Security credentials.
-     */
-    public GridSecurityCredentials credentials();
-
-    /**
-     * Gets subject network address.
-     *
-     * @return Subject network address.
-     */
-    public InetSocketAddress address();
-}

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/bd2ce38a/modules/core/src/main/java/org/apache/ignite/internal/processors/security/GridSecurityProcessor.java
----------------------------------------------------------------------
diff --git 
a/modules/core/src/main/java/org/apache/ignite/internal/processors/security/GridSecurityProcessor.java
 
b/modules/core/src/main/java/org/apache/ignite/internal/processors/security/GridSecurityProcessor.java
index 7d82374..1228ebb 100644
--- 
a/modules/core/src/main/java/org/apache/ignite/internal/processors/security/GridSecurityProcessor.java
+++ 
b/modules/core/src/main/java/org/apache/ignite/internal/processors/security/GridSecurityProcessor.java
@@ -21,7 +21,6 @@ import org.apache.ignite.*;
 import org.apache.ignite.cluster.*;
 import org.apache.ignite.internal.processors.*;
 import org.apache.ignite.plugin.security.*;
-import org.apache.ignite.authentication.*;
 import org.jetbrains.annotations.*;
 
 import java.util.*;

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/bd2ce38a/modules/core/src/main/java/org/apache/ignite/internal/processors/security/os/GridOsSecurityProcessor.java
----------------------------------------------------------------------
diff --git 
a/modules/core/src/main/java/org/apache/ignite/internal/processors/security/os/GridOsSecurityProcessor.java
 
b/modules/core/src/main/java/org/apache/ignite/internal/processors/security/os/GridOsSecurityProcessor.java
index bea9f35..0a6f21c 100644
--- 
a/modules/core/src/main/java/org/apache/ignite/internal/processors/security/os/GridOsSecurityProcessor.java
+++ 
b/modules/core/src/main/java/org/apache/ignite/internal/processors/security/os/GridOsSecurityProcessor.java
@@ -24,7 +24,6 @@ import org.apache.ignite.internal.processors.*;
 import org.apache.ignite.internal.processors.security.*;
 import org.apache.ignite.internal.util.typedef.*;
 import org.apache.ignite.plugin.security.*;
-import org.apache.ignite.authentication.*;
 import org.jetbrains.annotations.*;
 
 import java.net.*;

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/bd2ce38a/modules/core/src/main/java/org/apache/ignite/plugin/security/AuthenticationContext.java
----------------------------------------------------------------------
diff --git 
a/modules/core/src/main/java/org/apache/ignite/plugin/security/AuthenticationContext.java
 
b/modules/core/src/main/java/org/apache/ignite/plugin/security/AuthenticationContext.java
new file mode 100644
index 0000000..05a79da
--- /dev/null
+++ 
b/modules/core/src/main/java/org/apache/ignite/plugin/security/AuthenticationContext.java
@@ -0,0 +1,54 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.ignite.plugin.security;
+
+import java.net.*;
+import java.util.*;
+
+/**
+ * Authentication context.
+ */
+public interface AuthenticationContext {
+    /**
+     * Gets subject type.
+     *
+     * @return Subject type.
+     */
+    public GridSecuritySubjectType subjectType();
+
+    /**
+     * Gets subject ID.
+     *
+     * @return Subject ID.
+     */
+    public UUID subjectId();
+
+    /**
+     * Gets security credentials.
+     *
+     * @return Security credentials.
+     */
+    public GridSecurityCredentials credentials();
+
+    /**
+     * Gets subject network address.
+     *
+     * @return Subject network address.
+     */
+    public InetSocketAddress address();
+}

Reply via email to