Package org.apache.shiro.util
Class PermissionUtils
- java.lang.Object
-
- org.apache.shiro.util.PermissionUtils
-
public class PermissionUtils extends Object
Utility class to help with String-to-Permission object resolution.- Since:
- 0.1
-
-
Constructor Summary
Constructors Constructor Description PermissionUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Set<Permission>
resolveDelimitedPermissions(String s, PermissionResolver permissionResolver)
static Set<Permission>
resolvePermissions(Collection<String> permissionStrings, PermissionResolver permissionResolver)
static Set<String>
toPermissionStrings(String permissionsString)
-
-
-
Method Detail
-
resolveDelimitedPermissions
public static Set<Permission> resolveDelimitedPermissions(String s, PermissionResolver permissionResolver)
-
resolvePermissions
public static Set<Permission> resolvePermissions(Collection<String> permissionStrings, PermissionResolver permissionResolver)
-
-