From 9dc7627a31efdd7a41ca7a25755e04f6b23d0e07 Mon Sep 17 00:00:00 2001 From: manisha07 Date: Thu, 7 Nov 2019 13:35:03 +0530 Subject: Annotate the "JSONPermLoader" interface with the @FunctionalInterface annotation Issue-ID: AAF-1031 Change-Id: I4619a039ec1dd7e65d1d24744bf88d73da6c7ce3 Signed-off-by: manisha07 --- .../src/main/java/org/onap/aaf/auth/oauth/service/JSONPermLoader.java | 1 + 1 file changed, 1 insertion(+) (limited to 'auth/auth-oauth/src/main/java/org/onap') 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 loadJSONPerms(AuthzTrans trans, String user, Set scopes) throws APIException, CadiException; -- cgit 1.2.3-korg