SubjectDomainCombiner fails to check for null in combineJavaxPolicy

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P2
    • 6
    • Affects Version/s: 1.4.2_06, 6
    • Component/s: security-libs
    • beta
    • generic, x86
    • generic, solaris_2.5.1

        1) Set security property auth.policy.provider to a valid JAAS policy provider
        2) In a custom classloader, creates protection domains with null permission sets - and ensure these protection domains are on the stack
        3) In the test case, does Subject.getSubject(ACC), this will trigger SubjectDomainCombiner.combineJavaxPolicy to be called. When it reaches the protection domain with a null permission set, it'll bomb out with NullPointerException

              Assignee:
              Charlie Lai (Inactive)
              Reporter:
              Marvin Ma (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: