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 IWindowsCredentialsHandlepublic void dispose()
dispose in interface IWindowsCredentialsHandlepublic com.sun.jna.platform.win32.Sspi.CredHandle getHandle()
getHandle in interface IWindowsCredentialsHandleCopyright © 2010-2014 com.github.dblock. All Rights Reserved.