Advertisement
ballchaichana

temp

Sep 7th, 2018
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.76 KB | None | 0 0
  1. UserUidDB user_ProfileList = (UserUidDB)request.getSession().getAttribute(LoginServlet.SESSION_PARAM_USER);
  2.                             if ( user_ProfileList == null || StringUtils.isEmpty(""+user_ProfileList.getUserId()) ){
  3.                                 System.err.println("Invalid user login from "+request.getRemoteAddr()+"!!! Force logout from system.");
  4.                                 LogoutServlet.doLogout(request, response, "Session timeout!, Please try to login again.");
  5.                             }
  6.                             int index = 0; 
  7.                             DocumentDAO hisDao = new DocumentDAO();
  8.                             List<DocumentDB> history = hisDAO.findByUserUID(user_ProfileList);
  9.  
  10.                             for (DocumentDB hisDao: history ){
  11.                                 SignatureProfile keyStoreUtil = null;
  12.                                                     System.out.println("DAO:USER = " + history.getCreator().getUserName().toString());
  13.  
  14.                                 }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement