{"id":19563,"date":"2026-11-30T12:14:03","date_gmt":"2026-11-30T04:14:03","guid":{"rendered":"https:\/\/kbwp.transwarp.cn\/?p=19563"},"modified":"2026-11-30T12:14:03","modified_gmt":"2026-11-30T04:14:03","slug":"tds-%e7%94%a8%e6%88%b7%e5%af%86%e7%a0%81%e7%ad%96%e7%95%a5%e3%80%81%e7%99%bb%e5%bd%95%e9%94%81%e5%ae%9a%e8%a7%a3%e9%94%81%e4%b8%8e%e5%8d%95%e7%94%a8%e6%88%b7%e4%bc%9a%e8%af%9d%e6%95%b0%e9%99%90","status":"publish","type":"post","link":"https:\/\/kbwp.transwarp.cn\/?p=19563","title":{"rendered":"TDS \u7528\u6237\u5bc6\u7801\u7b56\u7565\u3001\u767b\u5f55\u9501\u5b9a\u89e3\u9501\u4e0e\u5355\u7528\u6237\u4f1a\u8bdd\u6570\u9650\u5236\u7684\u914d\u7f6e"},"content":{"rendered":"<h3>\u6982\u8981\u63cf\u8ff0<\/h3>\n<hr \/>\n<p>\u4ee5\u4e0b\u95ee\u9898\u90fd\u4e0e TDS \u7684\u767b\u5f55\u5b89\u5168\u7b56\u7565\u6709\u5173\uff1a<\/p>\n<ul>\n<li>\u7b49\u4fdd\u6216\u5b89\u5168\u68c0\u67e5\u8981\u6c42\u8c03\u6574 TDS \u7684\u5bc6\u7801\u590d\u6742\u5ea6\u3001\u6709\u6548\u671f\u3001\u9519\u8bef\u9501\u5b9a\u6b21\u6570\uff1b<\/li>\n<li>\u7528\u6237\u63d0\u793a\u201c\u5bc6\u7801\u9519\u8bef\u6b21\u6570\u8fc7\u591a\uff0c\u8bf7\u7a0d\u540e\u5c1d\u8bd5\u201d\uff0c\u8d26\u53f7\u88ab\u9501\uff0c\u9700\u8981\u7acb\u5373\u89e3\u9501\uff1b<\/li>\n<li>\u8981\u6c42\u540c\u4e00\u8d26\u53f7\u4e0d\u80fd\u5728\u591a\u5904\u540c\u65f6\u767b\u5f55\u3002<\/li>\n<\/ul>\n<p>\u672c\u6587\u6c47\u603b TDS \u7684\u9ed8\u8ba4\u7b56\u7565\u3001\u5404\u7248\u672c\u7684\u4fee\u6539\u4f4d\u7f6e\u3001\u89e3\u9501\u65b9\u6cd5\uff0c\u4ee5\u53ca\u5355\u7528\u6237\u4f1a\u8bdd\u6570\u7684\u9650\u5236\u65b9\u6cd5\u3002<\/p>\n<h3>\u8be6\u7ec6\u8bf4\u660e<\/h3>\n<hr \/>\n<h4>1. \u9ed8\u8ba4\u7b56\u7565\uff08TDS 4.3.0 \u624b\u518c\uff09<\/h4>\n<table>\n<thead>\n<tr>\n<th>\u9879<\/th>\n<th>\u9ed8\u8ba4\u884c\u4e3a<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u9996\u6b21\u767b\u5f55<\/td>\n<td>\u5f3a\u5236\u4fee\u6539\u5bc6\u7801<\/td>\n<\/tr>\n<tr>\n<td>\u5bc6\u7801\u957f\u5ea6<\/td>\n<td>8\uff5e25 \u4e2a\u5b57\u7b26<\/td>\n<\/tr>\n<tr>\n<td>\u5bc6\u7801\u590d\u6742\u5ea6<\/td>\n<td>\u5927\u5199\u5b57\u6bcd\u3001\u5c0f\u5199\u5b57\u6bcd\u3001\u6570\u5b57\u3001\u7279\u6b8a\u5b57\u7b26\u4e2d\u81f3\u5c11\u5305\u542b 3 \u7c7b\uff1b\u4e0d\u80fd\u4e0e\u8d26\u53f7\u76f8\u540c\uff1b\u4e0d\u80fd\u4e0e\u8fd1 3 \u6b21\u7528\u8fc7\u7684\u5bc6\u7801\u76f8\u540c<\/td>\n<\/tr>\n<tr>\n<td>\u9519\u8bef\u9501\u5b9a<\/td>\n<td>\u8fde\u7eed\u8f93\u9519 5 \u6b21\uff0c\u9501\u5b9a 15 \u5206\u949f\uff0c\u5230\u671f\u81ea\u52a8\u89e3\u9501<\/td>\n<\/tr>\n<tr>\n<td>\u5bc6\u7801\u6709\u6548\u671f<\/td>\n<td>100 \u5929\uff083.x \u4e3a 90 \u5929\uff09\uff0c\u5230\u671f\u540e\u5f3a\u5236\u4fee\u6539<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>2. \u4fee\u6539\u7b56\u7565<\/h4>\n<p><strong>TDS 3.1\uff5e3.3<\/strong>\uff1a\u7f16\u8f91 <code>\/etc\/foundation1\/conf\/foundation-web-application.properties<\/code>\uff08\u670d\u52a1\u7f16\u53f7\u6309\u5b9e\u9645\uff09\uff0c\u7136\u540e\u91cd\u542f foundation-web\u3002<\/p>\n<pre><code class=\"language-properties\">user.password.minLength=8       # \u5bc6\u7801\u6700\u5c0f\u957f\u5ea6\nuser.password.maxLength=25      # \u5bc6\u7801\u6700\u5927\u957f\u5ea6\npassword.check.switch=true      # \u9996\u6b21\u767b\u5f55\u5f3a\u5236\u4fee\u6539\u5bc6\u7801\uff0c\u9ed8\u8ba4 false\npassword.expire.day=90          # \u5bc6\u7801\u6709\u6548\u671f\uff08\u5929\uff09\uff1b\u6ca1\u6709\u8be5\u9879\u65f6\u65b0\u589e\nuser.lockCount=5                # \u8fde\u7eed\u9519\u8bef\u591a\u5c11\u6b21\u9501\u5b9a\nuser.lockTime=15                # \u9501\u5b9a\u65f6\u957f\uff08\u5206\u949f\uff09\uff0c\u5230\u671f\u81ea\u52a8\u89e3\u9501<\/code><\/pre>\n<blockquote>\n<p>\u5728 Manager \u4e0a\u5bf9 Foundation \u6267\u884c\u201c\u914d\u7f6e\u670d\u52a1\u201d\u65f6\uff0c\u4f1a\u6309 metainfo \u6a21\u677f\u91cd\u65b0\u751f\u6210\u914d\u7f6e\u6587\u4ef6\uff0c\u624b\u5de5\u4fee\u6539\u4f1a\u88ab\u8986\u76d6\u3002\u9700\u8981\u957f\u671f\u4fdd\u7559\u65f6\uff0c\u540c\u65f6\u4fee\u6539\u6a21\u677f <code>foundation-web-application.properties.ftl<\/code>\uff1a<\/p>\n<ul>\n<li>Manager 9.4 \u7528\u201c\u8fd0\u7ef4\u8bca\u65ad \u2192 \u5de5\u5177\u7bb1 \u2192 \u5e94\u7528\u5143\u4fe1\u606f\u7f16\u8f91\u5668\u201d\uff0c\u8fdb\u5165 <code>FOUNDATION\/&lt;Foundation \u7248\u672c&gt;\/templates\/<\/code> \u4fee\u6539\uff1b<\/li>\n<li>Manager 9.3 \u53ca\u4ee5\u524d\u5728 <code>\/var\/lib\/transwarp-manager\/master\/content\/meta\/services\/FOUNDATION\/&lt;\u7248\u672c&gt;\/templates\/<\/code> \u4fee\u6539\uff0c\u6539\u5b8c\u540e\u91cd\u8f7d Manager\u3002<\/li>\n<\/ul>\n<\/blockquote>\n<p><strong>TDS 4.x<\/strong>\uff1a\u5148\u5728 TDS \u9875\u9762\u7684\u7cfb\u7edf\u53c2\u6570\u914d\u7f6e\u4e2d\u67e5\u627e\u5bc6\u7801\u548c\u9501\u5b9a\u76f8\u5173\u9879\uff0c\u5728\u9875\u9762\u4fee\u6539\u5373\u53ef\uff0c\u65e0\u9700\u91cd\u542f\u3002\u9875\u9762\u4e2d\u6ca1\u6709\u5bf9\u5e94\u9879\u65f6\uff0c\u518d\u6309 3.x \u7684\u65b9\u5f0f\u4fee\u6539\u914d\u7f6e\u6587\u4ef6\u3002<\/p>\n<h4>3. \u8d26\u53f7\u88ab\u9501\u5b9a\u540e\u7684\u89e3\u9501<\/h4>\n<p>\u6309\u4f18\u5148\u987a\u5e8f\u9009\u62e9\uff1a<\/p>\n<ol>\n<li><strong>\u7ba1\u7406\u5458\u91cd\u7f6e\u5bc6\u7801\uff08\u63a8\u8350\uff0c\u7acb\u5373\u751f\u6548\uff09<\/strong>\uff1a\u6709\u7528\u6237\u7ba1\u7406\u6743\u9650\u7684\u7528\u6237\uff0c\u5728\u201c\u7528\u6237\u7ba1\u7406\u201d\u5217\u8868\u4e2d\u70b9\u51fb\u201c\u91cd\u7f6e\u5bc6\u7801\u201d\uff0c\u4e3a\u8be5\u7528\u6237\u8bbe\u7f6e\u65b0\u5bc6\u7801\u3002\u7528\u6237\u7528\u65b0\u5bc6\u7801\u5373\u53ef\u767b\u5f55\uff0c\u65e0\u9700\u7b49\u5f85\u9501\u5b9a\u5230\u671f\u3002<\/li>\n<li><strong>\u7b49\u5f85\u81ea\u52a8\u89e3\u9501<\/strong>\uff1a\u9ed8\u8ba4 15 \u5206\u949f\uff08<code>user.lockTime<\/code>\uff09\u540e\u81ea\u52a8\u89e3\u9501\u3002<\/li>\n<li>\n<p><strong>\u540e\u53f0\u89e3\u9501<\/strong>\uff08admin \u81ea\u5df1\u88ab\u9501\u3001\u53c8\u6ca1\u6709\u5176\u4ed6\u7ba1\u7406\u5458\u65f6\uff09\uff1a\u8fde\u63a5 TDS \u5143\u6570\u636e\u5e93\uff08\u53c2\u8003 <a href=\"https:\/\/kb.transwarp.cn\/posts\/11272\">TDS \u5143\u6570\u636e\u5e93\u8bbf\u95ee\u65b9\u5f0f<\/a>\uff09\u3002<\/p>\n<pre><code class=\"language-sql\">-- \u5148\u67e5\u770b\u5f53\u524d\u72b6\u6001\uff1astatus 0=\u6b63\u5e38 1=\u7981\u7528 2=\u9501\u5b9a\uff1benable 1=\u542f\u7528 0=\u7981\u7528\nselect username, status, failed_count, enable\nfrom foundation_foundation1.t_u_user where username = '<\u7528\u6237\u540d>';\n\n-- \u53ea\u89e3\u9664\u9501\u5b9a\nupdate foundation_foundation1.t_u_user\nset status = 0, failed_count = 0\nwhere username = '<\u7528\u6237\u540d>';<\/code><\/pre>\n<p>\u53ea\u6709\u5728\u786e\u8ba4\u8be5\u8d26\u53f7\u672c\u5e94\u662f\u542f\u7528\u72b6\u6001\u65f6\uff0c\u624d\u540c\u65f6\u8bbe\u7f6e <code>enable = 1<\/code>\uff0c\u4e0d\u8981\u8bef\u628a\u7ba1\u7406\u5458\u4e3b\u52a8\u7981\u7528\u7684\u8d26\u53f7\u91cd\u65b0\u542f\u7528\u3002<\/p>\n<\/li>\n<\/ol>\n<h4>4. \u9650\u5236\u540c\u4e00\u7528\u6237\u7684\u4f1a\u8bdd\u6570\uff08TDS 4.2 \u8d77\uff09<\/h4>\n<p>TDS \u9ed8\u8ba4\u4e0d\u9650\u5236\u540c\u4e00\u7528\u6237\u7684\u4f1a\u8bdd\u6570\u3002\u8bbe\u7f6e\u4e0a\u9650\u540e\uff0c\u8d85\u51fa\u4e0a\u9650\u65f6\uff0c<strong>\u767b\u5f55\u65f6\u95f4\u6700\u65e9\u7684\u4f1a\u8bdd<\/strong>\u4f1a\u88ab\u5f3a\u5236\u767b\u51fa\u3002<\/p>\n<p>\u5728 <code>gateway-application.yml<\/code> \u4e2d\u65b0\u589e\uff1a<\/p>\n<pre><code class=\"language-yaml\">max:\n  sessions: 1<\/code><\/pre>\n<table>\n<thead>\n<tr>\n<th>\u90e8\u7f72\u65b9\u5f0f<\/th>\n<th>\u4fee\u6539\u4f4d\u7f6e<\/th>\n<th>\u751f\u6548\u65b9\u5f0f<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>TDH Manager 9.4<\/td>\n<td>\u5e94\u7528\u5143\u4fe1\u606f\u7f16\u8f91\u5668\uff1a<code>FOUNDATION\/&lt;Foundation \u7248\u672c&gt;\/templates\/gateway-application.yml.ftl<\/code>\uff08\u4e0e <a href=\"https:\/\/kb.transwarp.cn\/posts\/18487\">18487<\/a> \u4fee\u6539\u8d85\u65f6\u65f6\u957f\u7684\u6587\u4ef6\u76f8\u540c\uff09\uff0c\u4fee\u6539\u524d\u5148\u590d\u5236\u4fdd\u5b58\u539f\u5185\u5bb9<\/td>\n<td>\u5bf9 Foundation \u6267\u884c\u914d\u7f6e\u670d\u52a1\uff0c\u518d\u91cd\u542f<\/td>\n<\/tr>\n<tr>\n<td>\u5176\u4ed6 Manager \u73af\u5883\uff0c\u4e34\u65f6\u4fee\u6539<\/td>\n<td>\u8282\u70b9\u4e0a\u7684 <code>gateway-application.yml<\/code><\/td>\n<td>\u5220\u9664 foundation-gateway \u7684 pod \u8ba9\u5176\u91cd\u5efa\u3002<strong>\u4e0d\u8981<\/strong>\u5728 Manager \u754c\u9762\u91cd\u542f\uff0c\u754c\u9762\u91cd\u542f\u4f1a\u6309\u6a21\u677f\u91cd\u65b0\u751f\u6210\u914d\u7f6e\uff0c\u8986\u76d6\u624b\u5de5\u4fee\u6539<\/td>\n<\/tr>\n<tr>\n<td>TDC<\/td>\n<td>\u914d\u7f6e\u4e2d\u5fc3\u7684 <code>gateway-application.yml.tmpl<\/code><\/td>\n<td>\u53ef\u5728\u754c\u9762\u91cd\u542f<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>\u9a8c\u8bc1\u4e0e\u98ce\u9669<\/h4>\n<ul>\n<li>\u9a8c\u8bc1\uff1a\n<ul>\n<li>\u7528\u6d4b\u8bd5\u8d26\u53f7\u8fde\u7eed\u8f93\u9519\uff0c\u786e\u8ba4\u9501\u5b9a\u6b21\u6570\u548c\u65f6\u957f\u4e0e\u914d\u7f6e\u4e00\u81f4\uff1b<\/li>\n<li>\u540c\u4e00\u8d26\u53f7\u5728\u4e24\u4e2a\u6d4f\u89c8\u5668\u767b\u5f55\uff0c\u786e\u8ba4\u5148\u767b\u5f55\u7684\u4f1a\u8bdd\u88ab\u767b\u51fa\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\u98ce\u9669\uff1a\n<ul>\n<li>\u4fee\u6539\u914d\u7f6e\u6216\u91cd\u542f foundation-web \/ foundation-gateway \u4f1a\u77ed\u6682\u4e2d\u65ad TDS \u767b\u5f55\uff0c\u5e94\u5728\u7a97\u53e3\u671f\u64cd\u4f5c\uff1b<\/li>\n<li>\u76f4\u63a5\u4fee\u6539 <code>t_u_user<\/code> \u524d\uff0c\u5148\u5907\u4efd\u8be5\u7528\u6237\u7684\u539f\u8bb0\u5f55\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h3>\u5176\u4ed6\u4fe1\u606f<\/h3>\n<hr \/>\n<ul>\n<li>\u4fee\u6539\u767b\u5f55\u4f1a\u8bdd\u8d85\u65f6\u65f6\u957f\uff1aTDS 2.4.1\uff5e3.0.1 \u53c2\u8003 <a href=\"https:\/\/kb.transwarp.cn\/posts\/11504\">11504<\/a>\uff1bTDS 3.1 \u53ca\u4ee5\u4e0a on Manager 9.4 \u53c2\u8003 <a href=\"https:\/\/kb.transwarp.cn\/posts\/18487\">18487<\/a>\u3002<\/li>\n<li>\u542f\u7528 TDS \u767b\u5f55\u9a8c\u8bc1\u7801\uff1a<a href=\"https:\/\/kb.transwarp.cn\/posts\/13193\">TDS \u542f\u7528\u767b\u5f55\u9a8c\u8bc1\u7801<\/a>\u3002<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u6982\u8981\u63cf\u8ff0 \u4ee5\u4e0b\u95ee\u9898\u90fd\u4e0e TDS \u7684\u767b\u5f55\u5b89\u5168\u7b56\u7565\u6709\u5173\uff1a \u7b49\u4fdd\u6216\u5b89\u5168\u68c0\u67e5\u8981\u6c42\u8c03\u6574 TDS \u7684\u5bc6\u7801\u590d\u6742\u5ea6\u3001\u6709\u6548\u671f\u3001\u9519 ..<\/p>\n<div class=\"clear-fix\"><\/div>\n<p><a href=\"https:\/\/kbwp.transwarp.cn\/?p=19563\" title=\"read more...\">Read more<\/a><\/p>\n","protected":false},"author":81,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[38],"tags":[],"class_list":["post-19563","post","type-post","status-publish","format-standard","hentry","category-configuration"],"acf":[],"_links":{"self":[{"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=\/wp\/v2\/posts\/19563","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=\/wp\/v2\/users\/81"}],"replies":[{"embeddable":true,"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=19563"}],"version-history":[{"count":1,"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=\/wp\/v2\/posts\/19563\/revisions"}],"predecessor-version":[{"id":19564,"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=\/wp\/v2\/posts\/19563\/revisions\/19564"}],"wp:attachment":[{"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=19563"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=19563"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=19563"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}