Package org.postgresql.pljava.policy
Package implementing custom Java security policy useful while migrating
existing code to policy-based PL/Java; allows permission checks denied by the
main policy to succeed, while logging them so any needed permission grants
can be identified and added to the main policy.
This package is exported to java.base
to provide a custom
Permission
that can be granted in policy.
-
Class Summary Class Description TrialPolicy An implementation ofPolicy
intended for temporary use while identifying needed permission grants for existing code.TrialPolicy.Permission A permission likejava.security.AllPermission
, but without anyFilePermission
(the real policy's sandboxed/unsandboxed grants should handle those), nor a couple dozen varieties ofRuntimePermission
,SecurityPermission
, andReflectPermission
that would typically not be granted without clear intent.