com.ibm.security.auth.module

Class AIXSystem

  • java.lang.Object
    • com.ibm.security.auth.module.AIXSystem


  • public class AIXSystem
    extends java.lang.Object

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

    • Constructor Summary

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      long getGid()
      Get the GID for the current AIX user.
      long[] getGroups()
      Get the groups for the current AIX user.
      long getUid()
      Get the UID for the current AIX user.
      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

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

      • getUsername

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

        Returns:
        the username for the current AIX user.
      • getUid

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

        Returns:
        the UID for the current AIX user.
      • getGid

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

        Returns:
        the GID for the current AIX user.
      • getGroups

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

        Returns:
        the groups for the current AIX user.

© Copyright 2003, 2015 IBM Corporation. All rights reserved.
© Copyright 2003, 2015, Oracle and/or its affiliates. All rights reserved.