2 * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 package org.opendaylight.controller.web;
10 import java.util.List;
12 import org.opendaylight.controller.usermanager.UserConfig;
14 public class UserBean {
16 private List<String> roles;
18 public UserBean(String user, List<String> roles) {
23 public UserBean(UserConfig config) {
24 this(config.getUser(), config.getRoles());
27 public String getUser() {
31 public List<String> getRoles() {