java.lang.Object
waffle.windows.auth.impl.WindowsIdentityImpl
-
Constructor Summary
ConstructorsConstructorDescriptionWindowsIdentityImpl(com.sun.jna.platform.win32.WinNT.HANDLE newWindowsIdentity) Instantiates a new windows identity impl. -
Method Summary
-
Constructor Details
-
WindowsIdentityImpl
public WindowsIdentityImpl(com.sun.jna.platform.win32.WinNT.HANDLE newWindowsIdentity) Instantiates a new windows identity impl.- Parameters:
newWindowsIdentity- the new windows identity
-
-
Method Details
-
getFqn
Description copied from interface:IWindowsIdentityFully qualified name.- Specified by:
getFqnin interfaceIWindowsIdentity- Returns:
- String.
-
getGroups
Description copied from interface:IWindowsIdentityGroup memberships.- Specified by:
getGroupsin interfaceIWindowsIdentity- Returns:
- Array of accounts.
-
getSid
public byte[] getSid()Description copied from interface:IWindowsIdentitySid.- Specified by:
getSidin interfaceIWindowsIdentity- Returns:
- Array of bytes.
-
getSidString
Description copied from interface:IWindowsIdentitySid.- Specified by:
getSidStringin interfaceIWindowsIdentity- Returns:
- String.
-
dispose
public void dispose()Description copied from interface:IWindowsIdentityDispose of the Windows identity.- Specified by:
disposein interfaceIWindowsIdentity
-
impersonate
Description copied from interface:IWindowsIdentityImpersonate a logged on user.- Specified by:
impersonatein interfaceIWindowsIdentity- Returns:
- An impersonation context.
-
isGuest
public boolean isGuest()Description copied from interface:IWindowsIdentityReturns true if the identity represents a Guest account.- Specified by:
isGuestin interfaceIWindowsIdentity- Returns:
- True if the identity represents a Guest account, false otherwise.
-