org.globus.mds.gsi.jndi
Class ClientFactory

java.lang.Object
  extended by org.globus.mds.gsi.jndi.ClientFactory

public class ClientFactory
extends Object

Client factory for Globus GSI. The name of the mechanims should be changed, as GSSAPI specifically appies to Kerberos V5.


Constructor Summary
ClientFactory()
           
 
Method Summary
 SaslClient createSaslClient(String[] mechs, String authorizationId, String protocol, String serverName, Hashtable props, CallbackHandler cbh)
           
 SaslClient createSaslClient(String[] mechs, String authorizationId, String protocol, String serverName, Map props, CallbackHandler cbh)
           
 String[] getMechanismNames()
          This function is replaced with the above one in the latest RFC.
 String[] getMechanismNames(Hashtable props)
          Returns an array of names of mechanisms that match the specified mechanism selection policies.
 String[] getMechanismNames(Map props)
          Returns an array of names of mechanisms that match the specified mechanism selection policies.
 
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

createSaslClient

public SaslClient createSaslClient(String[] mechs,
                                   String authorizationId,
                                   String protocol,
                                   String serverName,
                                   Hashtable props,
                                   CallbackHandler cbh)
                            throws SaslException
Throws:
SaslException

createSaslClient

public SaslClient createSaslClient(String[] mechs,
                                   String authorizationId,
                                   String protocol,
                                   String serverName,
                                   Map props,
                                   CallbackHandler cbh)
                            throws SaslException
Throws:
SaslException

getMechanismNames

public String[] getMechanismNames(Map props)
Returns an array of names of mechanisms that match the specified mechanism selection policies.


getMechanismNames

public String[] getMechanismNames(Hashtable props)
Returns an array of names of mechanisms that match the specified mechanism selection policies.


getMechanismNames

public String[] getMechanismNames()
This function is replaced with the above one in the latest RFC.