For the latest news and information visit
The GNU Crypto project

gnu.crypto.sasl
Class ServerFactory

java.lang.Object
  extended by gnu.crypto.sasl.ServerFactory
All Implemented Interfaces:
SaslServerFactory

public class ServerFactory
extends Object
implements SaslServerFactory

The implementation of the SaslServerFactory.

Version:
$Revision: 1.4 $

Constructor Summary
ServerFactory()
           
 
Method Summary
 SaslServer createSaslServer(String mechanism, String protocol, String serverName, Map props, CallbackHandler cbh)
           
static ServerMechanism getInstance(String mechanism)
           
 String[] getMechanismNames(Map props)
           
static Set getNames()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerFactory

public ServerFactory()
Method Detail

getNames

public static final Set getNames()

getInstance

public static final ServerMechanism getInstance(String mechanism)

createSaslServer

public SaslServer createSaslServer(String mechanism,
                                   String protocol,
                                   String serverName,
                                   Map props,
                                   CallbackHandler cbh)
                            throws SaslException
Specified by:
createSaslServer in interface SaslServerFactory
Throws:
SaslException

getMechanismNames

public String[] getMechanismNames(Map props)
Specified by:
getMechanismNames in interface SaslServerFactory

For the latest news and information visit
The GNU Crypto project

Copyright © 2001, 2002, 2003 Free Software Foundation, Inc. All Rights Reserved.