How can permissions be given to a resource adapter

I have developed a Resource Adapter and deployed it in the Suns app server (J2EE 1.3), but this connector uses some libraries that need some permissions like modifyThreadGroup. I tried to modify the server.policy file by adding:

grant codeBase "file:${com.sun.enterprise.home}/connector/adapters/-" {

permission java.security.AllPermission;

};

but it does not work. I think that the problem is that it does not recohnize the .rar files. The only thing I can do is granting the necessary permissions to any code in the app server.

Any idea?

[584 byte] By [eseglo] at [2007-9-26 4:05:05]
# 1
we have a similar problem...we ae tryng to getconnection from behind firewall.we are not able to
SRGUNA at 2007-6-29 13:04:10 > top of Java-index,Security,Other Security APIs, Tools, and Issues...