diff options
Diffstat (limited to 'auth/auth-core/src/main')
3 files changed, 4 insertions, 4 deletions
diff --git a/auth/auth-core/src/main/java/org/onap/aaf/auth/env/AuthzTrans.java b/auth/auth-core/src/main/java/org/onap/aaf/auth/env/AuthzTrans.java index a38a3e20..bd66ff66 100644 --- a/auth/auth-core/src/main/java/org/onap/aaf/auth/env/AuthzTrans.java +++ b/auth/auth-core/src/main/java/org/onap/aaf/auth/env/AuthzTrans.java @@ -63,7 +63,7 @@ public interface AuthzTrans extends TransStore { public abstract void setLur(Lur lur); - public abstract boolean fish(Permission p); + public abstract boolean fish(Permission ... p); public abstract Organization org(); diff --git a/auth/auth-core/src/main/java/org/onap/aaf/auth/env/AuthzTransImpl.java b/auth/auth-core/src/main/java/org/onap/aaf/auth/env/AuthzTransImpl.java index 2ca8dfd7..ccfd715f 100644 --- a/auth/auth-core/src/main/java/org/onap/aaf/auth/env/AuthzTransImpl.java +++ b/auth/auth-core/src/main/java/org/onap/aaf/auth/env/AuthzTransImpl.java @@ -166,9 +166,9 @@ public class AuthzTransImpl extends BasicTrans implements AuthzTrans { } @Override - public boolean fish(Permission p) { + public boolean fish(Permission ... pond) { if(lur!=null) { - return lur.fish(user, p); + return lur.fish(user, pond); } return false; } diff --git a/auth/auth-core/src/main/java/org/onap/aaf/auth/env/NullTrans.java b/auth/auth-core/src/main/java/org/onap/aaf/auth/env/NullTrans.java index 13f6551b..fb9d628c 100644 --- a/auth/auth-core/src/main/java/org/onap/aaf/auth/env/NullTrans.java +++ b/auth/auth-core/src/main/java/org/onap/aaf/auth/env/NullTrans.java @@ -195,7 +195,7 @@ public class NullTrans implements AuthzTrans { } @Override - public boolean fish(Permission p) { + public boolean fish(Permission ... p) { return false; } |