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:17:56 UTC

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

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


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

Posted by "Vinod Panicker (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/DIRMINA-50?page=all ]
     
Vinod Panicker closed DIRMINA-50:
---------------------------------


> 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
>  Environment: All
>     Reporter: Vinod Panicker
>     Assignee: Trustin Lee
>      Fix For: 0.7.2
>  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


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

Posted by "Trustin Lee (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/DIRMINA-50?page=all ]

Trustin Lee updated DIRMINA-50:
-------------------------------

    Fix Version: 0.7.2
    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.

  was:
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.

        Version:     (was: 0.8)
                     (was: 1.0)
                     (was: 0.9)
                     (was: 1.1)
                     (was: 0.7.2)

> 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
>  Environment: All
>     Reporter: Vinod Panicker
>     Assignee: Trustin Lee
>      Fix For: 0.7.2
>  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


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

Posted by "Trustin Lee (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/DIRMINA-50?page=all ]
     
Trustin Lee resolved DIRMINA-50:
--------------------------------

    Resolution: Fixed

> 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
>  Environment: All
>     Reporter: Vinod Panicker
>     Assignee: Trustin Lee
>      Fix For: 0.7.2
>  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


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

Posted by "Vinod Panicker (JIRA)" <ji...@apache.org>.
     [ 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