JavaScript is disabled on your browser.
Skip navigation links
Overview
Package
Class
Use
Tree
Index
Help
Summary:
Field |
Optional
|
Required
Detail:
Field |
Element
SEARCH:
Package
org.aoju.bus.sensitive.annotation
Annotation Interface NShield
@Documented
@Target
(
FIELD
)
@Retention
(
RUNTIME
)
public @interface
NShield
对json内的key_value进行脱敏/过滤
Since:
Java 17+
Author:
Kimi Liu
Required Element Summary
Required Elements
Modifier and Type
Required Element
Description
Class
<?>
type
过滤对象
Optional Element Summary
Optional Elements
Modifier and Type
Optional Element
Description
String
filter
过滤属性
String
include
包含属性
Shield
[]
value
需要脱敏的字段的数组
Element Details
type
Class
<?>
type
过滤对象
Returns:
对象信息
value
Shield
[]
value
需要脱敏的字段的数组
Returns:
返回结果
Default:
{}
include
String
include
包含属性
Returns:
对象属性
Default:
""
filter
String
filter
过滤属性
Returns:
对象属性
Default:
""