Top Description Constructors Methods
waffle.windows.auth.impl

public Class WindowsIdentityImpersonationContextImpl

extends Object
implements IWindowsImpersonationContext
Class Inheritance
All Implemented Interfaces
waffle.windows.auth.IWindowsImpersonationContext
Imports
com.sun.jna.platform.win32.Advapi32, .Kernel32, .Win32Exception, .WinNT.HANDLE, waffle.windows.auth.IWindowsImpersonationContext

The Class WindowsIdentityImpersonationContextImpl.
Author
dblock[at]dblock[dot]org

Constructor Summary

AccessConstructor and Description
public
WindowsIdentityImpersonationContextImpl(final WinNT.HANDLE
Windows identity obtained via LogonUser.
windowsIdentity
)

Impersonate a logged on user.

Method Summary

Modifier and TypeMethod and Description
public void
revertToSelf()

Implements waffle.windows.auth.IWindowsImpersonationContext.revertToSelf.

Terminate the impersonation of a client application.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

WindowsIdentityImpersonationContextImplback to summary
public WindowsIdentityImpersonationContextImpl(final WinNT.HANDLE windowsIdentity)

Impersonate a logged on user.

Parameters
windowsIdentity:WinNT.HANDLE

Windows identity obtained via LogonUser.

Method Detail

revertToSelfback to summary
public void revertToSelf()

Implements waffle.windows.auth.IWindowsImpersonationContext.revertToSelf.

Doc from waffle.windows.auth.IWindowsImpersonationContext.revertToSelf.

Terminate the impersonation of a client application.

Annotations
@Override