Class Permissions


  • public class Permissions
    extends Object
    Utility class for checking Permission
    Author:
    Matus Abaffy
    • Field Detail

      • MODIFY_THREAD_GROUP

        public static final Permission MODIFY_THREAD_GROUP
    • Method Detail

      • hasPermission

        public static boolean hasPermission​(Permission permission)
        Determines whether the specified permission is permitted.
        Parameters:
        permission -
        Returns:
        false if the specified permission is not permitted, based on the current security policy; true otherwise