summaryrefslogtreecommitdiffstats
path: root/shiro/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'shiro/src/main/java')
-rw-r--r--shiro/src/main/java/org/onap/aaf/cadi/shiro/AAFRealm.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/shiro/src/main/java/org/onap/aaf/cadi/shiro/AAFRealm.java b/shiro/src/main/java/org/onap/aaf/cadi/shiro/AAFRealm.java
index 006547a..ccdaf73 100644
--- a/shiro/src/main/java/org/onap/aaf/cadi/shiro/AAFRealm.java
+++ b/shiro/src/main/java/org/onap/aaf/cadi/shiro/AAFRealm.java
@@ -89,7 +89,7 @@ public class AAFRealm extends AuthorizingRealm {
String err;
try {
err = authn.validate(upt.getUsername(),password);
- } catch (IOException|CadiException e) {
+ } catch (IOException e) {
err = "Credential cannot be validated";
access.log(e, err);
}
@@ -122,7 +122,7 @@ public class AAFRealm extends AuthorizingRealm {
protected AAFAuthorizationInfo doGetAuthorizationInfo(PrincipalCollection principals) {
access.log(Level.DEBUG, "AAFRealm.doGetAuthenthorizationInfo");
Principal bait = (Principal)principals.getPrimaryPrincipal();
- List<Permission> pond = new ArrayList<Permission>();
+ List<Permission> pond = new ArrayList<>();
authz.fishAll(bait,pond);
return new AAFAuthorizationInfo(access,bait,pond);