org.globus.mds.gsi.jndi
Class SaslClientWrapper

java.lang.Object
  extended by org.globus.mds.gsi.jndi.SaslClientWrapper
All Implemented Interfaces:
javax.security.sasl.SaslClient

public class SaslClientWrapper
extends Object
implements javax.security.sasl.SaslClient


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()
Specified by:
hasInitialResponse in interface javax.security.sasl.SaslClient

evaluateChallenge

public byte[] evaluateChallenge(byte[] challengeData)
                         throws javax.security.sasl.SaslException
Specified by:
evaluateChallenge in interface javax.security.sasl.SaslClient
Throws:
javax.security.sasl.SaslException

wrap

public byte[] wrap(byte[] outgoing,
                   int offset,
                   int len)
            throws javax.security.sasl.SaslException
Specified by:
wrap in interface javax.security.sasl.SaslClient
Throws:
javax.security.sasl.SaslException

unwrap

public byte[] unwrap(byte[] incoming,
                     int offset,
                     int len)
              throws javax.security.sasl.SaslException
Specified by:
unwrap in interface javax.security.sasl.SaslClient
Throws:
javax.security.sasl.SaslException

dispose

public void dispose()
             throws javax.security.sasl.SaslException
Specified by:
dispose in interface javax.security.sasl.SaslClient
Throws:
javax.security.sasl.SaslException

getNegotiatedProperty

public Object getNegotiatedProperty(String propName)
Specified by:
getNegotiatedProperty in interface javax.security.sasl.SaslClient

isComplete

public boolean isComplete()
Specified by:
isComplete in interface javax.security.sasl.SaslClient

getMechanismName

public String getMechanismName()
Specified by:
getMechanismName in interface javax.security.sasl.SaslClient