Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- UserUidDB user_ProfileList = (UserUidDB)request.getSession().getAttribute(LoginServlet.SESSION_PARAM_USER);
- if ( user_ProfileList == null || StringUtils.isEmpty(""+user_ProfileList.getUserId()) ){
- System.err.println("Invalid user login from "+request.getRemoteAddr()+"!!! Force logout from system.");
- LogoutServlet.doLogout(request, response, "Session timeout!, Please try to login again.");
- }
- int index = 0;
- DocumentDAO hisDao = new DocumentDAO();
- List<DocumentDB> history = hisDAO.findByUserUID(user_ProfileList);
- for (DocumentDB hisDao: history ){
- SignatureProfile keyStoreUtil = null;
- System.out.println("DAO:USER = " + history.getCreator().getUserName().toString());
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement