Update of /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/profile/sasl/otp
In directory usw-pr-cvs1:/tmp/cvs-serv16685/otp
Modified Files:
OTPAuthenticator.java
Log Message:
Changed to only log blob contents on ABORT
Index: OTPAuthenticator.java
===================================================================
RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/profile/sasl/otp/OTPAuthenticator.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** OTPAuthenticator.java 2001/07/30 13:07:11 1.7
--- OTPAuthenticator.java 2001/07/30 13:48:15 1.8
***************
*** 810,822 ****
}
- if (blob.getData() != null) {
- Log.logEntry(Log.SEV_DEBUG, OTP_AUTH,
- "OTPAuthenticator receiveRPY got an RPY=>"
- + blob.getData());
- }
String status = blob.getStatus();
if ((status != null)
&& status.equals(SASLProfile.SASL_STATUS_ABORT)) {
sendAbort = false;
abort(ERR_PEER_ABORTED + blob.getData());
--- 810,820 ----
}
String status = blob.getStatus();
if ((status != null)
&& status.equals(SASLProfile.SASL_STATUS_ABORT)) {
+ Log.logEntry(Log.SEV_DEBUG, OTP_AUTH,
+ "OTPAuthenticator receiveRPY got an RPY=>"
+ + blob.getData());
sendAbort = false;
abort(ERR_PEER_ABORTED + blob.getData());
|