Class SecurityUtilAcl

java.lang.Object
org.zkoss.spring.security.SecurityUtilAcl

public class SecurityUtilAcl extends Object
  • Constructor Details

    • SecurityUtilAcl

      public SecurityUtilAcl()
  • Method Details

    • isAccessible

      public static boolean isAccessible(String hasPermission, Object domainObject)
      Return true if the current Authentication has one of the specified permissions to the presented domain object instance.
      Parameters:
      hasPermission - A comma separated list of integers, each representing a required bit mask permission from a subclass of BasePermission.
      domainObject - The actual domain object instance for which permissions are being evaluated.
      Returns:
      true if current Authentication has one of the specified permission to the presented domain object instance.