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

SubjectDomainCombiner should not cache Policy object

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.0
    • security-libs
    • None
    • beta
    • generic
    • generic

      The current SubjectDomainCombiner implementation caches the value of Policy.getPolicy at constructor time. As such, a subsequent call to Policy.setPolicy will have no effect on any existing thread that is still executing in a doAs, and no effect on any threads that caches an AccessControlContext containing a combiner and uses it later. The spec does not say this occurs.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: