Re: SSLFilter ClassCastException String

2008-06-19 Thread Mike Heath
Vijay T wrote: hi, i have configured my NioSocketAcceptor class with SSL based...im getting ClassCastException when writing message to client as String (ie.. iosession.write(str))... actually SSLFilter expects the message in IoBuffer... also my SSLFilter is on top, before ProtocolCodecFilter.. d

Re: SSLFilter ClassCastException String

2008-06-18 Thread Alex Karasulu
There are special messages triggered when the session is secured or unsecured (downgraded) via the SSLFilter. I.e. SSLFilter.SESSION_SECURED, and SSLFilter.SESSION_UNSECURED. Take a good close look at the documentation about using these message types. Also check and see what it is you're actuall

SSLFilter ClassCastException String

2008-06-18 Thread Vijay T
hi, i have configured my NioSocketAcceptor class with SSL based...im getting ClassCastException when writing message to client as String (ie.. iosession.write(str))... actually SSLFilter expects the message in IoBuffer... also my SSLFilter is on top, before ProtocolCodecFilter.. does it mean that