Re: Fwd: migration from apache mina 2.0.21 to 2.0.23 issue

2023-04-17 Thread Emmanuel Lécharny
Great! If you don't mind, I'd like to use this piece of code to document the 2.0 -> 2.2 mogration. Just let me know if it's OK with you ! Thanks! On 17/04/2023 13:04, Kishore Mokkarala wrote: Thank you all for the help.Here is my SSL implementation for making it work with 2.2.1 for passing

Re: Fwd: migration from apache mina 2.0.21 to 2.0.23 issue

2023-04-17 Thread Jonathan Valliere
Cool. That was easy. On Mon, Apr 17, 2023 at 11:05 AM Kishore Mokkarala wrote: > Thank you all for the help.Here is my SSL implementation for making it work > with 2.2.1 for passing PEER ADDRESS (SNI host name) in the SSL engine. > > public class CustomSslFilter { > public

Re: Fwd: migration from apache mina 2.0.21 to 2.0.23 issue

2023-04-17 Thread Kishore Mokkarala
Thank you all for the help.Here is my SSL implementation for making it work with 2.2.1 for passing PEER ADDRESS (SNI host name) in the SSL engine. public class CustomSslFilter { public CustomSslFilter(SSLContext sslContext) { super(sslContext); } //Override CreateEngine protected SSLEngine

Re: Fwd: migration from apache mina 2.0.21 to 2.0.23 issue

2023-04-14 Thread Jonathan Valliere
Looking at the code for your existing filter it appears like you’re just trying to create the SSLEngine so it can be reused for subsequent connections by passing in the IP address and Port? This is already a feature in the new filter.

Re: Fwd: migration from apache mina 2.0.21 to 2.0.23 issue

2023-04-14 Thread Kishore Mokkarala
Currently we are using the following custom SSL filter for passing SNI host name. For doing this we are using PEER_ADDRESS. This was available in apache mina 2.0.21 SslHandler.java,but this attribute is not available in 2.2.10. This PEER_ADDRESS is *eid.17.cid.0* different from the actual IP

Re: Fwd: migration from apache mina 2.0.21 to 2.0.23 issue

2023-04-12 Thread Emmanuel Lécharny
Hi, On 12/04/2023 18:00, Kishore Mokkarala wrote: Thanks Emmanuel for the quick response.I have few more questions on the upgrade.Please do the needful. If i want to upgrade from Apache mina 2.0.21 to mina 2.2.1 what all steps do i need to follow ? There are two pages that explains the

Fwd: migration from apache mina 2.0.21 to 2.0.23 issue

2023-04-12 Thread Kishore Mokkarala
Thanks Emmanuel for the quick response.I have few more questions on the upgrade.Please do the needful. If i want to upgrade from Apache mina 2.0.21 to mina 2.2.1 what all steps do i need to follow ? Is it just a jar file change in the classpath or do i need to do any more changes ? Also we are