#gg-9809: Remove GridOsSecureSessionProcessor.

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

Branch: refs/heads/sprint-2
Commit: 364c293aa548f3a54842b0c54d032219320c6d62
Parents: b70a4d9
Author: ivasilinets <ivasilin...@gridgain.com>
Authored: Wed Feb 18 12:14:14 2015 +0300
Committer: ivasilinets <ivasilin...@gridgain.com>
Committed: Wed Feb 18 12:14:14 2015 +0300

----------------------------------------------------------------------
 .../os/GridOsSecureSessionProcessor.java        | 61 --------------------
 1 file changed, 61 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/364c293a/modules/core/src/main/java/org/apache/ignite/internal/processors/securesession/os/GridOsSecureSessionProcessor.java
----------------------------------------------------------------------
diff --git 
a/modules/core/src/main/java/org/apache/ignite/internal/processors/securesession/os/GridOsSecureSessionProcessor.java
 
b/modules/core/src/main/java/org/apache/ignite/internal/processors/securesession/os/GridOsSecureSessionProcessor.java
deleted file mode 100644
index 6f4f6b2..0000000
--- 
a/modules/core/src/main/java/org/apache/ignite/internal/processors/securesession/os/GridOsSecureSessionProcessor.java
+++ /dev/null
@@ -1,61 +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.os;
-
-import org.apache.ignite.*;
-import org.apache.ignite.internal.*;
-import org.apache.ignite.internal.processors.*;
-import org.apache.ignite.internal.processors.securesession.*;
-import org.apache.ignite.internal.processors.security.*;
-import org.apache.ignite.plugin.security.*;
-import org.jetbrains.annotations.*;
-
-import java.util.*;
-
-/**
- * No-op implementation for {@link GridSecureSessionProcessor}.
- */
-public class GridOsSecureSessionProcessor extends GridProcessorAdapter 
implements GridSecureSessionProcessor {
-    /** Empty bytes. */
-    private static final byte[] EMPTY_BYTES = new byte[0];
-
-    /**
-     * @param ctx Kernal context.
-     */
-    public GridOsSecureSessionProcessor(GridKernalContext ctx) {
-        super(ctx);
-    }
-
-    /** {@inheritDoc} */
-    @Override public GridSecureSession validateSession(GridSecuritySubjectType 
subjType, UUID subjId,
-        @Nullable byte[] tok,
-        @Nullable Object params) throws IgniteCheckedException {
-        return null;
-    }
-
-    /** {@inheritDoc} */
-    @Override public byte[] updateSession(GridSecuritySubjectType subjType, 
UUID subjId, GridSecurityContext subjCtx,
-        @Nullable Object params) {
-        return EMPTY_BYTES;
-    }
-
-    /** {@inheritDoc} */
-    @Override public boolean enabled() {
-        return false;
-    }
-}

Reply via email to