org.mailster.crypto
Class SSLFilterFactory

java.lang.Object
  extended by org.mailster.crypto.SSLFilterFactory

public class SSLFilterFactory
extends java.lang.Object

---
Mailster (C) 2007-2009 De Oliveira Edouard

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

See  Mailster Web Site
---

SSLFilterFactory.java - The factory that generates a SslFilter.

Version:
$Revision: 1.5 $, $Date: 2009/01/30 01:32:31 $
Author:
Edouard De Oliveira

Constructor Summary
SSLFilterFactory()
           
 
Method Summary
static org.apache.mina.filter.ssl.SslFilter createFilter(X509SecureSocketFactory.SSLProtocol protocol, boolean clientAuthNeeded)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SSLFilterFactory

public SSLFilterFactory()
Method Detail

createFilter

public static org.apache.mina.filter.ssl.SslFilter createFilter(X509SecureSocketFactory.SSLProtocol protocol,
                                                                boolean clientAuthNeeded)
                                                         throws java.lang.RuntimeException
Throws:
java.lang.RuntimeException