Add tests and adjust code for Sonar rules
[portal/ric-dashboard.git] / webapp-backend / src / main / java / org / oransc / ric / portal / dashboard / portalapi / PortalAuthManager.java
index dc70f7e..2cf55a8 100644 (file)
@@ -45,9 +45,8 @@ public class PortalAuthManager {
        private final String userIdCookieName;
 
        public PortalAuthManager(final String appName, final String username, final String password,
-                       final String decryptorClassName, final String userCookie)
-                       throws ClassNotFoundException, InstantiationException, IllegalAccessException, IllegalArgumentException,
-                       InvocationTargetException, NoSuchMethodException, SecurityException {
+                       final String decryptorClassName, final String userCookie) throws ClassNotFoundException,
+                       InstantiationException, IllegalAccessException, InvocationTargetException, NoSuchMethodException {
                credentialsMap = new HashMap<>();
                credentialsMap.put(IPortalRestCentralService.CREDENTIALS_APP, appName);
                credentialsMap.put(IPortalRestCentralService.CREDENTIALS_USER, username);