org.globus.mds.gsi.jndi
Class SaslClientWrapper
java.lang.Object
org.globus.mds.gsi.jndi.SaslClientWrapper
- public class SaslClientWrapper
- extends Object
Constructor Summary |
SaslClientWrapper(com.sun.security.sasl.preview.SaslClient client)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SaslClientWrapper
public SaslClientWrapper(com.sun.security.sasl.preview.SaslClient client)
hasInitialResponse
public boolean hasInitialResponse()
evaluateChallenge
public byte[] evaluateChallenge(byte[] challengeData)
throws SaslException
- Throws:
SaslException
wrap
public byte[] wrap(byte[] outgoing,
int offset,
int len)
throws SaslException
- Throws:
SaslException
unwrap
public byte[] unwrap(byte[] incoming,
int offset,
int len)
throws SaslException
- Throws:
SaslException
dispose
public void dispose()
throws SaslException
- Throws:
SaslException
getNegotiatedProperty
public Object getNegotiatedProperty(String propName)
isComplete
public boolean isComplete()
getMechanismName
public String getMechanismName()