Class SaFirewallCheckHookForPathDangerCharacter

java.lang.Object
cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForPathDangerCharacter
All Implemented Interfaces:
SaFirewallCheckHook

public class SaFirewallCheckHookForPathDangerCharacter extends Object implements SaFirewallCheckHook
防火墙策略校验钩子函数:请求 path 危险字符校验
Since:
1.41.0
Author:
click33
  • Field Details

  • Constructor Details

    • SaFirewallCheckHookForPathDangerCharacter

      public SaFirewallCheckHookForPathDangerCharacter()
  • Method Details

    • resetConfig

      public void resetConfig(String... character)
      重载配置
      Parameters:
      character - 危险字符列表
    • execute

      public void execute(SaRequest req, SaResponse res, Object extArg)
      执行的方法
      Specified by:
      execute in interface SaFirewallCheckHook
      Parameters:
      req - 请求对象
      res - 响应对象
      extArg - 预留扩展参数