1 17 18 package org.apache.tomcat.jni; 19 20 25 26 public class User { 27 28 34 public static native long uidCurrent(long p) 35 throws Error ; 36 37 43 public static native long gidCurrent(long p) 44 throws Error ; 45 46 47 54 public static native long uid(String username, long p) 55 throws Error ; 56 57 64 public static native long usergid(String username, long p) 65 throws Error ; 66 67 74 public static native long gid(String groupname, long p) 75 throws Error ; 76 77 84 public static native String username(long userid, long p) 85 throws Error ; 86 87 94 public static native String groupname(long groupid, long p) 95 throws Error ; 96 97 105 public static native int uidcompare(long left, long right); 106 107 115 public static native int gidcompare(long left, long right); 116 117 124 public static native String homepath(String username, long p) 125 throws Error ; 126 127 } 128 | Popular Tags |