[Beepcore-java-commits] CVS: beepcore-java/src/org/beepcore/beep/profile/sasl/otp SASLOTPProfile.jav
Status: Beta
Brought to you by:
huston
From: Huston F. <hu...@us...> - 2003-10-30 14:33:01
|
Update of /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/profile/sasl/otp In directory sc8-pr-cvs1:/tmp/cvs-serv598/src/org/beepcore/beep/profile/sasl/otp Modified Files: SASLOTPProfile.java Log Message: Cleanup Index: SASLOTPProfile.java =================================================================== RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/profile/sasl/otp/SASLOTPProfile.java,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -r1.13 -r1.14 *** SASLOTPProfile.java 15 Sep 2003 15:23:31 -0000 1.13 --- SASLOTPProfile.java 30 Oct 2003 14:32:57 -0000 1.14 *************** *** 317,332 **** synchronized (auth) { auth.wait(); - - SessionCredential cred = session.getLocalCredential(); - - if (cred == null) { - auth.abort("Authentication Failed"); - } else { - success = true; - } } } catch (Exception x) { auth.abort(x.getMessage()); } return session; } --- 317,333 ---- synchronized (auth) { auth.wait(); } } catch (Exception x) { auth.abort(x.getMessage()); } + + SessionCredential cred = session.getLocalCredential(); + + if (cred == null) { + auth.abort("Authentication Failed"); + } else { + success = true; + } + return session; } |