Merge "Fix sql injection vulnerability"
[portal.git] / ecomp-portal-BE-common / src / main / java / org / onap / portalapp / portal / service / BasicAuthAccountService.java
index 2b3c3f3..d32229d 100644 (file)
@@ -33,7 +33,7 @@
  *
  * ============LICENSE_END============================================
  *
- * ECOMP is a trademark and service mark of AT&T Intellectual Property.
+ * 
  */
 package org.onap.portalapp.portal.service;
 
@@ -98,4 +98,14 @@ public interface BasicAuthAccountService {
         * @throws Exception
         */
        void updateBasicAuthAccount(Long accountId, BasicAuthCredentials newCredential) throws Exception;
+       
+       /**
+        * Returns  BasicAuthenticationAccount 
+        * 
+        * @param accountId
+        * @return BasicAuthCredentials
+        * @throws Exception
+        */
+       
+       BasicAuthCredentials getBasicAuthCredentialsById(long id) throws Exception;
 }