X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fsal%2Fapi%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fsal%2Fauthorization%2FAppRole.java;fp=opendaylight%2Fsal%2Fapi%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fsal%2Fauthorization%2FAppRole.java;h=0000000000000000000000000000000000000000;hp=ae867c56d3649d9a1567f14450bc1bb59c1b419d;hb=42c32160bfd41de57189bb246fec5ffb48ed8e9e;hpb=edf5bfcee83c750853253ccfd991ba7000f5f65b diff --git a/opendaylight/sal/api/src/main/java/org/opendaylight/controller/sal/authorization/AppRole.java b/opendaylight/sal/api/src/main/java/org/opendaylight/controller/sal/authorization/AppRole.java deleted file mode 100644 index ae867c56d3..0000000000 --- a/opendaylight/sal/api/src/main/java/org/opendaylight/controller/sal/authorization/AppRole.java +++ /dev/null @@ -1,44 +0,0 @@ - -/* - * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v1.0 which accompanies this distribution, - * and is available at http://www.eclipse.org/legal/epl-v10.html - */ - -package org.opendaylight.controller.sal.authorization; - -import java.io.Serializable; - -/** - * Represents a user role level in the application space - * It contains the role name and the role level in the - * application context as specified by {@link AppRoleLevel} - */ -public class AppRole implements Serializable { - private static final long serialVersionUID = 1L; - String name; - AppRoleLevel level; - - public AppRole(String name, AppRoleLevel level) { - this.name = name; - this.level = level; - } - - /** - * Returns the application role name - * @return the string containing the role name - */ - public String getName() { - return name; - } - - /** - * Returns the application role level - * @return the application user level - */ - public AppRoleLevel getLevel() { - return level; - } -} \ No newline at end of file