Code example for CallbackHandler

Methods: handle

0
                throw new SaslException("Protocol is null"); 
            } 
            TextOutputCallback[] cb = { new TextOutputCallback(
                    TextOutputCallback.INFORMATION, "Information") }; 
            try { 
                hnd.handle(cb);
            } catch (UnsupportedCallbackException e) {
                throw new SaslException("Incorrect callback handlere", e);
            } catch (IOException e) {
                throw new SaslException("Incorrect callback handlere", e);
            } 
            return new mySaslServer(); 
        } 
 
        public class mySaslServer implements SaslServer { 
            public mySaslServer() { 
                super(); 
            } 
 
            public void dispose() throws SaslException { 
            }