com.sun.server

Class ServerProcess

public class ServerProcess extends Object

This is a wrapper around the native code used by the Java Web Server to set the effective user and group id's on Solaris. It expects the "server.so" file used by the Java Webserver 2.0. Make sure you rename the file server.so in the distribution to libcom_sun_server_ServerProcess.so, and put it where it will be found by System.loadLibrary.

Version: 2.2

Author: Colin Stevens

Method Summary
static booleansetGroup(String groupName)
static booleansetUser(String userName)

Method Detail

setGroup

public static boolean setGroup(String groupName)

setUser

public static boolean setUser(String userName)