Sun Java System Application Server Enterprise Edition 8.1 2005Q2 Administration Guide

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:

ProcedureTo access the File Users page

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

  2. Select the instance to configure:

    • To configure a particular instance, expand the instance’s config node. For example, the default instance, server, expand the server-config node.

    • To configure the default settings for all instances, expand the default-config node.

  3. Expand the Security node.

  4. Expand the Realms node.

  5. Select the file node.

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

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

ProcedureTo 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

ProcedureTo 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.

ProcedureTo 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