程序包 com.gdxsoft.easyweb.define.servlets
package com.gdxsoft.easyweb.define.servlets
-
类类说明API Token 安全验证器 支持两种验证模式: 1.Token 信息验证结果配置提交合法性校验:Tag 值、XML 大结构 参考 EwaConfig.xml 及 define.xml/ewa/*.xml 中的实际格式。Servlet API for configuration management Methods: - getConfXml: Get full XML configuration file - getConfItem: Get specific configuration item - runConfItem: Copy configuration item - updateConfItem: Update configuration item - login: Generate API token - logout: Revoke API token Authentication: - HMAC Signature (recommended for server-to-server) - JWT Token (for client sessions) - Simple Token (legacy, not recommended)Synchronize the local server files to the remote server servlet是线程不安全的 一般不要轻易定成员变量 ,用局部变量吧XML 配置管理工具 — Servlet 入口 仅负责 HTTP 请求解析和响应,XML 操作全部委托给 UpdateCfgXml。