[AAI-2787] | Update AAI UI with portal sdk 2.6.0
[aai/sparky-be.git] / sparkybe-onap-service / src / main / java / org / onap / aai / sparky / security / portal / PortalRestAPIServiceImpl.java
index 0835b7b..7a71fbc 100644 (file)
@@ -187,8 +187,13 @@ public class PortalRestAPIServiceImpl implements IPortalRestAPIService {
    * (non-Javadoc)
    *
    */
-  @Override
+  @Deprecated
   public boolean isAppAuthenticated(HttpServletRequest request) throws PortalAPIException {
+    return isAppAuthenticated(request,null);
+  }
+
+  @Override
+  public boolean isAppAuthenticated(HttpServletRequest request,Map<String, String> paramMap) throws PortalAPIException {
     LOG.debug("Authentication request");
     PortalAuthenticationConfig config = PortalAuthenticationConfig.getInstance();
     String restUsername = request.getHeader(PortalAuthenticationConfig.PROP_USERNAME);