Hi all, I have been working on this issue last night, but haven't committed yet. I will do so tonight. And I will add a junit test to check the serverContext.xml
Maarten On Jan 11, 2008 8:54 AM, Niklas Therning <[EMAIL PROTECTED]> wrote: > Lian Cheng wrote: > > Niklas Therning wrote: > > > >> You're right, the serverContext.xml file has to be updated. The three > >> first missing classes now live in org.apache.mina.filter.ssl. The last > >> one should be replaced with > >> org.apache.mina.common.DefaultIoFilterChainBuilder directly because it > >> now has the setFilters() method. > >> > >> I will take care of this this weekend. > >> > >> Thanks for letting us know! > >> > >> /Niklas > >> > >> > > > > I see, these *FactoryBean classes no longer exists because corresponding > > *Factory classes now each has proper setters and getters, right? > > > > Yes and no! :-) This is true for DefaultFilterChainBuilder. It can be > used directly from within Spring. The KeyStoreFactory and > SslContextFactory should be used like this in Spring: > > <bean id="keyStoreFactory" class="o.a.m.filter.ssl.KeyStoreFactory"> > <property name="..." value="..."/> > ... > </bean> > > <bean id="keyStore" factory-bean="keyStoreFactory" > factory-method="newInstance"/> > > SslContextFactory is used similarly. > > /Niklas > >