WindowsSecurityContextImplpublic interface IWindowsSecurityContext
| Modifier and Type | Method | Description |
|---|---|---|
void |
dispose() |
Disposes of the context.
|
com.sun.jna.platform.win32.Sspi.CtxtHandle |
getHandle() |
Context handle.
|
IWindowsIdentity |
getIdentity() |
Windows Identity.
|
String |
getPrincipalName() |
Principal name.
|
String |
getSecurityPackage() |
Security package name.
|
byte[] |
getToken() |
Token.
|
IWindowsImpersonationContext |
impersonate() |
Impersonate this security context.
|
void |
initialize(com.sun.jna.platform.win32.Sspi.CtxtHandle continueCtx,
com.sun.jna.platform.win32.Sspi.SecBufferDesc continueToken,
String targetName) |
Initialize the security context, continuing from a previous one.
|
boolean |
isContinue() |
True if protocol requires continuation.
|
String getSecurityPackage()
String getPrincipalName()
byte[] getToken()
boolean isContinue()
IWindowsIdentity getIdentity()
com.sun.jna.platform.win32.Sspi.CtxtHandle getHandle()
void initialize(com.sun.jna.platform.win32.Sspi.CtxtHandle continueCtx,
com.sun.jna.platform.win32.Sspi.SecBufferDesc continueToken,
String targetName)
continueCtx - Continue context.continueToken - Continue token.targetName - The target of the context. The string contents are security-package specific.IWindowsImpersonationContext impersonate()
void dispose()
Copyright © 2010–2018 com.github.waffle. All rights reserved.