...
Excerpt |
---|
You can add users and groups via by using the Geronimo Administration Console or by modifying some configuration files. |
To manage users and groups via by using the Geronimo Administration Console the , click Users and Groups portlet is available on the Console Navigation menu on the left hand side. Here you will find two portlets, one for administering users and another for administering user groups, both . Both portlets are illustrated in the following figures.
...
To change a user's password, click on (Details Edit next to the user that you want to update in the Console Realm Users portlet, it will bring up the UserID and Password so . On the next page, you can update that profilea new password for this user.
To remove a user, click on the corresponding Delete, you . You will be prompted to confirm the deletion of that user, click OK.
To add a new user, click on Create New User, you . You will be prompted for a UserID and , Password (twice), enter those and Group information. Enter or specify the values and click Add.
Once After you created the new users, you can add them to groupgroups. By default, the group admin is available and the user system is in that group. If you click on the Details next to the admin group, you will see the user system in the window on the right and any other available user will be listed in the window on the left.
To add a new user to this group, select the user first, then click Add >> and then click Update.
To create a new group, click on Create New Group, this . This step is very similar to the one mentioned before for the users. In addition to be being prompted for adding users to this group, you will also have to provide a group name. Once you entered the new group name and added the users, click on Add to finish.
The changes you made via by using the Console Realm Users and Console Realm Groups portlets are reflected in two different files, these files are users.properties
and groups.properties
respectively and they , respectively. These two files are located in the <geronimo_home>\var\security
directory.
You can equally administer users and groups by modifying directly these files directly:
users.properties
groups.properties
users.properties
uses the <user_name>=<password> format, . groups.properties
uses the <group_name>=<user_name> format. See the following examples for additional details.
No Format | ||||
---|---|---|---|---|
| ||||
system=manager user2=password user1=password |
As we are using The user IDs and passwords in this file are stored in plain text because this is the basic, by default, security configuration you will see the user IDs and passwords are stored in plain text. You can add, remove and change passwords from this file.
No Format | ||||
---|---|---|---|---|
| ||||
admin=system,user1 users=user2 |
Just like with the users.properties
* file, with in the groups.properties
file, you can add and remove groups and users to those groups.
The files mentioned in this sections along with the all the security configuration in addition to user names and passwords are defined in the geronimo-properties-realm security realm, covered in the Administering security realms section.