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

cross-realm capath search error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 7
    • 7
    • security-libs
    • b50
    • generic
    • generic
    • Verified

      The interpretation of [capaths] is not correct in Realm.parseCapaths().

      1. A list is always returned even if there's no path
      2. The search does not stop when a direct trust (".") is found.

      Also, in the hierachical algorithm Realm.parseHierarchy(). there are some issues:

      1. A->B's path is [A]. Shouldn't it be null?
      2. A.COM->B.COM's path is [A.COM, COM]. Shall we accept COM as an existing intermediary?

            weijun Weijun Wang
            weijun Weijun Wang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: