com.ibm.security.auth.module

Class Win64System

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

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

This class implementation retrieves and makes available Windows64 security information for the current user.


Constructor Summary

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

Method Summary

Modifier and Type Method and Description
  1. protected
  2. void
finalize()
Clean up Win64 resources during garbage collection, in case LoginContext.logout() was not called.
  1. java.lang.String
getDomain()
Get the domain for the current Win64 user.
  1. java.lang.String
getDomainSID()
Get a printable SID for the current Win64 user's domain.
  1. java.lang.String[]
getGroupIDs()
Get the printable group SIDs for the current Win64 user.
  1. long
getImpersonationToken()
Get an impersonation token for the current Win64 user.
  1. java.lang.String
getPrimaryGroupID()
Get a printable primary group SID for the current Win64 user.
  1. java.lang.String
getUsername()
Get the username for the current Win64 user.
  1. java.lang.String
getUserSID()
Get a printable SID for the current Win64 user.
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

Win64System

  1. public Win64System()
Instantiate a Win64System 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 Win64 user.

Returns:
the username for the current Win64 user.

getDomain

  1. public java.lang.String getDomain( )
Get the domain for the current Win64 user.

Returns:
the domain for the current Win64 user.

getDomainSID

  1. public java.lang.String getDomainSID( )
Get a printable SID for the current Win64 user's domain.

Returns:
a printable SID for the current Win64 user's domain.

getUserSID

  1. public java.lang.String getUserSID( )
Get a printable SID for the current Win64 user.

Returns:
a printable SID for the current Win64 user.

getPrimaryGroupID

  1. public java.lang.String getPrimaryGroupID( )
Get a printable primary group SID for the current Win64 user.

Returns:
the primary group SID for the current Win64 user.

getGroupIDs

  1. public java.lang.String[] getGroupIDs( )
Get the printable group SIDs for the current Win64 user.

Returns:
the group SIDs for the current Win64 user.

getImpersonationToken

  1. public long getImpersonationToken( )
Get an impersonation token for the current Win64 user.

Returns:
an impersonation token for the current Win64 user.

finalize

  1. protected void finalize()
Clean up Win64 resources during garbage collection, in case LoginContext.logout() was not called.

Overrides:
finalize in class java.lang.Object