@Controller @VisitRefer(refer="decision-management-template") @FunctionSupport(function=ReportletPrivilege) @RequestMapping(value="/{version}/template/auth") public class TemplateAuthResource extends java.lang.Object
构造器和说明 |
---|
TemplateAuthResource() |
限定符和类型 | 方法和说明 |
---|---|
Response |
getTemplateAuthConfig(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version)
获取模板认证配置项
|
Response |
setTemplateAuthConfig(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
TemplateAuthConfigBean templateAuthConfigBean)
设置模板认证配置项
|
@RequestMapping(value="/config", method=GET) @ResponseBody public Response getTemplateAuthConfig(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/config", method=PUT) @ResponseBody @DecisionControllerLog(type="Dec-Template_Authority", item="Dec-Basic_Global_Settings", operate="Dec-Log_Update") public Response setTemplateAuthConfig(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @RequestBody TemplateAuthConfigBean templateAuthConfigBean) throws java.lang.Exception
java.lang.Exception