Jump to content
Changes to the Jaspersoft community edition download ×

  • djohnson53
    • Features: User Authorization Version: v8.2 Product: JasperReports® Server

    Introduction

    Before users can access reports in JasperReports Server, they need to be assigned a user ID and password. Creating roles determines which users can see which repository resources. Users can have multiple roles, and roles can have multiple users. 

    Administrators use the management interface in JasperReports Server to create roles and users. Once users and roles have been defined, administrators will define access control list based access to objects within the repository based on user or role. 

    Product Version

    This tutorial is intended for JasperReports Server v4.5 and later.

    Objectives

    This guide will enable you to:


    Creating Roles

    Follow these steps to create a new role in JasperReports Server.

    1. Log into JasperServer as the Administrator

      Example:

      • username: jasperadmin
      • password: jasperadmin
    2. From the Home page, go to Manage > Roles

    3. From the Manage Roles page, click the Add Role… button just under the search box.

      Manage_Roles_1.png.4fd9bd2f241aa390ea639c7392a9ab21.png

    4. Enter the desired role name in the Role Name (required) textbox

      Manage_Roles_2(1).png.41feb28c88a03b816fe56463d50facc4.png

    5. Click Add Role

      Result: The new roles appear in the Roles section.

      Manage_Roles_3.png.228daf9162844635fab029c5c8d8120f.png

    6. Repeat steps 3 – 5 for any additional desired roles.

    Creating Users

    Follow these steps to create new users. 

    1. From the Home page, go to Manage > Users

    2. From the Manager Users page, click the Add User… button just under the search box.

      Manage_Roles_4.png.2ffb9a35f1b2a0e898e371d7cfaa1dfb.png

    3. Enter the desired User name, User ID (required), Email, and the desired password in both the Password (required) and Confirm Password (required) fields

      Manage_Roles_6.png.1f07d841cb807ea66c762954b7ea47ef.png

      Click the Enable this user checkbox, if it's not checked. (It should be checked by default)

    4. Click Add User

      Result: The new users appear in the Users section.

      Manage_Roles_7.png.83880618b72958cd8ccaf128650e1ce8.png

    5. Repeat steps 2 – 4 for any additional desired users


    Assigning Users

    Follow these steps to assign users to the roles you created.

    1. From the Home page, go to Manage > Users

    2. elect the desired user

    3. Click the Edit button in the Properties section

      Manage_Roles_8.png.b079aee61fce5391ce6a68b0778fd270.png

    4. Two Tabs will appear below the Properties Section Title. One will be named Properties, the other, Attributes.

      Manage_Roles_9.png.ea12cd6ab658d0ea8c7f2a590dc9fba1.png

    5. At the bottom of the Properties Section, there will be two panes, Roles Available and Roles Assigned. Each pane has a search box to find the desired Roles.

      Select the desired role to Assign or De-Assign and use the left and right arrow buttons to move Roles back and forth.

      Manage_Roles_10.png.e2dc565adf7118276d8435029b959519.png

    6. Click the right arrow button in the middle of the form to move the role, Added_Role, to the Roles Assigned: section

      Result: The role appears  in the Roles Assigned: list box

      Manage_Roles_11.png.f955fecfa57ce46cb0143bfc89188148.png

    7. Click Save

    8. Repeat steps 2 – 7 to assign roles to additional users


    What's Next?

    For further information on managing users and roles, see: Chapter Two of the JasperReports Server Professional Administrator Guide (v5.1.0),  see our Documentation section for other versions of the Admin Guide.

    Manage_Roles_1.png.233f19c4e2dfeffdb5daa3be3cf63eb1.png

    Manage_Roles_2(1).png.14432b348436df00d167142fb3734c12.png

    Manage_Roles_3.png.3294a1c146c35f869b8874eaedacbcaf.png

    Manage_Roles_4.png.84cef0b77c3a7d21de575545077c7053.png

    Manage_Roles_6.png.c36ce26cde8ce5928ea038601dde69d2.png

    Manage_Roles_7.png.5e5aed6925653ecba51c0b9a95ff32a4.png

    Manage_Roles_8.png.849b7d10b8d519770773ef05fa1869a8.png

    Manage_Roles_9.png.3d39ec560bc8dbcf41c45264916cffd3.png


    User Feedback

    Recommended Comments

    There are no comments to display.



    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

×
×
  • Create New...