Uploaded image for project: 'Spring Web Services'
  1. Spring Web Services
  2. SWS-191

Loading default key store overwrites truststore

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0
    • Fix Version/s: 1.0.1
    • Component/s: Security
    • Labels:
      None
    • Environment:
      Independent

      Description

      When no keyStore property is set on the KeyStoreCallbackHandler a default key store is loaded. However, in stead of loading the keyStore it loads the trustStore with the data. See line 600 of KeyStoreCallbackHandler. This messes up the situation where you don't need a keyStore, but do need a trustStore (like XML encryption).

        Activity

        Hide
        arjen.poutsma Arjen Poutsma added a comment -

        Fixed!

        Show
        arjen.poutsma Arjen Poutsma added a comment - Fixed!
        Hide
        arjen.poutsma Arjen Poutsma added a comment -

        Closing 1.0.1 issues.

        Show
        arjen.poutsma Arjen Poutsma added a comment - Closing 1.0.1 issues.

          People

          • Assignee:
            arjen.poutsma Arjen Poutsma
            Reporter:
            vanwijngaarden Arie van Wijngaarden
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: