基于pigx的分布式架构
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

57 lines
2.0 KiB

11 months ago
  1. {
  2. "groups": [
  3. {
  4. "name": "security.xss",
  5. "type": "com.pig4cloud.pig.common.xss.config.PigXssProperties",
  6. "sourceType": "com.pig4cloud.pig.common.xss.config.PigXssProperties"
  7. }
  8. ],
  9. "properties": [
  10. {
  11. "name": "security.xss.enable-escape",
  12. "type": "java.lang.Boolean",
  13. "description": "[clear 专用] 使用转义,默认关闭",
  14. "sourceType": "com.pig4cloud.pig.common.xss.config.PigXssProperties",
  15. "defaultValue": false
  16. },
  17. {
  18. "name": "security.xss.enabled",
  19. "type": "java.lang.Boolean",
  20. "description": "开启xss",
  21. "sourceType": "com.pig4cloud.pig.common.xss.config.PigXssProperties",
  22. "defaultValue": true
  23. },
  24. {
  25. "name": "security.xss.mode",
  26. "type": "com.pig4cloud.pig.common.xss.config.PigXssProperties$Mode",
  27. "description": "模式:clear 清理(默认),escape 转义",
  28. "sourceType": "com.pig4cloud.pig.common.xss.config.PigXssProperties"
  29. },
  30. {
  31. "name": "security.xss.path-exclude-patterns",
  32. "type": "java.util.List<java.lang.String>",
  33. "description": "放行的路由,默认为空",
  34. "sourceType": "com.pig4cloud.pig.common.xss.config.PigXssProperties"
  35. },
  36. {
  37. "name": "security.xss.path-patterns",
  38. "type": "java.util.List<java.lang.String>",
  39. "description": "拦截的路由,默认为空",
  40. "sourceType": "com.pig4cloud.pig.common.xss.config.PigXssProperties"
  41. },
  42. {
  43. "name": "security.xss.pretty-print",
  44. "type": "java.lang.Boolean",
  45. "description": "[clear 专用] prettyPrint,默认关闭: 保留换行",
  46. "sourceType": "com.pig4cloud.pig.common.xss.config.PigXssProperties",
  47. "defaultValue": false
  48. },
  49. {
  50. "name": "security.xss.trim-text",
  51. "type": "java.lang.Boolean",
  52. "description": "全局:对文件进行首尾 trim",
  53. "sourceType": "com.pig4cloud.pig.common.xss.config.PigXssProperties",
  54. "defaultValue": true
  55. }
  56. ],
  57. "hints": []
  58. }