Managing organizations

JReport Server administrator can organize users into different organizations with the organization feature (also called multi-tenancy). An organization is a group of users that has its own administrator.

Organization is a separately licensed feature of JReport Server. It is installed together with JReport Server so only the license key needs to be updated to enable it to work. To find out how to license Organization, please contact Jinfonet sales at sales@jinfonet.com or contact your Enterprise Account Manager.

When organization is enabled, you need to specify the organization name before logging in JReport Server. The available organizations are listed in the drop-down list for selection. The organization item System means that the login user is a non-organization user. For organization users, the correct organization name must be provided, otherwise they cannot log in.

When organization is disabled, only non-organization users can log in.

Organization definitions

There are two types of admin in the server security system:

There are two types of users in the server security system:

There are two types of public resources in the server resource system:

Within each organization, there is a built-in admin and two built-in roles:

Creating organizations

The system admin can create and delete organizations.

To create an organization:

  1. On the JReport Administration page, click Configuration on the system toolbar and then select Organizations from the drop-down menu.
  2. In the Organizations panel, click the Create link. The Create Organization dialog appears. See the dialog.
  3. Specify the name of the organization, the maximum number of users allowed in the organization, and the description about the organization, then click OK.

    The organization will be created and listed in the Organizations panel.

In the Organizations panel, the system admin can further edit the maximum number of users in the organizations, or delete the organizations that are not required.

Allocating server resources to organizations

System admin can allocate server resources to different organizations, then when one organization encounters report running performance problems, the other organizations will not be affected. The server resources include maximum concurrent users/reports, maximum disk/memory size, whether to cache catalogs, reports, or images used in the organization and the maximum memory size for them as well as for cached report data and cube, and whether to compress swap files so as to reduce I/O time by increasing CPU usage.

Allocating server resources via UI

  1. In the Organizations panel, click the Resource Allocation link in the Control column of the organization in the organization table. The Resource Allocation dialog appears. See the dialog.
  2. Configure the settings as required.
  3. Click OK to finish allocating resources to the organization.

Allocating server resources by modifying the property file

System admin can also modify the organization_config.properties file in the <install_root>\properties folder directly. The property file provides default values to all newly created organizations.

For information about which property is mapped to which option in the Resource Allocation dialog, see Appendix 4: Mapping list of UI options and properties.

JReport Administration page for organization admin

After the system admin create an organization, the organization admin of the organization will be able to log in JReport Server by the default user name admin and the default password admin.

The JReport Administration page contains the following tabs on the system toolbar for organization admin:

JReport Console page for organization users

The Resources tab on the Console page contains two additional folders under the root directory: Organization Reports and Organization Components. They are used to put reports and library components used by users in the organization.

Organization users cannot see any information about physical disk or import resources from real path. For the Public Reports/Components folder, organization users cannot publish resources, update properties, or delete resources. Organization users can run and edit reports, dashboards, Visual Analysis templates in the Public Reports folder, but cannot save the changes directly into the existing resources or into the Public Reports folder. However, they can make use of the Save As function.

Server log

Each organization has its own log files.

In the <server_install_root>\logs folder there are some .log files, they are for non-organization logs. For each organization there is a specific folder using the organization name and containing a set of log files for the organization.

When system admin defines detail settings about server log (log level, etc.), the settings will be applied to all organizations.

Connecting to JReport Server from JReport Designer

In JReport Designer, when publishing resources to JReport Server or synchronizing server users for CLS/RLS/MLS, you need to connect to the server firstly. In the Connect to JReport Server dialog, User Name should include the organization name when organization is enabled and when the user is a privileged organization user. Use \ to separate the organization name and the user name, for example, org1\user1. An organization user can publish resources to the My Reports/Components or Organization Reports/Components folder.