Purpose

Specifies the name of the cookie used for authenticating HTTP requests when HTTP mode TransportMode=http and cookie based authentication are enabled (EnableCookieAuthentication=true). When preparing an HTTP request to the server, the driver will not attempt to reauthenticate if a valid cookie is present.

Valid Values

string

where:

string
is a valid cookie name.

Data Source Method

setCookieName

Default

hive.server2.auth

Data Type

String

Notes

  • If HTTP mode (TransportMode=binary) or cookie based authentication (EnableCookieAuthentication=false) are disabled, this option is ignored.

See also