A
Andrew Thompson
In attempts to create security environments for applet testing,
I have come up with a (java.security.)PermissionCollection that
represents a typical sandbox.
Unfortunately I can see no easy way to turn a PermissionCollection
into a Policy, so that I might call java.security.Policy.setPolicy
(Policy).
Did I miss something? Is there an easier way to go from a
PermissionCollection to a workable SecurityManager?
I have come up with a (java.security.)PermissionCollection that
represents a typical sandbox.
Unfortunately I can see no easy way to turn a PermissionCollection
into a Policy, so that I might call java.security.Policy.setPolicy
(Policy).
Did I miss something? Is there an easier way to go from a
PermissionCollection to a workable SecurityManager?