db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sunitha Kambhampati (JIRA)" <derby-...@db.apache.org>
Subject [jira] Commented: (DERBY-1080) Connection reset when using security mechanism=EUSRIDPWD results in protocol error.
Date Mon, 13 Mar 2006 17:24:39 GMT
    [ http://issues.apache.org/jira/browse/DERBY-1080?page=comments#action_12370212 ] 

Sunitha Kambhampati commented on DERBY-1080:
--------------------------------------------

If there are no issues, I'd appreciate if someone can commit this patch (derby1080.2.diff.txt).
  Thanks. 
Here is the short description for checkin comment. 
--------------------------------------------------
DERBY-1080:  Connection reset when using security mechanism=EUSRIDPWD results in protocol
error.

For eusridpwd case, the client sends the encrypted userid and password sectkns as part of
SECCHK. The protocol error was happening because we only read the 2 sectkns if the database.decryptedUserId
, database.decryptedPassword is null, otherwise we think we have already read this. Thus on
a connection reset,if the decryptedUserId and decryptedPassword are not reset, server assumes
we have seen more SECTKN's and thus we throw error too many codepoints. 

Patch adds
-- code to reset the security mechanism related variables on a connection re-use.
-- regression test to testSecMec.java
----------------------------------------------------

> Connection reset when using security mechanism=EUSRIDPWD results in protocol error.
> -----------------------------------------------------------------------------------
>
>          Key: DERBY-1080
>          URL: http://issues.apache.org/jira/browse/DERBY-1080
>      Project: Derby
>         Type: Bug
>     Versions: 10.0.2.0, 10.0.2.1, 10.1.1.0, 10.1.1.1, 10.1.1.2, 10.1.2.0, 10.1.2.1, 10.1.2.2
>     Reporter: Sunitha Kambhampati
>     Assignee: Sunitha Kambhampati
>      Fix For: 10.2.0.0
>  Attachments: Derby1080.diff.txt, Derby1080.stat.txt, derby1080.2.diff.txt, derby1080.2.stat.txt
>
> if connection is reset,  the security mechanism related information for EUSRIDPWD is
not reset correctly and this leads to a protocol error. 

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


Mime
View raw message