Top Description Fields Constructors Methods
waffle.windows.auth.impl

public Class WindowsSecurityContextImpersonationContextImpl

extends Object
implements IWindowsImpersonationContext
Class Inheritance
All Implemented Interfaces
waffle.windows.auth.IWindowsImpersonationContext
Imports
com.sun.jna.platform.win32.Secur32, .Sspi.CtxtHandle, .Win32Exception, .WinError, waffle.windows.auth.IWindowsImpersonationContext

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

Field Summary

Modifier and TypeField and Description
private final Sspi.CtxtHandle
ctx

The ctx.

Constructor Summary

AccessConstructor and Description
public
WindowsSecurityContextImpersonationContextImpl(final Sspi.CtxtHandle
the new ctx
newCtx
)

Instantiates a new windows security context impersonation context impl.

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

Field Detail

ctxback to summary
private final Sspi.CtxtHandle ctx

The ctx.

Constructor Detail

WindowsSecurityContextImpersonationContextImplback to summary
public WindowsSecurityContextImpersonationContextImpl(final Sspi.CtxtHandle newCtx)

Instantiates a new windows security context impersonation context impl.

Parameters
newCtx:Sspi.CtxtHandle

the new ctx

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