summaryrefslogtreecommitdiffstats
path: root/policy-endpoints/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'policy-endpoints/src/main')
-rw-r--r--policy-endpoints/src/main/java/org/onap/policy/common/endpoints/http/server/AuthorizationFilter.java2
-rw-r--r--policy-endpoints/src/main/java/org/onap/policy/common/endpoints/http/server/HttpServletServerFactory.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/policy-endpoints/src/main/java/org/onap/policy/common/endpoints/http/server/AuthorizationFilter.java b/policy-endpoints/src/main/java/org/onap/policy/common/endpoints/http/server/AuthorizationFilter.java
index 8ddf305f..cb58371f 100644
--- a/policy-endpoints/src/main/java/org/onap/policy/common/endpoints/http/server/AuthorizationFilter.java
+++ b/policy-endpoints/src/main/java/org/onap/policy/common/endpoints/http/server/AuthorizationFilter.java
@@ -53,7 +53,7 @@ public abstract class AuthorizationFilter implements Filter {
String role = getRole(request);
boolean authorized = request.isUserInRole(role);
- logger.info("user {} in role {} is {}authorized to {}",
+ logger.info("user {} in role {} is {}authorized to {}",
request.getUserPrincipal().getName(), role, ((authorized) ? "" : "NOT "), request.getMethod());
if (!authorized) {
diff --git a/policy-endpoints/src/main/java/org/onap/policy/common/endpoints/http/server/HttpServletServerFactory.java b/policy-endpoints/src/main/java/org/onap/policy/common/endpoints/http/server/HttpServletServerFactory.java
index b5c701ac..b98ed180 100644
--- a/policy-endpoints/src/main/java/org/onap/policy/common/endpoints/http/server/HttpServletServerFactory.java
+++ b/policy-endpoints/src/main/java/org/onap/policy/common/endpoints/http/server/HttpServletServerFactory.java
@@ -230,7 +230,7 @@ class IndexedHttpServletServerFactory implements HttpServletServerFactory {
+ serviceName + PolicyEndPointProperties.PROPERTY_AAF_SUFFIX);
boolean aaf = false;
if (aafString != null && !aafString.isEmpty()) {
- aaf = Boolean.parseBoolean(httpsString);
+ aaf = Boolean.parseBoolean(aafString);
}
HttpServletServer service = build(serviceName, https, hostName, servicePort, contextUriPath, swagger, managed);