From 585b1477660b8f905b9ac2fd33c9f95a6c3f7c36 Mon Sep 17 00:00:00 2001 From: "k.kedron" Date: Mon, 29 Apr 2019 12:23:32 +0200 Subject: 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 --- .../java/org/onap/clamp/authorization/AuthorizationController.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main') diff --git a/src/main/java/org/onap/clamp/authorization/AuthorizationController.java b/src/main/java/org/onap/clamp/authorization/AuthorizationController.java index 4a35f458..2e43495b 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"; /** -- cgit 1.2.3-korg