Skip to main content

Groovy Script

Description

This script performs the following operations:
  1. NTLM Credentials Definition
  • NTCredentials are created with username, password, domain, and workstation information.
  1. Credentials Provider
  • An NTLM-enabled credentials provider is defined for Apache HttpClient.
  1. SSL Trust Override
  2. Hostname verification is disabled
  3. A GET request is sent to the protected endpoint using the NTLM-enabled HttpClient.