@Override
public boolean handleVerification(PXContext context, HttpServletResponseWrapper responseWrapper) throws PXException {
boolean verified = shouldPassRequest(context);
if (verified) {
logger.info("Passing request {} {}", verified, this.pxConfiguration.getModuleMode());
// Not blocking request and sending page_requested activity to px if configured as true
if (this.pxConfiguration.shouldSendPageActivities()) {
this.activityHandler.handlePageRequestedActivity(context);
}
} else {
logger.info("Request invalid");
this.activityHandler.handleBlockActivity(context);
this.blockHandler.handleBlocking(context, this.pxConfiguration, responseWrapper);
}
return verified;
}
DefaultVerificationHandler.java 文件源码
java
阅读 29
收藏 0
点赞 0
评论 0
项目:perimeterx-java-sdk
作者:
评论列表
文章目录