org.apache.geronimo.gshell.whisper.ssl
Class BogusSSLContextFactory

java.lang.Object
  extended by org.apache.geronimo.gshell.whisper.ssl.BogusSSLContextFactory
All Implemented Interfaces:
SSLContextFactory, org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable

@Component(role=SSLContextFactory.class,
           hint="bogus")
public class BogusSSLContextFactory
extends Object
implements SSLContextFactory, org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable

Factory to create a bougus SSLContext.

Version:
$Rev: 580765 $ $Date: 2007-09-30 11:52:39 -0700 (Sun, 30 Sep 2007) $

Constructor Summary
BogusSSLContextFactory()
           
 
Method Summary
 SSLContext createClientContext()
          Creates a SSLContext suiteable for client-side usage.
 SSLContext createServerContext()
          Creates a SSLContext suiteable for server-side usage.
 void initialize()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BogusSSLContextFactory

public BogusSSLContextFactory()
Method Detail

initialize

public void initialize()
                throws org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationException
Specified by:
initialize in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable
Throws:
org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationException

createServerContext

public SSLContext createServerContext()
                               throws GeneralSecurityException
Description copied from interface: SSLContextFactory
Creates a SSLContext suiteable for server-side usage.

Specified by:
createServerContext in interface SSLContextFactory
Throws:
GeneralSecurityException

createClientContext

public SSLContext createClientContext()
                               throws GeneralSecurityException
Description copied from interface: SSLContextFactory
Creates a SSLContext suiteable for client-side usage.

Specified by:
createClientContext in interface SSLContextFactory
Throws:
GeneralSecurityException


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.