Java Globus API: Class ClientFactory
org.globus.mds.gsi.jndi
Class ClientFactory
java.lang.Object
|
+--org.globus.mds.gsi.jndi.ClientFactory
- All Implemented Interfaces:
- com.sun.security.sasl.preview.SaslClientFactory
- public class ClientFactory
- extends Object
- implements com.sun.security.sasl.preview.SaslClientFactory
Client factory for Globus GSI.
The name of the mechanims should be changed, as GSSAPI specifically
appies to Kerberos V5.
|
Method Summary |
com.sun.security.sasl.preview.SaslClient |
createSaslClient(String[] mechs,
String authorizationId,
String protocol,
String serverName,
Hashtable props,
CallbackHandler cbh)
|
com.sun.security.sasl.preview.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 |
ClientFactory
public ClientFactory()
createSaslClient
public com.sun.security.sasl.preview.SaslClient createSaslClient(String[] mechs,
String authorizationId,
String protocol,
String serverName,
Hashtable props,
CallbackHandler cbh)
throws com.sun.security.sasl.preview.SaslException
- Specified by:
createSaslClient in interface com.sun.security.sasl.preview.SaslClientFactory
createSaslClient
public com.sun.security.sasl.preview.SaslClient createSaslClient(String[] mechs,
String authorizationId,
String protocol,
String serverName,
Map props,
CallbackHandler cbh)
throws com.sun.security.sasl.preview.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.
- Specified by:
getMechanismNames in interface com.sun.security.sasl.preview.SaslClientFactory
getMechanismNames
public String[] getMechanismNames()
- This function is replaced with the above one
in the latest RFC.