This category includes the following users:
The admin and Administrator users are responsible for creating these users and for assigning the appropriate roles.
User management changes take effect immediately. You do not need to restart the Repository.
For information about how to use a Lightweight Directory Access Protocol (LDAP) server to manage Repository users, see Using LDAP with Java CAPS.
The Repository includes the following default users.
Table 1–1 Default Repository Users
User Name |
Default Password |
---|---|
adminadmin |
|
STC |
User names can contain alphabetic, numeric, or underscore characters. User names must begin with an alphabetic character. Multibyte characters are not supported. User names are case sensitive.
Roles enable you to organize users into groups. Each user name is associated with one or more predefined roles.
The following table describes the predefined roles for Repository users. The default Repository users have all of these roles. When you create a user, you can limit what the user can do by assigning only the appropriate roles. The all role is mandatory for each user.
Table 1–2 Predefined Roles (Repository)
If a user has more than one role, then the user’s privileges are the combined privileges from all of the user’s roles.
The admin and Administrator users are the only users that can create other users.
You can add and delete Repository users from the NetBeans IDE.
In the NetBeans IDE, choose Tools > CAPS Repository > Maintain Users.
The User Management dialog box appears.
Click Add.
The second User Management dialog box appears.
In the User field, enter a name for the user.
User names can contain alphabetic, numeric, or underscore characters. User names must begin with an alphabetic character. Multibyte characters are not supported. User names are case sensitive.
In the Password field, enter a password for the user.
Multibyte characters are not supported.
In the Confirm Password field, enter the password again.
Each user is automatically assigned to the all role, which is required to connect to the Repository.
Click OK.
The user name is added to the list in the initial User Management dialog box. This user can now log in with the assigned user name and password.
Click Close.
In the NetBeans IDE, choose Tools > CAPS Repository > Maintain Users.
The User Management dialog box appears.
Select the user and click Delete.
The user is removed from the list.
Click Close.
You cannot delete the admin user or the Administrator user.
You can add and delete roles for a Repository user. You perform these procedures in the NetBeans IDE.
You cannot delete the all role for a user.
In the NetBeans IDE, choose Tools > CAPS Repository > Maintain Users.
The User Management dialog box appears.
Select the user and click Modify.
The second User Management dialog box appears.
Click Add Role.
The Add Role dialog box appears.
Select the desired role and click OK.
The new role appears in the list for the selected user.
Click OK.
Click Close.
In the NetBeans IDE, choose Tools > CAPS Repository > Maintain Users.
The User Management dialog box appears.
Select the user and click Modify.
The second User Management dialog box appears.
Select the role that you want to delete and click Delete Role.
The role disappears from the list.
Click OK.
Click Close.
The following procedure describes how users can change their password.
In the NetBeans IDE, choose Tools > CAPS Repository > Maintain Users.
The User Management dialog box appears.
Select the user and click Modify.
The second User Management dialog box appears.
In the Password field, enter the new password for the user.
Multibyte characters are not supported.
In the Confirm Password field, enter the password again.
Click OK.
Click Close.
You can create roles in addition to the predefined roles. This feature provides a means for organizing users into groups.
In the NetBeans IDE, choose Tools > CAPS Repository > Maintain Users.
The User Management dialog box appears.
Select the user and click Modify.
The second User Management dialog box appears.
Click Add Role.
The Add Role dialog box appears.
Click Create Role.
The Role dialog box appears.
In the Role field, type the name of the new role that you are creating.
Multibyte characters are not supported.
Click OK.
The new role has been added to the list.
Select the new role and click OK.
The role is added for the selected user.
Click OK.
Click Close.