Class ServerProcess


  • public class ServerProcess
    extends java.lang.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 Summary

      Constructors 
      Constructor Description
      ServerProcess()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean setGroup​(java.lang.String groupName)  
      static boolean setUser​(java.lang.String userName)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ServerProcess

        public ServerProcess()
    • Method Detail

      • setUser

        public static boolean setUser​(java.lang.String userName)
      • setGroup

        public static boolean setGroup​(java.lang.String groupName)