summaryrefslogtreecommitdiffstats
path: root/shiro/src/main/java/org/onap/aaf/cadi/shiro/AAFAuthorizationInfo.java
diff options
context:
space:
mode:
authorInstrumental <jonathan.gathman@att.com>2019-02-22 16:19:44 -0600
committerInstrumental <jonathan.gathman@att.com>2019-02-22 17:28:05 -0600
commit004851a114cc06933368ffe55fd58f0d010debb0 (patch)
tree87d8df95dba8c038e11f6d59b82205d6cdd5427d /shiro/src/main/java/org/onap/aaf/cadi/shiro/AAFAuthorizationInfo.java
parent4a698c2e3d926fd69673eea8b15a78bc7770a29c (diff)
Choose better Concurrency Object
Issue-ID: AAF-771: Change-Id: I112120d380f34a86890b83889880337199e21f57 Signed-off-by: Instrumental <jonathan.gathman@att.com>
Diffstat (limited to 'shiro/src/main/java/org/onap/aaf/cadi/shiro/AAFAuthorizationInfo.java')
-rw-r--r--shiro/src/main/java/org/onap/aaf/cadi/shiro/AAFAuthorizationInfo.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/shiro/src/main/java/org/onap/aaf/cadi/shiro/AAFAuthorizationInfo.java b/shiro/src/main/java/org/onap/aaf/cadi/shiro/AAFAuthorizationInfo.java
index fc0f4ff..0035626 100644
--- a/shiro/src/main/java/org/onap/aaf/cadi/shiro/AAFAuthorizationInfo.java
+++ b/shiro/src/main/java/org/onap/aaf/cadi/shiro/AAFAuthorizationInfo.java
@@ -73,20 +73,20 @@ public class AAFAuthorizationInfo implements AuthorizationInfo {
@Override
public Collection<String> getRoles() {
- access.log(Level.INFO,"AAFAuthorizationInfo.getRoles");
+ access.log(Level.DEBUG,"AAFAuthorizationInfo.getRoles");
// Until we decide to make Roles available, tie into String based permissions.
return getStringPermissions();
}
@Override
public Collection<String> getStringPermissions() {
- access.log(Level.INFO,"AAFAuthorizationInfo.getStringPermissions");
+ access.log(Level.DEBUG,"AAFAuthorizationInfo.getStringPermissions");
synchronized(bait) {
if(sPerms == null) {
sPerms = new ArrayList<String>();
for(org.onap.aaf.cadi.Permission p : pond) {
sPerms.add(p.getKey().replace("|",":"));
- access.printf(Level.INFO,"the user has %s",p.getKey());
+ access.printf(Level.INFO,"%s has %s",bait.getName(),p.getKey());
}
}
}