Managing user accounts

To manage user accounts, you must be a member of the administrator role in order to access the JReport Administration page. Then, on the JReport Administration page, click Security on the system toolbar and select User from the drop-down menu to display the Use panel, where you can manage the user accounts as required. See the panel.

The following topics describe how to manage a user account.

Creating a new user account

  1. In the Security > Realm panel, select a realm to which you want to add the user.
  2. In the Security > User panel, click the Create a New User link.
  3. In the New User dialog, provide the information for the user as required.
  4. Click OK, and the user will then be added to the user account table.

Modifying a user account

  1. In the Security > Realm panel, select the realm in which the user is.
  2. In the Security > User panel, click the name of the user.
  3. In the Edit User dialog, edit the user information as required.
  4. When done, click OK to accept the changes.

Adding roles to a user

A user can be assigned more than one role. A user that holds multiple roles has all the privileges that these roles have.

To add roles to a user:

  1. In the Security > Realm panel, select the realm in which the user is.
  2. In the Security > User panel, click the role(s) link of the user.
  3. In the displayed page, click the Add Roles link.
  4. In the role table, check the roles that you want to add to the user, then click the Add button.
  5. Click Security > User to return to the user list.

Adding a user to groups

A user can be assigned to more than one group. A user that belongs to multiple groups has all the privileges that these groups have.

To add a user to some groups:

  1. In the Security > Realm panel, select the realm in which the user is.
  2. In the Security > User panel, click the group(s) link of the user.
  3. In the displayed page, click the Add Groups link.
  4. In the group table, check the groups that you want to add the user to, then click the Add button.
  5. Click Security > User to return to the user list.

Removing roles/groups from a user

If you want to remove certain roles a user holds, or some groups a user belongs to from a user, follow the steps below:

  1. In the Security > Realm panel, select the realm in which the user is.
  2. In the Security > User panel, click the role(s)/group(s) link of the user.
  3. In the roles/groups table of the user, check the roles/groups you want to remove, then click the Remove button.

Once a role or group is removed from a user, the user will no longer have the privileges the role or group has.

Auditing a specific user

You can have the server to audit a user, and the resulting information will be written into the log files.

To audit a user:

  1. In the Security > Realm panel, select the realm in which the user is.
  2. In the Security > User panel, click the Auditing link of the user.
  3. In the Auditing dialog, specify the events which you want to have audited for this user.
  4. When done, click OK to accept the changes.

Changing the password of a user

  1. In the Security > Realm panel, select the realm in which the user is.
  2. In the Security > User panel, click the Change Password link of the user.
  3. In the Change Password dialog, specify the password of the current logged in user.
  4. Specify the new password for the user and confirm it by entering it a second time.
  5. When done, click OK to accept the changes.

Setting user preferences

  1. In the Security > Realm panel, select the realm in which the user is.
  2. In the Security > User panel, click the Preferences link of the user.
  3. In the Preferences dialog, specifies the server preferences and Page Report Studio preferences for the user accordingly.
  4. When done, click OK to accept the changes.

Deleting a user account

If you find a user account is no longer required, you can delete it by clicking the corresponding Delete link in the Control column of the user account table. However, the built-in user accounts, such as admin and guest, and users that hold roles other than the everyone role, or that belong to any group, cannot be deleted. A user cannot delete himself from the user list either.