summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Drossel2009-01-09 04:51:20 (EST)
committerCarsten Drossel2009-01-09 04:51:20 (EST)
commitb317eab70815b362a79f98fd0288b26118a077ed (patch)
tree58b56f7ada03954c4c2b6ab5fcc6bf38b6e07383
parent3336d46a68d080670b217374576f2f5adbda484e (diff)
downloadorg.eclipse.riena-b317eab70815b362a79f98fd0288b26118a077ed.zip
org.eclipse.riena-b317eab70815b362a79f98fd0288b26118a077ed.tar.gz
org.eclipse.riena-b317eab70815b362a79f98fd0288b26118a077ed.tar.bz2
removed unused class TestPermission which appears to be a duplicate of class TestcasePermission in the tests bundle
-rw-r--r--org.eclipse.riena.security.common/META-INF/MANIFEST.MF1
-rw-r--r--org.eclipse.riena.security.common/src/org/eclipse/riena/security/common/policies/TestPermission.java47
2 files changed, 0 insertions, 48 deletions
diff --git a/org.eclipse.riena.security.common/META-INF/MANIFEST.MF b/org.eclipse.riena.security.common/META-INF/MANIFEST.MF
index 8f2abeb..12da16e 100644
--- a/org.eclipse.riena.security.common/META-INF/MANIFEST.MF
+++ b/org.eclipse.riena.security.common/META-INF/MANIFEST.MF
@@ -13,7 +13,6 @@ Export-Package: org.eclipse.riena.security.common,
org.eclipse.riena.security.common.authentication,
org.eclipse.riena.security.common.authentication.credentials,
org.eclipse.riena.security.common.authorization,
- org.eclipse.riena.security.common.policies,
org.eclipse.riena.security.common.session
Import-Package: org.osgi.service.log;version="1.3.0"
Eclipse-RegisterBuddy: org.eclipse.riena.communication.core
diff --git a/org.eclipse.riena.security.common/src/org/eclipse/riena/security/common/policies/TestPermission.java b/org.eclipse.riena.security.common/src/org/eclipse/riena/security/common/policies/TestPermission.java
deleted file mode 100644
index 99fa704..0000000
--- a/org.eclipse.riena.security.common/src/org/eclipse/riena/security/common/policies/TestPermission.java
+++ /dev/null
@@ -1,47 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2007, 2008 compeople AG and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * compeople AG - initial API and implementation
- *******************************************************************************/
-package org.eclipse.riena.security.common.policies;
-
-import java.security.Permission;
-
-public class TestPermission extends Permission {
-
- public TestPermission(String name) {
- super(name);
- }
-
- @Override
- public boolean equals(Object obj) {
- if (obj instanceof TestPermission) {
- return ((TestPermission) obj).getName().equals(this.getName());
- }
- return false;
- }
-
- @Override
- public String getActions() {
- return null;
- }
-
- @Override
- public int hashCode() {
- return 0;
- }
-
- @Override
- public boolean implies(Permission permission) {
- if (this.equals(permission)) {
- return true;
- }
- return false;
- }
-
-}