Class NTDSAPIWrapper

java.lang.Object
org.postgresql.sspi.NTDSAPIWrapper

public class NTDSAPIWrapper extends Object
  • 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 MSDN
      serviceName - See MSDN
      instanceName - See MSDN
      instancePort - See MSDN
      referrer - See MSDN
      Returns:
      SPN generated
      Throws:
      com.sun.jna.LastErrorException - If buffer too small or parameter incorrect
      See Also: