Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The two-argument form of doPrivileged() allows stripping all permissions other than the ones specified in the ProtectionDomain. Refer to guideline SEC00-J. Follow the principle of least privilegeAvoid granting excess privileges for more details on using the two-argument doPrivileged() method.

...