Bug 460 - Fix warning throughout netconf subsystem
[controller.git] / opendaylight / netconf / netconf-ssh / src / main / java / org / opendaylight / controller / netconf / ssh / authentication / AuthProviderInterface.java
index 71f1cc350fda1d5d829cb101798d208eaf1bc906..fad0f79a4e7b9eb5d883b3d8086bd046343e4f6d 100644 (file)
@@ -12,8 +12,8 @@ import org.opendaylight.controller.usermanager.IUserManager;
 
 public interface AuthProviderInterface {
 
-    public boolean authenticated(String username, String password) throws Exception;
-    public char[] getPEMAsCharArray();
+    public boolean authenticated(String username, String password) throws IllegalStateException;
+    public char[] getPEMAsCharArray() throws Exception;
     public void removeUserManagerService();
     public void addUserManagerService(IUserManager userManagerService);
 }