1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
| package com.stylefeng.guns.rest.modular.auth.security;
|
| /**
| * <pre>
| * 信息传递的保护措施(传递的数据为json)
| *
| * 说明:
| * 可以根据实际开发时的需要,编写自己的数据加密方案,只需实现此类,并在WebConfig下配置您所编写的实现类即可
| * </pre>
| *
| * @author fengshuonan
| * @date 2017-09-18 20:41
| */
| public interface DataSecurityAction {
|
| /**
| * 执行数据的保护措施
| *
| * @author stylefeng
| * @Date 2017/9/18 20:42
| */
| String doAction(String beProtected);
|
| /**
| * 解除保护
| *
| * @author stylefeng
| * @Date 2017/9/18 20:45
| */
| String unlock(String securityCode);
| }
|
|