aboutsummaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authork.kedron <k.kedron@partner.samsung.com>2019-04-29 12:23:32 +0200
committerk.kedron <k.kedron@partner.samsung.com>2019-04-30 14:06:40 +0200
commit585b1477660b8f905b9ac2fd33c9f95a6c3f7c36 (patch)
tree74e2379f00fa7b390fb4c7355beed73daebab0a3 /src/main
parenta2ff5a535fde07f7ce367be1dc9bc956b6ad8434 (diff)
Added more unit tests and fix import
Added more unit tests to the AuthorizationControllerCase Fix import in the AuthorizationController class Change-Id: I197015f522b3f07963cec2a23d568ed8b943f504 Issue-ID: CLAMP-355 Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com>
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/org/onap/clamp/authorization/AuthorizationController.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/org/onap/clamp/authorization/AuthorizationController.java b/src/main/java/org/onap/clamp/authorization/AuthorizationController.java
index 4a35f4583..2e43495b7 100644
--- a/src/main/java/org/onap/clamp/authorization/AuthorizationController.java
+++ b/src/main/java/org/onap/clamp/authorization/AuthorizationController.java
@@ -30,7 +30,7 @@ import com.att.eelf.configuration.EELFManager;
import java.util.Date;
-import javax.ws.rs.NotAuthorizedException;
+import org.onap.clamp.clds.exception.NotAuthorizedException;
import org.apache.camel.Exchange;
import org.onap.clamp.clds.config.ClampProperties;
@@ -57,7 +57,7 @@ public class AuthorizationController {
@Autowired
private ClampProperties refProp;
- private static final String PERM_PREFIX = "security.permission.type.";
+ public static final String PERM_PREFIX = "security.permission.type.";
private static final String PERM_INSTANCE = "security.permission.instance";
/**