Uploaded image for project: 'MINA'
  1. MINA
  2. DIRMINA-50

SSLHandler doesn't set client auth params correctly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.7.0, 0.7.1
    • 0.7.2
    • None
    • None
    • All

    Description

      The SSLHandler doesn't set the client auth params correctly. The setNeedClientAuth and setWantClientAuth should be set only if true. According to the SSLEngine javadoc, they effect each other.

      Can be verified by checking the SSLSession after a successful handshake. Eg, even if you set "need" to true and later set "want" to false, "need" automatically gets reset to false.

      The patch fixes this problem.

      Attachments

        1. sslhandler.patch
          1 kB
          Vinod Panicker

        Activity

          People

            trustin Trustin Lee
            vinod.p Vinod Panicker
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: