Administrators create and manage all users in the server, including creating other administrators, as described in Delegated Administration.
The default installation of JasperReports Server includes the following users:
Default Users after Installation
User Name
Default Password
(case sensitive)
Description
jasperadmin
jasperadmin
Default administrator.
joeuser
joeuser
Default end user.
anonymousUser
anonymoususer
Allows anonymous login; disabled by default. If you do not allow anonymous access, this user can be deleted.
| You should advise your users to change their passwords regularly. To configure periodic expiration of passwords, refer to the JasperReports Server Security Guide. |
Viewing User Properties
| 1. | Log in as an administrator (jasperadmin). |
| 2. | Select Manage > Users . The Manage Users page displays the users and properties of the selected user. |
|
Manage Users Page |
The columns in the Users panel list the user ID and the user name of each user in the server
| • | Browse for users – Scroll through the list of users if it is too long to fit on your screen. |
| • | Search for a user – Enter a search string in the Search field of the Users panel. The search results show all user ID or names that match the search string. |
| 4. | Select a user account to view its Properties in the right-hand panel. |
User status can be Enabled or Disabled; disabled users are displayed in gray text in the Users list. For convenience, the role names link to the role management page for each role. For information about attributes on the user, see Managing User Attributes.
Creating a User
| 1. | Log in as an administrator (jasperadmin). |
| 2. | Select Manage > Users. |
| 3. | Click Add User. The Add User dialog appears. |
Adding a User |
|
| 4. | Enter the following information: |
| • | User name – The new user's full name. The name is optional but recommended; It will appear in the menu bar of the UI when the user is logged in. |
| • | User ID – Generated automatically from the user name; you can accept the suggested value or type your own. The user ID is used to log into JasperReports Server, and for administrators to manage users and resources. The User ID must be unique. |
| • | Email – This is optional but must be in a valid email format. |
| • | Password and confirmation – Enter and confirm a password for the user. |
| • | User is enabled – To enable the user to log in, select this check box. Users who are not enabled can't log in. If you implement role-based permissions, you might want to delay enabling the user until you assign more roles. For more information on roles, see Managing Roles. |
The new user is available in the Users panel. To assign roles to the user, click Edit in the user's Properties panel.
Editing a User
One way to assign roles to a user is to edit the user's properties. Alternatively, when you edit a role, you can assign it to any number of users. To edit a user's properties:
| 1. | Log in as an administrator (jasperadmin). |
| 3. | In the Users panel, select the user. |
| 4. | In the user's Properties panel, click Edit. |
|
Editing the Properties of a User |
| 5. | Edit the user's properties as needed. You can't edit the user ID; it always has the value defined when the user was created originally. |
| 6. | To assign or remove roles from the user, select the roles, and use the arrow buttons between the Roles Available and Roles Assigned lists. |
| 8. | Click Save to keep your changes. |
| 9. | In the Properties panel, click Login as User to test the user's permissions, as explained in Testing User Permissions. |
Logging in as another user is also necessary when you are maintaining resources that use absolute references in the repository. For more information, see Referencing Resources in the Repository.
Enabling or Disabling Multiple Users
You may sometimes need to disable user accounts. For example, when making configuration changes, you may want to lock out all users until the changes are finished. The administrator (jasperadmin) can select any number or all of the users, except himself.
| 1. | Log in as an administrator (jasperadmin). |
| 3. | In the Users list, use Control-click and Shift-click to make multiple selections. If the User list is too long, enter a search term to find users and enable or disable them individually. |
| 4. | Click Enable or Disable in the menu bar. |
Deleting One or More Users
| 1. | Log in as an administrator (jasperadmin). |
| 3. | In the Users list, use Control-click and Shift-click to make multiple selections. If the list of users is too long, enter a search term to find and select the user. |
| 4. | In the tool bar of the Users panel, click Delete and confirm the action. |
Recommended Comments
There are no comments to display.