3 * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
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
10 package org.opendaylight.controller.usermanager;
13 * IAAAProvider exposes a pluggable interface for 3rd party Authentication and Authorization
14 * providers to support the UserManager with AAA management.
17 public interface IAAAProvider {
20 * Authenticate user with AAA server and return authentication and authorization info
21 * using the Provider's mechanism
26 * @return Authentication and Authorization Response
28 public AuthResponse authService(String userName, String password,
29 String server, String secretKey);
32 * Returns the Name of the Provider
34 * @return Name of the AAA provider
36 public String getName();