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 B-4. 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.
-listGroups
Lists the groups in the default realm.
-userGroups <user-name>
Lists the groups in the default realm to which the specified user belongs.
-add <user-name password 
group[,group]>
Adds the specified user to the default realm.
-addGroup <group>
Adds a group to the default realm.
-import <certificate-file>
Adds a user to the certificate realm by importing a file containing an X.509 certificate. ...

Get J2EE™ Tutorial, The now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.