public class PrincipalUtil extends Object
| Constructor and Description |
|---|
PrincipalUtil() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
checkPermission(ClientPrimaryDataEntity dataentry,
String username,
String methodname)
check in the
dataentry if the username have a
permission methodname |
static boolean |
checkPermission(ClientPrimaryDataEntity dataentry,
String principalname,
String username,
String methodname)
check in the
dataentry if the principalname and
username have a permission methodname |
static Principal |
getInstance(String classname,
String username)
From the
classname and username to get a
Principal Instance |
public static Principal getInstance(String classname, String username)
classname and username to get a
Principal Instancepublic static boolean checkPermission(ClientPrimaryDataEntity dataentry, String principalname, String username, String methodname)
dataentry if the principalname and
username have a permission methodnamepublic static boolean checkPermission(ClientPrimaryDataEntity dataentry, String username, String methodname)
dataentry if the username have a
permission methodnameCopyright © 2013 Leibniz Institute of Plant Genetics and Crop Plant Research (IPK). All rights reserved.