public class

SolarisSystem

extends Object
java.lang.Object
   ↳ com.sun.security.auth.module.SolarisSystem

Class Overview

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

Summary

Fields
protected long gid
protected long[] groups
protected long uid
protected String username
Public Constructors
SolarisSystem()
Instantiate a SolarisSystem and load the native library to access the underlying system information.
Public Methods
long getGid()
Get the GID for the current Solaris user.
long[] getGroups()
Get the supplementary groups for the current Solaris user.
long getUid()
Get the UID for the current Solaris user.
String getUsername()
Get the username for the current Solaris user.
[Expand]
Inherited Methods
From class java.lang.Object

Fields

protected long gid

protected long[] groups

protected long uid

protected String username

Public Constructors

public SolarisSystem ()

Instantiate a SolarisSystem and load the native library to access the underlying system information.

Public Methods

public long getGid ()

Get the GID for the current Solaris user.

Returns
  • the GID for the current Solaris user.

public long[] getGroups ()

Get the supplementary groups for the current Solaris user.

Returns
  • the supplementary groups for the current Solaris user.

public long getUid ()

Get the UID for the current Solaris user.

Returns
  • the UID for the current Solaris user.

public String getUsername ()

Get the username for the current Solaris user.

Returns
  • the username for the current Solaris user.