pgsql/src/interfaces/jdbc/org/postgresql PG_St ... - Mailing list pgsql-committers

From Bruce Momjian - CVS
Subject pgsql/src/interfaces/jdbc/org/postgresql PG_St ...
Date
Msg-id 200108260106.f7Q16Kd40002@hub.org
Whole thread Raw
List pgsql-committers
CVSROOT:    /home/projects/pgsql/cvsroot
Module name:    pgsql
Changes by:    momjian@hub.org    01/08/25 21:06:20

Modified files:
    src/interfaces/jdbc/org/postgresql: PG_Stream.java

Log message:
    >>>>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 Daney


pgsql-committers by date:

Previous
From: Bruce Momjian - CVS
Date:
Subject: pgsql/src/test/regress resultmap
Next
From: Bruce Momjian - CVS
Date:
Subject: pgsql/src/bin/scripts createuser