public class WindowsCredentialsHandleImpl extends Object implements IWindowsCredentialsHandle
| Constructor and Description |
|---|
WindowsCredentialsHandleImpl(String principalName,
int credentialsType,
String securityPackage)
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()
Return a security handle.
|
void |
initialize()
Initialize a new credentials handle.
|
public static IWindowsCredentialsHandle getCurrent(String securityPackage)
securityPackage - Security package, eg. "Negotiate".public void initialize()
initialize in interface IWindowsCredentialsHandlepublic void dispose()
dispose in interface IWindowsCredentialsHandlepublic com.sun.jna.platform.win32.Sspi.CredHandle getHandle()
IWindowsCredentialsHandlegetHandle in interface IWindowsCredentialsHandleCopyright © 2014. All Rights Reserved.