Merge "LoginStrategy.java : Fixed sonar issue"
authorManoop Talasila <talasila@research.att.com>
Wed, 12 Sep 2018 16:29:23 +0000 (16:29 +0000)
committerGerrit Code Review <gerrit@onap.org>
Wed, 12 Sep 2018 16:29:23 +0000 (16:29 +0000)
ecomp-portal-BE-os/src/main/java/org/onap/portalapp/authentication/LoginStrategy.java

index d5eae39..dbbf1de 100644 (file)
@@ -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;
 }