Managing Users for the GlassFish Application Server

See Also

You use the Admin Console of the GlassFish application server to add and delete users, change passwords and perform other user and group management tasks. You can access the Admin Console from the Services window. For more, see Accessing the GlassFish Application Server Admin Console.

To add a user:

  1. Open the Admin Console of the GlassFish application server.
  2. In the tree in the left pane of the Admin Console, select Configuration > Security > Realms > admin-realm.
  3. In the Edit Realm page, click Manage Users.

    Current user IDs are displayed in a table.

  4. Click New and enter the new User ID and Password in the respective fields. Confirm the password by entering the same password again in the Confirm Password field.
  5. Click OK to create the new user. If you made an error entering the password, a prompt appears telling you to reenter the password.
  6. To continue managing users, click Close to return to the File Users page.

To delete a user:

  1. Open the Admin Console of the GlassFish application server.
  2. In the tree in the left pane of the Admin Console, select Configuration > Security > Realms > admin-realm.
  3. In the Edit Realm page of the Admin Console, click Manage Users to display a table showing the Current user IDs.
  4. In the User ID column, select the checkbox of the user you want to delete and click Delete.

    The user immediately disappears from the table of User IDs.

  5. To continue managing users, click Close to return to the File Users page.

To change a user's password:

  1. Open the Admin Console of the GlassFish application server.
  2. In the tree in the left pane of the Admin Console, select Configuration > Security > Realms > admin-realm.
  3. In the Edit Realm page of the Admin Console, click Manage Users to display a table showing the Current user IDs.
  4. In the User ID column, select a user name, such as admin.

    The File Users page opens.

  5. Enter the new password in the Password field. Confirm it by entering the password again in the Confirm Password field.
  6. Click Save to have your password entries checked and saved. If you made an error, a prompt appears telling you to enter the password again.
  7. To continue managing users, click Close to return to the File Users page.
See Also
Working with the GlassFish Application Server
Starting and Stopping a Server
Accessing the GlassFish Application Server Admin Console
About Deployment

Legal Notices