| 
 | Apache Tomcat 6.0.53 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tomcat.jni.User
public class User
User
| Constructor Summary | |
|---|---|
| User() | |
| Method Summary | |
|---|---|
| static long | gid(java.lang.String groupname,
    long p)Get the groupid for a specified group name This function is available only if APR_HAS_USER is defined. | 
| static int | gidcompare(long left,
           long right)Compare two group identifiers for equality. | 
| static long | gidCurrent(long p)Get the groupid of the calling process This function is available only if APR_HAS_USER is defined. | 
| static java.lang.String | groupname(long groupid,
          long p)Get the group name for a specified groupid This function is available only if APR_HAS_USER is defined. | 
| static java.lang.String | homepath(java.lang.String username,
         long p)Get the home directory for the named user This function is available only if APR_HAS_USER is defined. | 
| static long | uid(java.lang.String username,
    long p)Get the userid for the specified username This function is available only if APR_HAS_USER is defined. | 
| static int | uidcompare(long left,
           long right)Compare two user identifiers for equality. | 
| static long | uidCurrent(long p)Get the userid (and groupid) of the calling process This function is available only if APR_HAS_USER is defined. | 
| static long | usergid(java.lang.String username,
        long p)Get the groupid for the specified username This function is available only if APR_HAS_USER is defined. | 
| static java.lang.String | username(long userid,
         long p)Get the user name for a specified userid This function is available only if APR_HAS_USER is defined. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public User()
| Method Detail | 
|---|
public static long uidCurrent(long p)
                       throws Error
p - The pool from which to allocate working space
Error
public static long gidCurrent(long p)
                       throws Error
p - The pool from which to allocate working space
Error
public static long uid(java.lang.String username,
                       long p)
                throws Error
username - The username to lookupp - The pool from which to allocate working space
Error
public static long usergid(java.lang.String username,
                           long p)
                    throws Error
username - The username to lookupp - The pool from which to allocate working space
Error
public static long gid(java.lang.String groupname,
                       long p)
                throws Error
groupname - The group name to look upp - The pool from which to allocate working space
Error
public static java.lang.String username(long userid,
                                        long p)
                                 throws Error
userid - The useridp - The pool from which to allocate the string
Error
public static java.lang.String groupname(long groupid,
                                         long p)
                                  throws Error
groupid - The groupidp - The pool from which to allocate the string
Error
public static int uidcompare(long left,
                             long right)
left - One uid to testright - Another uid to test
public static int gidcompare(long left,
                             long right)
left - One gid to testright - Another gid to test
public static java.lang.String homepath(java.lang.String username,
                                        long p)
                                 throws Error
username - The named userp - The pool from which to allocate the string
Error| 
 | Apache Tomcat 6.0.53 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||