This annotation marks fields that need to be masked.
11 | *
12 | * @author SunTao
13 | * @since 2024-05-15
14 | */
15 | @Documented
16 | @Target(ElementType.FIELD)
17 | @Retention(RetentionPolicy.RUNTIME)
18 | public @interface FieldMask {
19 | /**
20 | * Masking type.
21 | * Defaults to first letter mask.
22 | *
23 | * @return MaskType enum representing the type of masking
24 | */
25 | MaskType type() default MaskType.FIRST_MASK;
26 | }
27 |
--------------------------------------------------------------------------------
/zblog-web/zblog-web-admin/src/layout/components/Sidebar/Link.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
9 | * This configuration class enables component scanning for the Context component
10 | * to automatically detect and register Spring components like controllers, services,
11 | * repositories, and other beans within the 'com.github.stazxr.zblog.context' package and its sub-packages.
12 | *
9 | * 实现此接口的类应提供将 JWS 转换为 JWT 的具体解码实现。
10 | *
19 | * 该方法将 JWS 字符串解码为 JWT 声明集(JWTClaimsSet),该声明集包含了 JWT 的有效载荷信息。
20 | *