Hi Rick,

And thanks for this answer.

To close that subject, I must say that I wasn't able to set the required privilege using neither of the rules:

> grant codebase "${derby.install.url}derby.jar" {
>     permission java.net.SocketPermission  "*:25", "connect"
> }
> grant codebase "${derby.install.url}derbynet.jar" {
>     permission java.net.SocketPermission  "*:25", "connect"
> }

The only one that does the trick was:
> grant {
>     permission java.net.SocketPermission  "*:25", "connect"
> }
But, this will allow any class from any JAR directly or indirectly loaded in the JVM to send mail...

> So I have created DERBY-4354 to track this issue. Feel free to
> vote for this issue--that will improve its chances of being considered
> for a future feature release.
I will do!

Sylvain
--
Website: http://www.chicoree.fr

Reply via email to