Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4304921

Policy should not have a getPermissions check

XMLWordPrintable

    • 1.0
    • generic
    • solaris_2.6

      Policy.getPermissions should not have an additional permission check.
      the existing check on Policy.getPolicy should be sufficient.

      this has some extra ramifications.
      PolicyFile should not be doing any doPrivileged calls.
      this is to circumvent rogue code that attempts to directly instantiate
      the actual PolicyFile class.

      the higher level JAAS code (SubjectDomainCombiner) should access
      the JAAS Policy within a doPrivileged block.

            claisunw Charlie Lai (Inactive)
            claisunw Charlie Lai (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: