Commit 2eb7f55
Brian Crowell
IMPORTANT: Freeze user name in connection string when using integrated security
When connection pooling is turned on, connections are cached by connection
string. But when integrated security is turned on, the user's identity
isn't part of the connection string, so two users can get each other's
connections back from the connection pool.
This patch forces the username to appear in the connection string if
integrated security is on, before any pooling takes place.1 parent 1968ab8 commit 2eb7f55
1 file changed
Lines changed: 12 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1058 | 1058 | | |
1059 | 1059 | | |
1060 | 1060 | | |
1061 | | - | |
1062 | | - | |
| 1061 | + | |
| 1062 | + | |
1063 | 1063 | | |
1064 | | - | |
1065 | | - | |
| 1064 | + | |
| 1065 | + | |
1066 | 1066 | | |
1067 | 1067 | | |
1068 | | - | |
1069 | | - | |
| 1068 | + | |
1070 | 1069 | | |
1071 | 1070 | | |
1072 | 1071 | | |
| |||
1075 | 1074 | | |
1076 | 1075 | | |
1077 | 1076 | | |
1078 | | - | |
| 1077 | + | |
| 1078 | + | |
| 1079 | + | |
| 1080 | + | |
| 1081 | + | |
| 1082 | + | |
| 1083 | + | |
1079 | 1084 | | |
1080 | 1085 | | |
1081 | 1086 | | |
| |||
0 commit comments