FileDocCategorySizeDatePackage
SolarisSystem.javaAPI DocJava SE 6 API1685Tue Jun 10 00:23:22 BST 2008com.sun.security.auth.module

SolarisSystem

public class SolarisSystem extends Object

This class implementation retrieves and makes available Solaris UID/GID/groups information for the current user.

version
1.8, 01/11/00

Fields Summary
protected String
username
protected long
uid
protected long
gid
protected long[]
groups
Constructors Summary
public SolarisSystem()
Instantiate a SolarisSystem and load the native library to access the underlying system information.

	System.loadLibrary("jaas_unix");
	getSolarisInfo();
    
Methods Summary
public longgetGid()
Get the GID for the current Solaris user.

return
the GID for the current Solaris user.

	return gid;
    
public long[]getGroups()
Get the supplementary groups for the current Solaris user.

return
the supplementary groups for the current Solaris user.

	return groups;
    
private native voidgetSolarisInfo()

public longgetUid()
Get the UID for the current Solaris user.

return
the UID for the current Solaris user.

	return uid;
    
public java.lang.StringgetUsername()
Get the username for the current Solaris user.

return
the username for the current Solaris user.

	return username;