org.apache.directory.ldap.client.api.callback
Class SaslCallbackHandler

java.lang.Object
  extended by org.apache.directory.ldap.client.api.callback.SaslCallbackHandler
All Implemented Interfaces:
CallbackHandler

public class SaslCallbackHandler
extends Object
implements CallbackHandler

The CallbackHandler implementation used by the LdapConnection during SASL mechanism based bind operations.

Author:
Apache Directory Project

Constructor Summary
SaslCallbackHandler(SaslRequest saslReq)
          Instantiates a new SASL callback handler.
 
Method Summary
 void handle(Callback[] callbacks)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SaslCallbackHandler

public SaslCallbackHandler(SaslRequest saslReq)
Instantiates a new SASL callback handler.

Parameters:
saslReq - the SASL request
Method Detail

handle

public void handle(Callback[] callbacks)
            throws IOException,
                   UnsupportedCallbackException

Specified by:
handle in interface CallbackHandler
Throws:
IOException
UnsupportedCallbackException


Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.