Merge "Bug 616 - Eliminate the use of xtend in md-sal/topology-lldp-discovery"
[controller.git] / opendaylight / netconf / netconf-ssh / src / main / java / org / opendaylight / controller / netconf / ssh / authentication / AuthProviderInterface.java
1
2 /*
3  * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
4  *
5  * This program and the accompanying materials are made available under the
6  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
7  * and is available at http://www.eclipse.org/legal/epl-v10.html
8  */
9 package org.opendaylight.controller.netconf.ssh.authentication;
10
11 import org.opendaylight.controller.usermanager.IUserManager;
12
13 public interface AuthProviderInterface {
14
15     public boolean authenticated(String username, String password) throws Exception;
16     public char[] getPEMAsCharArray() throws Exception;
17     public void removeUserManagerService();
18     public void addUserManagerService(IUserManager userManagerService);
19 }