...
|
...
|
@@ -51,7 +51,6 @@ public class SignatureVerifyInterceptor implements HandlerInterceptor, Applicati |
|
|
public boolean preHandle(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, Object o) throws Exception {
|
|
|
//(1) 验签开关, 控制是否需要验签. 默认需要验证
|
|
|
boolean isSignatureVerifyEnable = configReader.getBoolean("gateway.security.isSignatureVerifyEnable", true);
|
|
|
logger.info("isDebugEnable is {},request param debug is {}",isDebugEnable,httpServletRequest.getParameter("debug"));//TODO test
|
|
|
if(!isSignatureVerifyEnable){
|
|
|
logger.debug("gateway.security.isSignatureVerifyEnable is false");
|
|
|
return true;
|
...
|
...
|
|