puzhibing
2023-10-08 22199bbdda579861736420fe26c2873ab0f5d21c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package com.sinata.rest.modular.auth.security;
 
/**
 * 信息传递的保护措施(传递的数据为json)
 * <p>
 * 说明:
 * 可以根据实际开发时的需要,编写自己的数据加密方案,只需实现此类,并在WebConfig下配置您所编写的实现类即可
 */
public interface DataSecurityAction {
 
    /**
     * 执行数据的保护措施
     */
    String doAction(String beProtected);
 
    /**
     * 解除保护
     */
    String unlock(String securityCode);
}