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 java.lang.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(java.lang.String[] mechs,
java.lang.String authorizationId,
java.lang.String protocol,
java.lang.String serverName,
java.util.Hashtable props,
javax.security.auth.callback.CallbackHandler cbh)
|
com.sun.security.sasl.preview.SaslClient |
createSaslClient(java.lang.String[] mechs,
java.lang.String authorizationId,
java.lang.String protocol,
java.lang.String serverName,
java.util.Map props,
javax.security.auth.callback.CallbackHandler cbh)
|
java.lang.String[] |
getMechanismNames()
This function is replaced with the above one
in the latest RFC. |
java.lang.String[] |
getMechanismNames(java.util.Hashtable props)
Returns an array of names of mechanisms that match the
specified mechanism selection policies. |
java.lang.String[] |
getMechanismNames(java.util.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(java.lang.String[] mechs,
java.lang.String authorizationId,
java.lang.String protocol,
java.lang.String serverName,
java.util.Hashtable props,
javax.security.auth.callback.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(java.lang.String[] mechs,
java.lang.String authorizationId,
java.lang.String protocol,
java.lang.String serverName,
java.util.Map props,
javax.security.auth.callback.CallbackHandler cbh)
throws com.sun.security.sasl.preview.SaslException
getMechanismNames
public java.lang.String[] getMechanismNames(java.util.Map props)
- Returns an array of names of mechanisms that match the
specified mechanism selection policies.
getMechanismNames
public java.lang.String[] getMechanismNames(java.util.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 java.lang.String[] getMechanismNames()
- This function is replaced with the above one
in the latest RFC.