#gg-9809: Remove GridSecureSessionProcessor.

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

Branch: refs/heads/sprint-2
Commit: 928318cee789c4bffd35b4ed84da6d7eb04fbf13
Parents: 364c293
Author: ivasilinets <ivasilin...@gridgain.com>
Authored: Wed Feb 18 12:16:19 2015 +0300
Committer: ivasilinets <ivasilin...@gridgain.com>
Committed: Wed Feb 18 12:16:19 2015 +0300

----------------------------------------------------------------------
 .../GridSecureSessionProcessor.java             | 59 --------------------
 1 file changed, 59 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/928318ce/modules/core/src/main/java/org/apache/ignite/internal/processors/securesession/GridSecureSessionProcessor.java
----------------------------------------------------------------------
diff --git 
a/modules/core/src/main/java/org/apache/ignite/internal/processors/securesession/GridSecureSessionProcessor.java
 
b/modules/core/src/main/java/org/apache/ignite/internal/processors/securesession/GridSecureSessionProcessor.java
deleted file mode 100644
index 550a238..0000000
--- 
a/modules/core/src/main/java/org/apache/ignite/internal/processors/securesession/GridSecureSessionProcessor.java
+++ /dev/null
@@ -1,59 +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.internal.processors.securesession;
-
-import org.apache.ignite.*;
-import org.apache.ignite.internal.processors.*;
-import org.apache.ignite.internal.processors.security.*;
-import org.apache.ignite.plugin.security.*;
-import org.jetbrains.annotations.*;
-
-import java.util.*;
-
-/**
- * This interface defines a grid secure session processor.
- */
-public interface GridSecureSessionProcessor extends GridProcessor {
-    /**
-     * @param subjType Subject type.
-     * @param subjId Subject ID.
-     * @param tok Token.
-     * @param params Parameters.
-     * @return Validated secure session or {@code null} if session is not 
valid.
-     * @throws IgniteCheckedException If error occurred.
-     */
-    public GridSecureSession validateSession(GridSecuritySubjectType subjType, 
UUID subjId, @Nullable byte[] tok,
-        @Nullable Object params) throws IgniteCheckedException;
-
-    /**
-     * Generates secure session token.
-     *
-     * @param subjType Subject type.
-     * @param subjId Subject ID.
-     * @param subjCtx Authentication subject context.
-     * @param params Params.
-     * @return Generated session token.
-     */
-    public byte[] updateSession(GridSecuritySubjectType subjType, UUID subjId, 
GridSecurityContext subjCtx,
-        @Nullable Object params) throws IgniteCheckedException;
-
-    /**
-     * @return GridSecureSessionProcessor is enable.
-     */
-    public boolean enabled();
-}

Reply via email to