@Controller @VisitRefer(refer="decision-management-security") @RequestMapping(value="/{version}/security") public class SecurityResource extends java.lang.Object
构造器和说明 |
---|
SecurityResource() |
限定符和类型 | 方法和说明 |
---|---|
Response |
deleteBlockIp(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String id)
获取访问控制配置
|
Response |
getAccessControl(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
获取访问控制配置
|
Response |
getBlockIpList(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
int page,
int count)
获取访问控制配置
|
Response |
getSecurity(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
获取安全防护配置
|
Response |
getWatermark(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
获取水印配置
|
Response |
previewWatermark(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
WatermarkBean bean)
水印预览
|
Response |
putAccessControl(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
AccessControlBean bean)
更新访问控制配置
|
Response |
putSecurity(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
SecurityBean headerBean)
更新安全防护配置
|
Response |
setWatermark(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
WatermarkBean bean)
更新水印配置
|
@RequestMapping(value="/security", method=GET) @ResponseBody public Response getSecurity(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
@RequestMapping(value="/security", method=PUT) @ResponseBody @DecisionControllerLog(type="Dec-Security_Manage", item="Dec-Security_Protection", operate="Dec-Log_Update") public Response putSecurity(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @RequestBody SecurityBean headerBean)
@RequestMapping(value="/access", method=GET) @ResponseBody public Response getAccessControl(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
@RequestMapping(value="/access", method=PUT) @ResponseBody @DecisionControllerLog(type="Dec-Security_Manage", item="Dec-Security_Frequencies_Restrict", operate="Dec-Log_Update") public Response putAccessControl(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @RequestBody AccessControlBean bean)
@RequestMapping(value="/block/ip", method=GET) @ResponseBody public Response getBlockIpList(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @RequestParam(value="page") int page, @RequestParam(value="count") int count) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/block/ip/{id}", method=DELETE) @ResponseBody @DecisionControllerLog(type="Dec-Security_Manage", item="Dec-Security_Intercept_List", operate="Dec-Log_Delete") public Response deleteBlockIp(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="id") java.lang.String id) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/watermark", method=GET) @ResponseBody public Response getWatermark(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
@RequestMapping(value="/watermark", method=PUT) @ResponseBody public Response setWatermark(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @RequestBody WatermarkBean bean)
@RequestMapping(value="/watermark/preview", method=POST) @ResponseBody public Response previewWatermark(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @RequestBody WatermarkBean bean) throws java.lang.Exception
java.lang.Exception