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 go to the User 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
- In the Security > Realm panel, select a realm to which you want to add the user.
- In the Security > User panel, click the Create a New User link.
- In the New User dialog, provide the information for the user as required.
- Click OK, and the user will then be added to the user account table.
Modifying a user account
- In the Security > Realm panel, select the realm in which the user is.
- In the Security > User panel, click the name of the user.
- In the Edit User dialog, edit the user information as required.
- 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:
- In the Security > Realm panel, select the realm in which the user is.
- In the Security > User panel, click the role(s) link of the user.
- In the displayed page, click the Add Roles link.
- In the role table, check the roles that you want to add to the user, then click the Add button.
- 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:
- In the Security > Realm panel, select the realm in which the user is.
- In the Security > User panel, click the group(s) link of the user.
- In the displayed page, click the Add Groups link.
- In the group table, check the groups that you want to add the user to, then click the Add button.
- 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:
- In the Security > Realm panel, select the realm in which the user is.
- In the Security > User panel, click the role(s)/group(s) link of the user.
- 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:
- In the Security > Realm panel, select the realm in which the user is.
- In the Security > User panel, click the Auditing link of the user.
- In the Auditing dialog, specify the events which you want to have audited for this user.
- When done, click OK to accept the changes.
Changing the password of a user
- In the Security > Realm panel, select the realm in which the user is.
- In the Security > User panel, click the Change Password link of the user.
- In the Change Password dialog, specify the password of the current logged in user.
- Specify the new password for the user and confirm it by entering it a second time.
- When done, click OK to accept the changes.
Setting user preferences
- In the Security > Realm panel, select the realm in which the user is.
- In the Security > User panel, click the Preferences link of the user.
- In the Preferences dialog, specifies the server preferences and Page Report Studio preferences for the user accordingly.
- 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.