刘帅
2026-09-21 aec7121b4010eef3957fcb215c76b91654dbb5ce
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 {
}