com.ibm.security.auth.module
Class Win64ActiveSystem
- java.lang.Object
com.ibm.security.auth.module.Win64ActiveSystem
- public class Win64ActiveSystem
- extends java.lang.Object
This class implementation retrieves and makes available Windows64 security information for either the current user or a specified user.
Constructor Summary
Constructor and Description |
---|
Win64ActiveSystem()
Instantiate a
Win64ActiveSystem and load
the native library to access the underlying system information.
|
Win64ActiveSystem(java.lang.String userName,char[] authenticator)
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
finalize()
Clean up Win64 resources during garbage collection, in
case
LoginContext.logout() was not called.
|
|
getDomain()
Get the domain for the current Win64 user.
|
|
getDomainSID()
Get a printable SID for the current Win64 user's domain.
|
|
getGroupIDs()
Get the printable group SIDs for the current Win64 user.
|
|
getImpersonationToken()
Get an impersonation token for the current Win64 user.
|
|
getPrimaryGroupID()
Get a printable primary group SID for the current Win64 user.
|
|
getUsername()
Get the username for the current Win64 user.
|
|
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
Win64ActiveSystem
- public Win64ActiveSystem()
Win64ActiveSystem
- public Win64ActiveSystem(java.lang.String userName,
- char[] authenticator)
Method Detail
getUsername
- public java.lang.String getUsername( )
Get the username for the current Win64 user.
Returns:
the username for the current Win64 user.
getDomain
- public java.lang.String getDomain( )
Get the domain for the current Win64 user.
Returns:
the domain for the current Win64 user.
getDomainSID
- 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
- public java.lang.String getUserSID( )
Get a printable SID for the current Win64 user.
Returns:
a printable SID for the current Win64 user.
getPrimaryGroupID
- 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
- 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
- public long getImpersonationToken( )
Get an impersonation token for the current Win64 user.
Returns:
an impersonation token for the current Win64 user.
finalize
- protected void finalize()
Clean up Win64 resources during garbage collection, in
case
LoginContext.logout()
was not called.
Overrides:
finalize
in class java.lang.Object
Win64ActiveSystem
and load the native library to access the underlying system information.