Class ServerProcess

java.lang.Object
com.sun.server.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
  • Constructor Details

    • ServerProcess

      public ServerProcess()
  • Method Details

    • setUser

      public static boolean setUser(String userName)
    • setGroup

      public static boolean setGroup(String groupName)