From: Arundathi Patil Date: Fri, 24 Aug 2018 09:27:54 +0000 (+0530) Subject: LoginStrategy.java : Fixed sonar issue X-Git-Tag: 2.3.0~20^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;ds=sidebyside;h=f545127f41380b51175b639386ae20437a607b0e;p=portal.git 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 --- 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; }