刘帅
2026-09-20 a3bfafde009c644c21ee8c9971b436f4cd7481f1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package com.dsh.privacy;
 
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
 
/**
 * Allows a single response field to bypass sensitive-data masking.
 * Use only for endpoints that are authorised to return the original value.
 */
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
public @interface UnmaskedSensitiveData {
}