You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Vinod Panicker (JIRA)" <ji...@apache.org> on 2005/06/01 12:18:00 UTC

[jira] Updated: (DIRMINA-50) SSLHandler doesn't set client auth params correctly

     [ http://issues.apache.org/jira/browse/DIRMINA-50?page=all ]

Vinod Panicker updated DIRMINA-50:
----------------------------------

    Attachment: sslhandler.patch

> 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
>     Assignee: 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