com.ibm.security.auth.module

Class AIXSystem

  1. java.lang.Object
  2. extended bycom.ibm.security.auth.module.AIXSystem

  1. public class AIXSystem
  2. extends java.lang.Object

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


Constructor Summary

Constructor and Description
AIXSystem()
Instantiate a AIXSystem and load the native library to access the underlying system information.

Method Summary

Modifier and Type Method and Description
  1. long
getGid()
Get the GID for the current AIX user.
  1. long[]
getGroups()
Get the groups for the current AIX user.
  1. long
getUid()
Get the UID for the current AIX user.
  1. java.lang.String
getUsername()
Get the username for the current AIX user.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

AIXSystem

  1. public AIXSystem()
Instantiate a AIXSystem and load the native library to access the underlying system information.

Method Detail

getUsername

  1. public java.lang.String getUsername( )
Get the username for the current AIX user.

Returns:
the username for the current AIX user.

getUid

  1. public long getUid()
Get the UID for the current AIX user.

Returns:
the UID for the current AIX user.

getGid

  1. public long getGid()
Get the GID for the current AIX user.

Returns:
the GID for the current AIX user.

getGroups

  1. public long[] getGroups()
Get the groups for the current AIX user.

Returns:
the groups for the current AIX user.