### Security dialog

To access the Security dialog, click Security on the system toolbar of the JReport Administration page.

There are six tabs in the Security dialog as listed below. Use each tab to set the settings according to your requirements.

- Realm tab
- User tab
- Group tab
- Role tab
- Privilege tab
- Alias tab

#### Realm tab

This tab allows you to manage realms in JReport Enterprise Server. See the tab.

Create a New Realm

Creates a realm in the New Realm dialog.

Name

Displays the names of the existing realms.

State

Displays the states of the existing realms: Active Realm or Selected Realm. Active Realm means that the realm is the current active realm, and Selected Realm means the realm is the current editing realm in the Security dialog.

Control

Controls the realms.

- Select
  Sets the specified realm to be the current editing realm.
- Delete
  Deletes the specified realm.

#### User tab

This tab allows you to manage users in JReport Enterprise Server. See the tab.

Create a New User

Opens the New User dialog to create a user.

User ID

Lists the users' IDs. You can view and edit user properties by clicking the underlined user IDs.

Full Name

Displays the user's full names. Full name is a property of a user.

Edit Role(s)

Edits the role(s) of the specified user by clicking the underlined role(s).

- Name
  Lists the names of the roles that the user holds.
- Built-in
  Specifies whether the role is a built-in role.
- Remove
  Removes the specified roles from the role list.
- Add Roles
  Lists the roles that can be assigned to the user.
  - Add
    Adds the specified roles to the user.

Edit Group(s)

Edits the group(s) of the specific user by clicking the underlined group(s).

- Name
  Lists the names of the groups that the user belongs to.
- Remove
  Removes the user from the specified groups.
- Add Groups
  Lists the groups that the user can be added to.
  - Add
    Adds the user to the specified groups.

Authentication

Specifies users' authentication type: Local or LDAP.

Auditing

Opens the Auditing dialog to audit the specified user.

Change Password

Opens the Change Password dialog to change the password of the specific user.

Preferences

Opens the Preferences dialog to set preferences for the specific user. For details about the preference settings, refer to Profile dialog.

Delete

Deletes the specified user. The built-in user accounts admin and guest cannot be deleted.

#### Group tab

This tab allows you to manage groups in JReport Enterprise Server. See the tab.

Create a New Group

Creates a group in the New Group dialog.

Name

Lists the group names. You can view and edit group properties by clicking the underlined group name.

Members

Edits member(s) of the specified group by clicking the underlined member(s).

- Name
  Lists the names of the members that the group holds.
- Type
  Specifies the type of the members that the group holds.
- Authentication
  Specifies the group members' authentication type: Local or LDAP.
- Remove
  Removes the specified members from the group.
- Add Members
  Shows the members that can be added to the group.

Control

Controls the groups.

- Delete
  Deletes the specified group. Groups that have child members or parent members cannot be deleted.

#### Role tab

This tab allows you to manage roles in JReport Enterprise Server. See the tab.

Create a New Role

Creates a role in the New Role dialog.

Name

Lists the role names. You can view and edit role properties by clicking the underlined role name.

Members

Edits member(s) of the specified role by clicking the underlined member(s).

- Name
  Lists the names of the role's members.
- Type
  Specifies the type of the role's members.
- Authentication
  Specifies the role's members' authentication type: Local or LDAP.
- Remove
  Removes the specified members from the role.
- Add Members
  Shows the members that can be added to the role.

Delete

Deletes the specified role. Built-in roles, administrators and everyone, and roles that are not empty, cannot be deleted.

#### Privilege tab

This tab allows you to grant roles, groups and users privileges in JReport Enterprise Server. See the tab.

The privileges include the following two:

- Publish
  The privilege of publishing resources to JReport Enterprise Server.
- Advanced Properties
  The privilege of viewing advanced information of version properties such as catalog connections and report set related resources.

Role Privileges

Lists the roles that have been assigned one or both of the Publish and Advanced Properties privileges.

You can directly select the checkboxes to grant privileges to a role, or uncheck the boxes to remove privileges from a role.

Group Privileges

Lists the groups that have been assigned one or both of the Publish and Advanced Properties privileges.

You can directly select the checkboxes to grant privileges to a group, or uncheck the boxes to remove privileges from a group.

User Privileges

Lists the users that have been assigned one or both of the Publish and Advanced Properties privileges.

You can directly select the checkboxes to grant privileges to a user, or uncheck the boxes to remove privileges from a user.

Add

Assigns the privileges of Publish or Advanced Properties to roles/groups/users, and adds these roles/groups/users into the Role Privileges/Group Privileges/User Privileges table.

After you have clicked the button, the following options are available:

- Role Privileges
  First select a role and then click the checkboxes to assign privileges to it.
- Group Privileges
  First select a group and then click the checkboxes to assign privileges to it.
- User Privileges
  First select a user and then click the checkboxes to assign privileges to it.
- OK
  Saves the changes.
- Cancel
  Cancels the changes.

Remove

Removes the selected roles/groups/users from the Role Privileges/Group Privileges/User Privileges table, and also removes the privileges assigned to them at the same time.

Save

Submits the changes that are to be applied.

Notes:

- If users are to conduct publishment, they must at the same time have both the permission to write and publish.
- By default, only the "administrators" role and "admin" users have the Publish and Advanced Properties privileges.

#### Alias tab

This tab allows you to set an alias resource tree based on the server resource tree for roles, groups, or users. See the tab.

Set Role/Group/User Alias

Sets an alias resource tree for roles/groups/users, and then adds these roles/groups/users to the alias list.

After clicking the link, the following options will be available:

- Role Name/Group Name/User Name
  Lists the roles, groups, and users for which you can set an alias resource tree.
- Description
  Specifies information about a role, group or user.
- Next
  Goes to the next step and opens the Set Alias dialog.
- Cancel
  Cancels any operations performed and exits the page.

Name

Lists the names of roles, groups, and users that have been set an alias resource tree.

Description

Specifies information about a role, group or user that has been assigned an alias.

###### Related topics:

- Managing security