public class Permissions extends Object
Modifier and Type | Method and Description |
---|---|
static List<String> |
getPermissionsAsStrings(Map<String,Set<String>> attributes) |
static Map<String,Set<String>> |
parsePermissionsFromString(List<String> permStrings) |
static Map<String,Set<String>> |
parsePermissionsFromString(String... permStrings)
Parses a string array representation of permission attributes into a map
|
public static Map<String,Set<String>> parsePermissionsFromString(List<String> permStrings)
public static Map<String,Set<String>> parsePermissionsFromString(String... permStrings)
permStrings
- array of permission strings in the format "permName=val1,val2"This work is licensed under a Creative Commons Attribution 4.0 International License.