Interface TypePermission

    • Method Detail

      • allows

        boolean allows​(java.lang.Class type)
        Check permission for a provided type.
        Parameters:
        type - the type to check
        Returns:
        true if provided type is allowed, false if permission does not handle the type
        Throws:
        ForbiddenClassException - if provided type is explicitly forbidden
        Since:
        1.4.7