Examples of IPBlockInfo


Examples of ru.org.linux.auth.IPBlockInfo

            topic
    );

    params.put("commentsPrepared", commentsPrepared);

    IPBlockInfo ipBlockInfo = ipBlockDao.getBlockInfo(request.getRemoteAddr());
    params.put("ipBlockInfo", ipBlockInfo);

    if (pages>1 && !showDeleted) {
      params.put("pages", buildPages(topic, tmpl.getProf().getMessages(), filterMode, defaultFilterMode, page));
    }
View Full Code Here

Examples of ru.org.linux.auth.IPBlockInfo

    mv.getModel().put("topics", getTopics(ip));
    mv.getModel().put("comments", getComments(ip));
    mv.getModel().put("users", getUsers(ip, userAgentId));

    IPBlockInfo blockInfo = ipBlockDao.getBlockInfo(ip);

    Boolean allowPosting = false;
    Boolean captchaRequired = true;
    if (blockInfo.isInitialized()) {
      mv.getModel().put("blockInfo", blockInfo);
      allowPosting = blockInfo.isAllowRegistredPosting();
      captchaRequired = blockInfo.isCaptchaRequired();
      mv.getModel().put("blockModerator", userDao.getUserCached(blockInfo.getModerator()));
    }
    mv.addObject("allowPosting", allowPosting);
    mv.addObject("captchaRequired", captchaRequired);

    mv.getModel().put("tor", IPBlockDao.getTor(ip));
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.