|
Home TOC Index |
|
Search
Feedback |
Realm Tool
The
realmtoolutility is a command-line script that enables you to add and remove J2EE users and to import certificate files.Examples
To display all users in the default realm, type this command:
realmtool -list defaultTo add a user to the default realm you specify the
-addflag. The following command will add a user namedrobinwho is protected by the passwordred, and will includerobinin thebirdandwinggroups:realmtool -add robin red bird,wingTo add a user to the certificate realm, you import a file containing the X.509 certificate that identifies the user:
realmtool -import certificate-fileTo remove a user, you specify the
-removeflag. For example, to remove a user namedsparrowfrom the default realm, you would type the following command:realmtool -remove default sparrowTo add a group to the default realm you specify the
-addGroupflag. The following command adds thewinggroup:realmtool -addGroup wing(You cannot add a group to the certificate realm.)
To remove a group from the default realm, you specify the
-removeGroupflag:realmtool -removeGroup wing
|
Home TOC Index |
|
Search
Feedback |