SSLHandler doesn't set client auth params correctly
---------------------------------------------------
Key: DIRMINA-50
URL: http://issues.apache.org/jira/browse/DIRMINA-50
Project: Directory MINA
Type: Bug
Versions: 0.7.1, 0.7, 0.7.2, 0.8, 0.9, 1.0, 1.1
Environment: All
Reporter: Vinod Panicker
Assigned to: Trustin Lee
Attachments: sslhandler.patch
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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira