ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [08/11] incubator-ignite git commit: #gg-9809: RemoveGridSecureSession.
Date Wed, 18 Feb 2015 10:28:01 GMT
#gg-9809: RemoveGridSecureSession.


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

Branch: refs/heads/ignite-gg-9809
Commit: ec166d7a36fdd8a1a2ea77fa0ab5a196de0b3523
Parents: 928318c
Author: ivasilinets <ivasilinets@gridgain.com>
Authored: Wed Feb 18 12:18:06 2015 +0300
Committer: ivasilinets <ivasilinets@gridgain.com>
Committed: Wed Feb 18 12:18:06 2015 +0300

----------------------------------------------------------------------
 .../securesession/GridSecureSession.java        | 60 --------------------
 1 file changed, 60 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/ec166d7a/modules/core/src/main/java/org/apache/ignite/internal/processors/securesession/GridSecureSession.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/securesession/GridSecureSession.java
b/modules/core/src/main/java/org/apache/ignite/internal/processors/securesession/GridSecureSession.java
deleted file mode 100644
index 4727c54..0000000
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/securesession/GridSecureSession.java
+++ /dev/null
@@ -1,60 +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.internal.processors.security.*;
-import org.apache.ignite.internal.util.typedef.internal.*;
-
-/**
- * Secure session object.
- */
-public class GridSecureSession {
-    /** Authentication subject context returned by authentication SPI. */
-    private GridSecurityContext authSubjCtx;
-
-    /** Session creation time. */
-    private byte[] sesTok;
-
-    /**
-     * @param authSubjCtx Authentication subject context.
-     * @param sesTok Session token.
-     */
-    public GridSecureSession(GridSecurityContext authSubjCtx, byte[] sesTok) {
-        this.authSubjCtx = authSubjCtx;
-        this.sesTok = sesTok;
-    }
-
-    /**
-     * @return Authentication subject context returned by authentication SPI.
-     */
-    public GridSecurityContext authenticationSubjectContext() {
-        return authSubjCtx;
-    }
-
-    /**
-     * @return Session creation time.
-     */
-    public byte[] sessionToken() {
-        return sesTok;
-    }
-
-    /** {@inheritDoc} */
-    @Override public String toString() {
-        return S.toString(GridSecureSession.class, this);
-    }
-}


Mime
View raw message