org.globus.mds.gsi.jndi
Class SaslClientWrapper

java.lang.Object
  extended byorg.globus.mds.gsi.jndi.SaslClientWrapper

public class SaslClientWrapper
extends Object


Constructor Summary
SaslClientWrapper(com.sun.security.sasl.preview.SaslClient client)
           
 
Method Summary
 void dispose()
           
 byte[] evaluateChallenge(byte[] challengeData)
           
 String getMechanismName()
           
 Object getNegotiatedProperty(String propName)
           
 boolean hasInitialResponse()
           
 boolean isComplete()
           
 byte[] unwrap(byte[] incoming, int offset, int len)
           
 byte[] wrap(byte[] outgoing, int offset, int len)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SaslClientWrapper

public SaslClientWrapper(com.sun.security.sasl.preview.SaslClient client)
Method Detail

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()