This class implementation retrieves and makes available Unix UID/GID/groups information for the current user.
Instantiate a UnixSystem and load the native library to access the underlying system information. System.loadLibrary("jaas_unix"); getUnixInfo();
UnixSystem
System.loadLibrary("jaas_unix"); getUnixInfo();
Get the GID for the current Unix user. returnthe GID for the current Unix user. return gid;
return gid;
Get the supplementary groups for the current Unix user. returnthe supplementary groups for the current Unix user. return groups;
return groups;
Get the UID for the current Unix user. returnthe UID for the current Unix user. return uid;
return uid;
Get the username for the current Unix user. returnthe username for the current Unix user. return username;
return username;