Table of Contents

Property UseIntegratedSecurity

Namespace
YndigoBlue.Velocity.Data
Assembly
YndigoBlue.Velocity.dll

UseIntegratedSecurity

Gets or sets whether OS-level / integrated authentication is used instead of a username and password.

public bool UseIntegratedSecurity { get; set; }

Property Value

bool

Remarks

When true, the database driver uses the current OS identity to authenticate rather than explicit credentials. The exact mechanism depends on the database:

  • SQL Server — Windows Authentication (Integrated Security=SSPI) or Azure Active Directory; controlled by SqlServerDatasourceConnection.AuthenticationMethod.
  • PostgreSQL — SSPI on Windows or GSSAPI/Kerberos on Linux (Integrated Security=true).
  • Oracle — OS external authentication (User Id=/).
  • DB2 — Kerberos, GSS plugin, or client auth; controlled by DB2DatasourceConnection.AuthenticationMethod.
  • Teradata — LDAP, SPNEGO/Kerberos, or TDNEGO; controlled by TeradataDatasourceConnection.AuthenticationMethod.

When true, Username and Password are ignored by the adaptor.

Can also be set via SetAdvancedSettings(string) using the key UseIntegratedSecurity (e.g. "UseIntegratedSecurity=true").