For the latest news and information visit
The GNU Crypto project

gnu.crypto.sasl
Class ServerFactory

java.lang.Object
  extended bygnu.crypto.sasl.ServerFactory
All Implemented Interfaces:
javax.security.sasl.SaslServerFactory

public class ServerFactory
extends java.lang.Object
implements javax.security.sasl.SaslServerFactory

The implementation of the SaslServerFactory.

Version:
$Revision: 1.2 $

Constructor Summary
ServerFactory()
           
 
Method Summary
 javax.security.sasl.SaslServer createSaslServer(java.lang.String mechanism, java.lang.String protocol, java.lang.String serverName, java.util.Map props, javax.security.auth.callback.CallbackHandler cbh)
           
static ServerMechanism getInstance(java.lang.String mechanism)
           
 java.lang.String[] getMechanismNames(java.util.Map props)
           
static java.util.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 java.util.Set getNames()

getInstance

public static final ServerMechanism getInstance(java.lang.String mechanism)

createSaslServer

public javax.security.sasl.SaslServer createSaslServer(java.lang.String mechanism,
                                                       java.lang.String protocol,
                                                       java.lang.String serverName,
                                                       java.util.Map props,
                                                       javax.security.auth.callback.CallbackHandler cbh)
                                                throws javax.security.sasl.SaslException
Specified by:
createSaslServer in interface javax.security.sasl.SaslServerFactory
Throws:
javax.security.sasl.SaslException

getMechanismNames

public java.lang.String[] getMechanismNames(java.util.Map props)
Specified by:
getMechanismNames in interface javax.security.sasl.SaslServerFactory

For the latest news and information visit
The GNU Crypto project

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