com.mizar.faces.security
Class SecurityFunction

java.lang.Object
  extended by com.mizar.faces.security.SecurityFunction

public class SecurityFunction
extends java.lang.Object


Constructor Summary
SecurityFunction()
           
 
Method Summary
static boolean hasRole(java.lang.String roleName)
           
static boolean isMemberOfGroup(java.lang.String groupName)
           
static boolean userHasPermission(java.lang.String permissionNames)
           
static boolean userInGroup(java.lang.String groupName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecurityFunction

public SecurityFunction()
Method Detail

userHasPermission

public static boolean userHasPermission(java.lang.String permissionNames)

userInGroup

public static boolean userInGroup(java.lang.String groupName)

isMemberOfGroup

public static boolean isMemberOfGroup(java.lang.String groupName)

hasRole

public static boolean hasRole(java.lang.String roleName)