org.apache.shiro.util
Class PermissionUtils

java.lang.Object
  extended by 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
PermissionUtils()
           
 
Method Summary
static Set<Permission> resolveDelimitedPermissions(String s, PermissionResolver permissionResolver)
           
static Set<Permission> resolvePermissions(Collection<String> permissionStrings, PermissionResolver permissionResolver)
           
static Set<String> toPermissionStrings(String permissionsString)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PermissionUtils

public PermissionUtils()
Method Detail

resolveDelimitedPermissions

public static Set<Permission> resolveDelimitedPermissions(String s,
                                                          PermissionResolver permissionResolver)

toPermissionStrings

public static Set<String> toPermissionStrings(String permissionsString)

resolvePermissions

public static Set<Permission> resolvePermissions(Collection<String> permissionStrings,
                                                 PermissionResolver permissionResolver)


Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.