Update of /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/profile/sasl/otp
In directory usw-pr-cvs1:/tmp/cvs-serv24137/src/org/beepcore/beep/profile/sasl/otp
Modified Files:
OTPAuthenticator.java SASLOTPProfile.java
Log Message:
New *DataStream
Index: OTPAuthenticator.java
===================================================================
RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/profile/sasl/otp/OTPAuthenticator.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** OTPAuthenticator.java 2001/07/30 13:48:15 1.8
--- OTPAuthenticator.java 2001/10/31 00:32:38 1.9
***************
*** 142,146 ****
state = STATE_STARTED;
channel = ch;
! channel.setDataListener(this);
}
--- 142,146 ----
state = STATE_STARTED;
channel = ch;
! channel.setMessageListener(this);
}
***************
*** 738,742 ****
{
message.sendRPY(new StringDataStream(new Blob(Blob.STATUS_COMPLETE).toString()));
! channel.setDataListener(null);
}
catch(BEEPException x)
--- 738,742 ----
{
message.sendRPY(new StringDataStream(new Blob(Blob.STATUS_COMPLETE).toString()));
! channel.setMessageListener(null);
}
catch(BEEPException x)
Index: SASLOTPProfile.java
===================================================================
RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/profile/sasl/otp/SASLOTPProfile.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** SASLOTPProfile.java 2001/06/28 15:42:49 1.5
--- SASLOTPProfile.java 2001/10/31 00:32:38 1.6
***************
*** 166,170 ****
"Blobbed64 Challenge is=>" + data);
}
! channel.setDataListener(temp);
if(blob != null)
sendProfile(channel.getSession(), URI, blob.toString(),
--- 166,170 ----
"Blobbed64 Challenge is=>" + data);
}
! channel.setMessageListener(temp);
if(blob != null)
sendProfile(channel.getSession(), URI, blob.toString(),
|