directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Directory Wiki] Update of "MinaSSL" by CKoppelt
Date Sun, 04 Feb 2007 19:39:57 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Directory Wiki" for change notification.

The following page has been changed by CKoppelt:
http://wiki.apache.org/directory/MinaSSL

------------------------------------------------------------------------------
+ deleted
- #format wiki
- #language en
  
- == Adding SSL Support in Mina ==
- 
- SSL support in Mina is based on the provided IO Filter:
- org.apache.mina.io.filter.SSLFilter. It is implemented using
- the new javax.net.ssl.SSLEngine introduced in Java 1.5.0.
- 
- Create and add the filter as any other Mina IO Filter, i.e. something like:
- {{{
-      SSLFilter sslFilter = new SSLFilter(sslContext);
-      acceptor.getFilterChain().addLast( "sslFilter", sslFilter );
- }}}
- where sslContext is a standard Java JSSE SSLContext. The SSLContext
- must be created and configured to set configuration parameters such
- as which cipher suites to use and whether to require client authentication etc.
- 
- For more information on how to create and initialize SSLContext, see Java
- Secure Socket  Extension (JSSE) Reference Guide, provided with the SDK
- documentation.
- 
- References:
- 
-  * [http://java.sun.com/j2se/1.5.0/docs/guide/security/jsse/JSSERefGuide.html JSSE Reference
Guide]
-  * [http://java.sun.com/products/jsse/index.jsp Java Secure Socket Extension (JSSE)]
- 

Mime
View raw message