Top Fields Constructors Methods
org.postgresql.sspi

public Class NTDSAPIWrapper

extends Object
Class Inheritance
Imports
com.sun.jna.LastErrorException, .WString, com.sun.jna.ptr.IntByReference, org.checkerframework.checker.nullness.qual.Nullable

Field Summary

Modifier and TypeField and Description
pack-priv static final NTDSAPIWrapper

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

SPN generated
DsMakeSpn
(String
See MSDN
serviceClass
,
String
See MSDN
serviceName
,
@Nullable String
See MSDN
instanceName
,
short
See MSDN
instancePort
,
@Nullable String
See MSDN
referrer
)

Convenience wrapper for NTDSAPI DsMakeSpn with Java friendly string and exception handling.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

instanceback to summary
pack-priv static final NTDSAPIWrapper instance

Constructor Detail

NTDSAPIWrapperback to summary
public NTDSAPIWrapper()

Method Detail

DsMakeSpnback to summary
public String DsMakeSpn(String serviceClass, String serviceName, @Nullable String instanceName, short instancePort, @Nullable String referrer) throws LastErrorException

Convenience wrapper for NTDSAPI DsMakeSpn with Java friendly string and exception handling.

Parameters
serviceClass:String

See MSDN

serviceName:String

See MSDN

instanceName:@Nullable String

See MSDN

instancePort:short

See MSDN

referrer:@Nullable String

See MSDN

Returns:String

SPN generated

Exceptions
LastErrorException:
If buffer too small or parameter incorrect
See Also
https://msdn.microsoft.com/en-us/library/ms676007(v=vs.85).aspx