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.
There are two types of admin in the server security system:
There are two types of users in the server security system:
An organization user/group/role can belong to any other non-organization group/role, but a non-organization user/group/role cannot belong to any organization group/role. An organization user/group/role cannot belong to any group/role of other organizations.
Organization admin cannot add users/groups/roles to non-organization groups/roles.
The naming rule of an organization user is composed of the organization name and the user name separated by "\". The format is [Organization Name]\[User Name]. For example, a\b, here "a" is the organization name and "b" is the user name.
If organization is disabled, the organization users/groups/roles will not be supported. However the information will be saved in the server and can be retrieved next time when organization is enabled again.
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:
The system admin can create and delete organizations.
To create an organization:
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.
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
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.
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:
Organization admin can publish resources to the My Reports/Components or Organization Reports/Components folder. For the Public Reports/Components folder, organization admin cannot publish resources, update properties, delete resources, or edit NLS. Meanwhile, the feature of using resources from real path is disabled.
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.
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.
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.