| java.lang.Object sunlabs.brazil.handler.ChownHandler
ChownHandler | public class ChownHandler implements Handler(Code) | | Handler for changing the group and owner of the server.
This handler expects the "server.so" file used by the
Java Webserver 2.0
Make sure you rename the file libserver.so
in the distribution to libcom_sun_server_ServerProcess.so , and
put it where it will be found by System.loadLibrary.
Properties:
- userName
- name of the user to run as
- groupName
- The name of the group to run as
author: Stephen Uhler version: 1.6, 00/12/11 |
init | public boolean init(Server server, String prefix)(Code) | | set up the Unix user and group.
We could return false, so our respond method would never be called,
but some containers cause the server to exit on false returns.
|
|
|