Sun Java System Application Server Platform Edition 8.1 2005Q2 Update 2 Administration Guide

- Previous: Managing Users with Network Security Services (NSS)
- Next: Configuring Mutual Authentication

### Managing file Realm Users

Manage `file` realm users with the Admin Console. Users and groups in the `file` realm are listed in the keyfile, whose location is specified by the `file` property.

Note –

It is also possible to use these steps to add users to any file realm, including the `admin-realm`. Simply substitute the name of the target realm in place of the `file` realm referenced in this section.

A user in the `file` realm can belong to a J2EE group, a category of users classified by common traits. For example, customers of an e-commerce application might belong to the `CUSTOMER` group, but the big spenders would belong to the `PREFERRED` group. Categorizing users into groups makes it easier to control the access of large numbers of users.

Initially after installation of the Application Server, the only user is the administrator entered during installation. By default, this user belongs to the group `asadmin`, in the realm `admin-realm`, which gives rights to modify the Application Server. Any users assigned to this group will have administrator privileges, that is, they will have access to the `asadmin` tool and the Admin Console.

To manage `file` realm users, perform these tasks:

- To access the File Users page

- To add a user

- To edit user information

- To delete a user

#### To access the File Users page

1. In the Admin Console tree component, expand the Configuration node.

2. Expand the Security node.

3. Expand the Realms node.

4. Select the `file` node.

5. Click the Manage Users button from the Edit Realm page.

   The File Users page displays. In this page, perform the following tasks:

   - To add a user

   - To edit user information

   - To delete a user

#### To add a user

1. Click New to add a new user to the `file` realm.

2. Enter the following information on the File Users page:

   - User ID (required) - The name of the user.

   - Password (required) - The user password.

   - Confirm Password (required) - The user password again, for verification.

   - Group List (optional) - A comma-separated list of the groups to which the user belongs. These groups do not need to be defined elsewhere.

3. Click OK to add this user to the list of users in the `file` realm. Click Cancel to quit without saving.

##### Equivalent asadmin command

`create-file-user`

#### To edit user information

1. In the User ID column, click the name of the user to be modified.

   The Edit File Realm User page displays.

2. Change the user password by entering a new password in the Password and Confirm Password fields.

3. Change the groups to which the user belongs by adding or deleting groups in the Group List field.

   Separate group names with commas. Groups need not be previously defined.

4. Click Save to save this user to the list of users in the `file` realm.

   Click Close to quit without saving.

#### To delete a user

1. Select the checkbox to the left of the name of the user(s) to be deleted.

2. Click Delete.

3. Click Close to return to the Edit Realm page.

##### Equivalent asadmin command

`delete-file-user`

- Previous: Managing Users with Network Security Services (NSS)
- Next: Configuring Mutual Authentication

- © 2010, Oracle Corporation and/or its affiliates