@Controller @RequestMapping(value="/node/system/certificate") @Feature(cls=SSL) @SystemPermission public class CertificateController extends BaseServerController
NODE_ID, nodeService| Constructor and Description |
|---|
CertificateController(WhitelistDirectoryService whitelistDirectoryService) |
| Modifier and Type | Method and Description |
|---|---|
String |
delete()
删除证书
|
void |
export()
导出证书
|
String |
getCertList()
证书列表
|
String |
loadWhiteList() |
String |
saveCertificate()
保存证书
|
checkCron, getNode, getUser, getUserByThreadLocal, getUserModel, removeAll, removeEmpty, resetInfo, resetInfo, tryGetNodecheckPathSafe, pathSafeclearResources, createMultipart, getCookieValue, getHeader, getHeaders, getIp, getMultiRequest, getObject, getParameter, getParameter, getParameterInt, getParameterInt, getParameterLong, getParameterLong, getParameters, getParametersMap, getRefererParameter, getUnescapeParameter, getUnescapeParameter, getUnescapeParameters, getXssParameter, getXssParameter, getXssParameters, hasFilegetApplication, getAttribute, getClientIP, getHeaderMapValues, getRequest, getRequestAttributes, getResponse, getSession, getSessionAttribute, getSessionAttributeObj, removeSessionAttribute, setAttribute, setSessionAttribute, tryGetRequestAttributespublic CertificateController(WhitelistDirectoryService whitelistDirectoryService)
@RequestMapping(value="white-list",
method=POST,
produces="application/json")
@ResponseBody
public String loadWhiteList()
@RequestMapping(value="/saveCertificate",
method=POST,
produces="application/json")
@ResponseBody
@Feature(method=EDIT)
public String saveCertificate()
@RequestMapping(value="/getCertList",
produces="application/json")
@ResponseBody
@Feature(method=LIST)
public String getCertList()
@RequestMapping(value="/delete",
method=POST,
produces="application/json")
@ResponseBody
@Feature(method=DEL)
public String delete()
Copyright © 2017–2022. All rights reserved.