commit | 9dc7627a31efdd7a41ca7a25755e04f6b23d0e07 | [log] [tgz] |
---|---|---|
author | manisha07 <cmanis10@in.ibm.com> | Thu Nov 07 13:35:03 2019 +0530 |
committer | manisha07 <cmanis10@in.ibm.com> | Thu Nov 07 13:35:21 2019 +0530 |
tree | e03bd4441bc7a1ca62cabdbae4b806c5385283c5 | |
parent | 333a035c095351e496328ec72c82beb65507e71b [diff] |
Annotate the "JSONPermLoader" interface with the @FunctionalInterface annotation Issue-ID: AAF-1031 Change-Id: I4619a039ec1dd7e65d1d24744bf88d73da6c7ce3 Signed-off-by: manisha07 <cmanis10@in.ibm.com>
diff --git a/auth/auth-oauth/src/main/java/org/onap/aaf/auth/oauth/service/JSONPermLoader.java b/auth/auth-oauth/src/main/java/org/onap/aaf/auth/oauth/service/JSONPermLoader.java index 0126c2e..a0644fd 100644 --- a/auth/auth-oauth/src/main/java/org/onap/aaf/auth/oauth/service/JSONPermLoader.java +++ b/auth/auth-oauth/src/main/java/org/onap/aaf/auth/oauth/service/JSONPermLoader.java
@@ -28,6 +28,7 @@ import org.onap.aaf.cadi.CadiException; import org.onap.aaf.misc.env.APIException; +@FunctionalInterface public interface JSONPermLoader { public Result<String> loadJSONPerms(AuthzTrans trans, String user, Set<String> scopes) throws APIException, CadiException;