summaryrefslogtreecommitdiffstats
path: root/auth/auth-oauth/src/main/java
diff options
context:
space:
mode:
authormanisha07 <cmanis10@in.ibm.com>2019-11-07 13:35:03 +0530
committermanisha07 <cmanis10@in.ibm.com>2019-11-07 13:35:21 +0530
commit9dc7627a31efdd7a41ca7a25755e04f6b23d0e07 (patch)
treee03bd4441bc7a1ca62cabdbae4b806c5385283c5 /auth/auth-oauth/src/main/java
parent333a035c095351e496328ec72c82beb65507e71b (diff)
Annotate the "JSONPermLoader" interface with the @FunctionalInterface annotation
Issue-ID: AAF-1031 Change-Id: I4619a039ec1dd7e65d1d24744bf88d73da6c7ce3 Signed-off-by: manisha07 <cmanis10@in.ibm.com>
Diffstat (limited to 'auth/auth-oauth/src/main/java')
-rw-r--r--auth/auth-oauth/src/main/java/org/onap/aaf/auth/oauth/service/JSONPermLoader.java1
1 files changed, 1 insertions, 0 deletions
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 0126c2e2..a0644fd1 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.auth.layer.Result;
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;