[Beepcore-java-commits] CVS: beepcore-java/src/org/beepcore/beep/profile/sasl/otp OTPAuthenticator.j
Status: Beta
Brought to you by:
huston
From: Huston F. <hu...@us...> - 2001-11-10 21:33:32
|
Update of /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/profile/sasl/otp In directory usw-pr-cvs1:/tmp/cvs-serv17519/src/org/beepcore/beep/profile/sasl/otp Modified Files: OTPAuthenticator.java Log Message: Rename Byte/StringDataStream to Byte/StringOutputDataStream Index: OTPAuthenticator.java =================================================================== RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/profile/sasl/otp/OTPAuthenticator.java,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -r1.10 -r1.11 *** OTPAuthenticator.java 2001/11/08 05:51:34 1.10 --- OTPAuthenticator.java 2001/11/10 21:33:29 1.11 *************** *** 518,522 **** "AuthOTP Using=>" + blob.toString() + "<="); try { ! channel.sendMSG(new StringDataStream(blob.toString()), (ReplyListener) this); } catch (BEEPException x) { abort(x.getMessage()); --- 518,523 ---- "AuthOTP Using=>" + blob.toString() + "<="); try { ! channel.sendMSG(new StringOutputDataStream(blob.toString()), ! (ReplyListener) this); } catch (BEEPException x) { abort(x.getMessage()); *************** *** 609,613 **** { blob = new Blob(Blob.STATUS_CONTINUE, phrase); ! channel.sendMSG(new StringDataStream(blob.toString()), this); } catch(BEEPException x) --- 610,614 ---- { blob = new Blob(Blob.STATUS_CONTINUE, phrase); ! channel.sendMSG(new StringOutputDataStream(blob.toString()), this); } catch(BEEPException x) *************** *** 716,720 **** Blob reply = receiveIDs(data); try { ! message.sendRPY(new StringDataStream(reply.toString())); } catch (BEEPException x) { throw new SASLException(x.getMessage()); --- 717,721 ---- Blob reply = receiveIDs(data); try { ! message.sendRPY(new StringOutputDataStream(reply.toString())); } catch (BEEPException x) { throw new SASLException(x.getMessage()); *************** *** 737,741 **** try { ! message.sendRPY(new StringDataStream(new Blob(Blob.STATUS_COMPLETE).toString())); channel.setMessageListener(null); } --- 738,742 ---- try { ! message.sendRPY(new StringOutputDataStream(new Blob(Blob.STATUS_COMPLETE).toString())); channel.setMessageListener(null); } *************** *** 759,763 **** authenticated); Blob reply = new Blob(Blob.STATUS_ABORT, s.getMessage()); ! message.sendRPY(new StringDataStream(reply.toString())); // channel.setDataListener(null); } --- 760,764 ---- authenticated); Blob reply = new Blob(Blob.STATUS_ABORT, s.getMessage()); ! message.sendRPY(new StringOutputDataStream(reply.toString())); // channel.setDataListener(null); } *************** *** 860,864 **** { Blob a = new Blob(Blob.STATUS_ABORT, x.getMessage()); ! channel.sendMSG(new StringDataStream(a.toString()), this); } --- 861,865 ---- { Blob a = new Blob(Blob.STATUS_ABORT, x.getMessage()); ! channel.sendMSG(new StringOutputDataStream(a.toString()), this); } |