Copy UserIDGeneratorSample.jar from JAR_DIR to AccessManager-base/lib.
in the Web Container from which this sample has to run, update the classpath with UserIDGeneratorSample.jar.
On Sun ONE Web Server, go to server instance configurationdirectory:
<WS-home-dir>/https-<WS-instance-name>/config/
On Sun ONE Application Server, in the directory <AS-home-dir>/domain/domain1/server1/config/ update server.xml with the new classpath.
For all other containers, consult the documentation that came with the product.
Restart web container.<WS-home-dir>/https-<WS-instance-name>/start
<AS-home-dir>/domains/domain1/server1/bin/start