Compartir a través de


setIntegratedSecurity Method (SQLServerDataSource)

Sets a boolean value that indicates if the integratedSecurity property is enabled.

public void setIntegratedSecurity(boolean enable)

Parámetros

enable

true if integratedSecurity is enabled. Otherwise, false.

Notas

Set to "true" to indicate that Windows credentials will be used by SQL Server to authenticate the user of the application. If "true", the Microsoft SQL Server 2005 JDBC Driver will search the local computer credential cache for credentials that have already been provided at the computer or network logon. If "false", the username and password must be supplied.

Nota

This property is only supported on Microsoft Windows operating systems.

For more information about using integrated authentication, see Generar URL de conexión.

Vea también

Referencia

SQLServerDataSource Class

Conceptos

SQLServerDataSource Methods
SQLServerDataSource Members