Module bus.sensitive
Annotation Interface Sensitive
数据脱敏,具体如下: 1.数据库级别脱敏加密 SensitiveResultSetHandler 解密脱敏 SensitiveStatementHandler 脱敏加密 2.访问请求级别加解密 RequestBodyAdvice
解密脱敏 ResponseBodyAdvice 脱敏加密
- Since:
- Java 17+
- Author:
- Kimi Liu
-
Optional Element Summary
Optional Elements
-
Element Details
-
value
String value数据处理模式 可选值 1.Builder.ALL 全部开启 2.Builder.SENS 开启脱敏 3.Builder.SAFE 开启加解密- Returns:
- the string
- Default:
"ALL"
-
stage
String stage数据出入方向 可选值 1.Builder.ALL 全部开启 2.Builder.IN 请求/写入 3.Builder.OUT 查询/输出 4.Builder.OVERALL 全局加密- Returns:
- the string
- Default:
"ALL"
-
field
String[] field脱敏属性 {"id","name"}- Returns:
- the array
- Default:
{}
-
skip
String[] skip忽略属性 {"created","creator"}- Returns:
- the array
- Default:
{}
-
inside
boolean inside内部脱敏:true/false- Returns:
- the boolean
- Default:
true
-