diff options
author | 2018-08-24 14:57:54 +0530 | |
---|---|---|
committer | 2018-08-24 14:59:14 +0530 | |
commit | f545127f41380b51175b639386ae20437a607b0e (patch) | |
tree | a82d41cb7406718de4f896a4d98bda1946c5c5f0 /ecomp-portal-BE-os/src/main/java | |
parent | 3456ee097bc42c929f20d8bf530930f223dd6ff9 (diff) |
LoginStrategy.java : Fixed sonar issue
Fixed sonar issue, annotate interface with @FunctionalInterface
annotation
Issue-ID: PORTAL-374
Change-Id: I30472b6c18ef350b687d74acce4545c250462f6d
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
Diffstat (limited to 'ecomp-portal-BE-os/src/main/java')
-rw-r--r-- | ecomp-portal-BE-os/src/main/java/org/onap/portalapp/authentication/LoginStrategy.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ecomp-portal-BE-os/src/main/java/org/onap/portalapp/authentication/LoginStrategy.java b/ecomp-portal-BE-os/src/main/java/org/onap/portalapp/authentication/LoginStrategy.java index d5eae39c..dbbf1de1 100644 --- a/ecomp-portal-BE-os/src/main/java/org/onap/portalapp/authentication/LoginStrategy.java +++ b/ecomp-portal-BE-os/src/main/java/org/onap/portalapp/authentication/LoginStrategy.java @@ -3,6 +3,8 @@ * ONAP Portal * =================================================================== * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. + * + * Modifications Copyright (C) 2018 IBM. * =================================================================== * * Unless otherwise specified, all software contained herein is licensed @@ -40,6 +42,7 @@ package org.onap.portalapp.authentication; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; +@FunctionalInterface public interface LoginStrategy { public boolean login(HttpServletRequest request, HttpServletResponse response) throws Exception; } |