forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit19a251d
committed
>>>>The JDBC driver requires
>>>>>>>> permission java.net.SocketPermission "host:port", "connect";>>>>>>>>in the policy file of the application using the JDBC driver>>>>in the postgresql.jar file. Since the Socket() call in the>>>>driver is not protected by AccessController.doPrivileged() this>>>>permission must also be granted to the entire application.>>>>>>>>The attached diff fixes it so that the connect permission can be>>>>restricted just the the postgresql.jar codeBase if desired.David Daney1 parent1be615f commit19a251d
1 file changed
+28
-2
lines changedLines changed: 28 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5 | 5 |
| |
6 | 6 |
| |
7 | 7 |
| |
| 8 | + | |
8 | 9 |
| |
9 | 10 |
| |
10 | 11 |
| |
11 | 12 |
| |
12 | 13 |
| |
13 |
| - | |
| 14 | + | |
14 | 15 |
| |
15 | 16 |
| |
16 | 17 |
| |
| |||
28 | 29 |
| |
29 | 30 |
| |
30 | 31 |
| |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
31 | 51 |
| |
32 | 52 |
| |
33 | 53 |
| |
| |||
38 | 58 |
| |
39 | 59 |
| |
40 | 60 |
| |
41 |
| - | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
42 | 68 |
| |
43 | 69 |
| |
44 | 70 |
| |
|
0 commit comments
Comments
(0)