Realm Tool
The realmtool utility is a command-line script that enables you to add and remove J2EE users and to import certificate files.
Table 44 realmtool Options
Option
|
Description
|
-show
|
Lists the realm names.
|
-list <realm-name>
|
Lists the users in the specified realm. This release has two realms: default and certificate.
|
-add <username password group[,group]>
|
Adds the specified user to the default realm.
|
-addGroup <group>
|
Adds a group to the default realm.
|
-import <certificate-file> -alias <alias>
|
Adds a user to the certificate realm by importing a file containing an X509 certificate.
|
-remove <realm-name username>
|
Removes a user from the specified realm.
|
-removeGroup <group>
|
Removes a group.
|
Examples in the section Managing J2EE Users and Groups show how to run the realmtool utility.