简体   繁体   English

是否可以使用SQL Server JDBC驱动程序进行代理身份验证?

[英]Is possible to do proxy authentication using SQL Server JDBC driver?

Oracle JDBC driver provides option to do proxy authentication for multi-tier architecture design. Oracle JDBC驱动程序提供了为多层体系结构设计执行代理身份验证的选项。 Are there any similar/equivalent option available with SQL Server JDBC driver? SQL Server JDBC驱动程序是否有类似/等效的选项?

I think that you're presuming SQL Server can do multi-tier architecture . 我认为你假设SQL Server可以做多层架构

If you're running SQL Server, there are three options for distributing databases: 如果您正在运行SQL Server,则有三种分发数据库的选项:

  1. Create separate servers that contain different tables. 创建包含不同表的单独服务器。 In this scenario, the tables that have to be shared use linked database servers. 在此方案中,必须共享的表使用链接的数据库服务器。 (The authentication for linked servers does not come from the client, but from the server's/link's configuration.) (链接服务器的身份验证不是来自客户端,而是来自服务器的/ link的配置。)

  2. Create separate servers that contain the same tables. 创建包含相同表的单独服务器。 In this scenario, any updates on one server will have to be replicated to the other servers. 在这种情况下,必须将一台服务器上的任何更新复制到其他服务器。 (This could also be done via triggers across the linked servers, but that slows things down.) (这也可以通过链接服务器上的触发器来完成,但这会减慢速度。)

  3. Don't. 别。

If you are trying to link servers, JDBC drivers won't have anything to do with that. 如果您尝试链接服务器,JDBC驱动程序将与此无关。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM