public static Set<String> toPermissionStrings(String permissionsString) {
        String[] tokens = StringUtils.split(permissionsString);
        if (tokens != null && tokens.length > 0) {
            return new LinkedHashSet<String>(Arrays.asList(tokens));
        }
        return null;
    }
Utility class to help with String-to-Permission object resolution.

@since 0.1
core/src/main/java/org/apache/shiro/util/PermissionUtils.java