Package org.postgresql.pljava.policy


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.

  • Classes
    Class
    Description
    An implementation of Policy intended for temporary use while identifying needed permission grants for existing code.
    A permission like java.security.AllPermission, but without any FilePermission (the real policy's sandboxed/unsandboxed grants should handle those), nor a couple dozen varieties of RuntimePermission, SecurityPermission, and ReflectPermission that would typically not be granted without clear intent.