Changeset 6688
- Timestamp:
- Jan 21, 2015, 8:18:30 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/core/net/sf/basedb/core/SessionControl.java
r6685 r6688 378 378 try 379 379 { 380 Thread.sleep(500); // To prevent DOS/brute-force attacks 380 381 session = HibernateUtil.newSession(); 381 382 tx = HibernateUtil.newTransaction(session); … … 394 395 currentContexts.clear(); 395 396 loginInfo = li; 397 } 398 catch (InterruptedException ex) 399 { 400 throw new LoginException("Login aborted"); 396 401 } 397 402 catch (BaseException ex)
Note: See TracChangeset
for help on using the changeset viewer.