public class WindowsCredentialsHandleImpl extends Object implements IWindowsCredentialsHandle
Constructor and Description |
---|
WindowsCredentialsHandleImpl(String newPrincipalName,
int newCredentialsType,
String newSecurityPackage)
A new Windows credentials handle.
|
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Dispose of the credentials handle.
|
static IWindowsCredentialsHandle |
getCurrent(String securityPackage)
Returns the current credentials handle.
|
com.sun.jna.platform.win32.Sspi.CredHandle |
getHandle()
Get CredHandle.
|
void |
initialize()
Initialize a new credentials handle.
|
public static IWindowsCredentialsHandle getCurrent(String securityPackage)
securityPackage
- Security package, eg. "Negotiate".public void initialize()
initialize
in interface IWindowsCredentialsHandle
public void dispose()
dispose
in interface IWindowsCredentialsHandle
public com.sun.jna.platform.win32.Sspi.CredHandle getHandle()
getHandle
in interface IWindowsCredentialsHandle
Copyright © 2010–2015 com.github.dblock. All rights reserved.