The preferred method of accessing the functionality of the Java WSDP Registry Server is to use the JavaTM API for XML Registries (JAXR).
Please refer to the JAXR documentation for APIs, samples, and usage notes on using JAXR to access the Registry Server.
The UDDI specification does not define how user information is managed, so this functionality is implementation-specific. The Registry Server implements user management as follows.
To add a new user to the Registry Server database, you first
generate a hash password for the user. Then you use the file
UserInfo.xml
in the xml
subdirectory.
Perform the following steps:
xml/UserInfo.xml
in an editor.<fname>
,
<lname>
, and <uid>
tags to the first
name, last name, and unique user ID (UID) of the new user. The
<uid>
tag is commonly the user's login name. It must be
unique.<passwd>
tag to a password of
your choice This is the password for the new user. Do not modify
the <tokenExpiration>
or <authInfo>
tag.
UserInfo.xml
file.registry-server-test run-cli-request -Drequest=xml\UserInfo.xml
registry-server-test.sh run-cli-request -Drequest=xml/UserInfo.xml
To delete a user from the registry, you use the file
UserDelete.xml
in the xml
subdirectory.
Before you run the script this time, edit this file by modifying the
values in the <fname>
, <lname>
,
<uid>
, and <passwd>
tags.
To delete the user, use the following command:
registry-server-test run-cli-request -Drequest=xml\UserDelete.xml
registry-server-test.sh run-cli-request -Drequest=xml/UserDelete.xml