Package org.postgresql.sspi
Class NTDSAPIWrapper
java.lang.Object
org.postgresql.sspi.NTDSAPIWrapper
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
NTDSAPIWrapper
public NTDSAPIWrapper()
-
-
Method Details
-
DsMakeSpn
public String DsMakeSpn(String serviceClass, String serviceName, @Nullable String instanceName, short instancePort, @Nullable String referrer) throws com.sun.jna.LastErrorException Convenience wrapper for NTDSAPI DsMakeSpn with Java friendly string and exception handling.- Parameters:
serviceClass
- See MSDNserviceName
- See MSDNinstanceName
- See MSDNinstancePort
- See MSDNreferrer
- See MSDN- Returns:
- SPN generated
- Throws:
com.sun.jna.LastErrorException
- If buffer too small or parameter incorrect- See Also:
-