dromara / sureness

A simple and efficient security framework that focus on protection of API.

Home Page:https://usthe.com/sureness

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

spring-boot-starter-sureness模块下调整建议

ParkerJX opened this issue · comments

spring-boot-starter-sureness

  1. 建议使用 spring-boot 官方建议的命名规范,使用 xxx-spring-boot-starter
  2. 建议SurenessFilter 可以自定义注入,并非配置sureness.container=servlet 就一定需要他。比如我在某个项目中,只有部分的 openapi 需要此鉴权。如果配置excludedResource: 又太过繁琐。或者增加FilterUrlPatterns配置

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


spring-boot-starter-sureness

  1. It is recommended to use the naming convention officially recommended by spring-boot, and use the xxx-spring-boot-starter

got it