For the latest news and information visit
The GNU Crypto project

gnu.crypto.sasl
Class ClientFactory

java.lang.Object
  extended bygnu.crypto.sasl.ClientFactory
All Implemented Interfaces:
javax.security.sasl.SaslClientFactory

public class ClientFactory
extends java.lang.Object
implements javax.security.sasl.SaslClientFactory

The implementation of SaslClientFactory.

Version:
$Revision: 1.2 $

Constructor Summary
ClientFactory()
           
 
Method Summary
 javax.security.sasl.SaslClient createSaslClient(java.lang.String[] mechanisms, java.lang.String authorisationID, java.lang.String protocol, java.lang.String serverName, java.util.Map props, javax.security.auth.callback.CallbackHandler cbh)
           
static ClientMechanism 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

ClientFactory

public ClientFactory()
Method Detail

getNames

public static final java.util.Set getNames()

getInstance

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

createSaslClient

public javax.security.sasl.SaslClient createSaslClient(java.lang.String[] mechanisms,
                                                       java.lang.String authorisationID,
                                                       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:
createSaslClient in interface javax.security.sasl.SaslClientFactory
Throws:
javax.security.sasl.SaslException

getMechanismNames

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

For the latest news and information visit
The GNU Crypto project

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