Comments (4)
合并了配置 https://github.com/yinjihuan/monkey-api-encrypt/releases/tag/1.2.1.RELEASE
from monkey-api-encrypt.
没太明白你的点,现在也可以在配置文件中配置忽略哪些接口,不知道你是否要的是这个
from monkey-api-encrypt.
我的意思是加注解配置忽略后,文件配置忽略哪些接口就会失效。
上面的截图是获取忽略url list,上图中getRequestDecyptUriIgnoreList()方法中你先判断了ApiEncryptDataInit.requestDecyptUriIgnoreList.size()中有没有数据,有数据则返回。但这个数据是通过注解加载来的。this.requestDecyptUriIgnoreList;则是加载配置文件中的忽略的url。所以我想说的是注解的配置优先级会大于配置文件。
但是实际场景可能都会用到,就比如swagger的请求路径其实不需要用注解配置。
不知道有没有阐述清楚 感谢
from monkey-api-encrypt.
明白了,之前的想法是只有一种方式的配置,要么注解,要么配置文件,如果有注解就优先。后面可以考虑合并
from monkey-api-encrypt.
Related Issues (20)
- 使用@RequestMapping时,如果没有指定method,则会报错! HOT 2
- BadPaddingException HOT 1
- 关于RSA自定义算法 HOT 3
- restFul风格的接口,使用@@DecryptIgnore或者@EncryptIgnore启动会报错
- response.setContentLength问题 HOT 1
- 如果使用注解配置方式,@RequestMapping接收post请求没法处理加密解密 HOT 1
- 随机生成key HOT 2
- 不支持 /encryptEntity/{parm} HOT 8
- AES 加密 Pcks5 与 Pcks7 填充策略的问题 HOT 1
- 更新到1.2.2.RELEASE版本,访问controller报错Invalid AES key length: 8 bytes HOT 2
- 1.2.2RELEASE版本自定义加密算法 删除了EncryptionFilter(EncryptionConfig , EncryptAlgorithm )构造 HOT 1
- 实际业务对这种传输二次加密的框架有需求吗 HOT 1
- 版本1.2.2,前端解密出现异常Malformed UTF-8 data HOT 2
- umi-request请求后端不加密 HOT 1
- monkey-api-encrypt-core:1.2.RELEASE中EncryptionConfig中有一个单词拼错了 HOT 1
- 中文乱码
- 使用@Encrypt 线上中文乱码,其他加密返回 正常
- 开启@EnableEncrypt注解后 oauth/token 获取token的也被拦截进行加解密了? HOT 1
- 静态文件里面key.js的密钥是怎么生成的
- 请问可以实现对entity类中某个具体的参数进行加密而不是对整个entity进行加密解密吗?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from monkey-api-encrypt.