The Source for Java Technology Collaboration
User: Password:
Register | Login help    

Search

Online Books:
java.net on MarkMail:


John Vieten

John Vieten has worked on the Java platform for 10 years. He is a practioner and has been steadily working in Building, Telecommunications and Banking industries on a wide range of distributed computing projects. He lives and works in Germany and enjoys traveling around the World.

 

John Vieten's blog

In Grizzly 1.9.0 ProtocolParser now supports SSL

Posted by johnmann on December 4, 2008 at 7:10 AM PST
When using NIO a receiving TCP/IP End-Point often must transform bytes into a meaningful application logic Message. Grizzly provides the ProtocolParser abstraction to simplify the necessary parsing logic. Now in Grizzly 1.9.0 ParserProtocolFilter supports SSL. Just create an SSLConfig configuration by providing trust- and keystore files and hand it to ParserProtocolFilter.setSSLConfig(SSLConfig). That's it. The Grizzly sources have a ProtocolParserTest showing a simple usecase or checkout the grizzly-samples to see a more detailed example.
Related Topics >> Glassfish      
Comments
Comments are listed in date ascending order (oldest first)
Syndicate content