Merge "Added a test for service supervision"
[nonrtric.git] / dashboard / webapp-backend / src / main / java / org / oransc / ric / portal / dashboard / portalapi / PortalAuthManager.java
index f4daa5c..d1e7adf 100644 (file)
@@ -3,6 +3,7 @@
  * O-RAN-SC
  * %%
  * Copyright (C) 2019 AT&T Intellectual Property
+ * Modifications Copyright (C) 2020 Nordix Foundation
  * %%
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -45,9 +46,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);