[15] RFR: 8243138: Enhance BaseLdapServer to support starttls extended request
Chris Yin
xu.y.yin at oracle.com
Thu Apr 23 01:37:29 UTC 2020
Thank you for reviewing, Aleksei
Regards,
Chris
> On 23 Apr 2020, at 8:39 AM, Aleks Efimov <aleksej.efimov at oracle.com> wrote:
>
> Hi Chris,
>
> The changes look good to me.
> Thank you for extending the LDAP test server functionality.
>
> With Best Regards,
> Aleksei
>
> On 22/04/2020 08:27, Chris Yin wrote:
>> Hello
>>
>> Please review following change for enhancement to com/sun/jndi/ldap/lib/BaseLdapServer.java, thanks
>>
>> Bug: https://bugs.openjdk.java.net/browse/JDK-8243138
>> Webrev: http://cr.openjdk.java.net/~xyin/8243138/webrev.00/
>>
>> There is requirement to test starttls extended op against dummy ldap server, but unfortunately, current BaseLdapSever logic cannot handle it correctly since the starttls request is quite special to use existed socket for tls negotiate. This enhancement will provide the possibility to wrap current socket connection and overwrite in-place processing input/output stream, certainly, that will not affect existed tests which depends on BaseLdapServer. Run existed dependency tests on 4 platforms for total 200 times, all green.
>>
>> Thanks,
>> Chris
>
More information about the core-libs-dev
mailing list