Maintaining Sun Master Indexes

Define EJB User Roles

EJB user roles control access at the master controller level. Sun Master Index provides a sample role for granting multiple permissions at one time without giving access to all functions. An additional role is predefined, MasterIndex.Admin, that provides access to all functions. You can define additional roles and assign combinations of functional permissions to each role. This way you can assign a user account to one or two roles instead of assigning them several permissions.


Note –

This step is optional. You can use the MasterIndex.Admin role for MIDM users if you only need to restrict access at the presentation level.


ProcedureTo Define an EJB User Role

  1. In the NetBeans Projects window, expand the master index project and then expand Configuration.

  2. Open security.xml in an XML editor.

  3. Define user roles and the permissions that belong to each using the elements described in EJB User Role Properties.

    The permissions you can assign are listed and described in EJB Security Functions.

  4. Save and close the file.

    You can use these roles when you create the user accounts.

  5. Continue to Create Master Index Data Manager User Accounts.