This is an automated email from the ASF dual-hosted git repository.

liujun pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/incubator-dubbo-website.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new b02e30d  fix doc issue, protocolconfig does not support specifying of 
token  (#369)
b02e30d is described below

commit b02e30d0af4d7dff0aef0d7bfb4690477130ac5d
Author: uglycow <[email protected]>
AuthorDate: Wed May 15 13:05:39 2019 +0800

    fix doc issue, protocolconfig does not support specifying of token  (#369)
    
    fixes https://github.com/apache/incubator-dubbo/issues/3922
---
 docs/zh-cn/user/demos/token-authorization.md | 13 -------------
 1 file changed, 13 deletions(-)

diff --git a/docs/zh-cn/user/demos/token-authorization.md 
b/docs/zh-cn/user/demos/token-authorization.md
index 6706017..9613ca0 100644
--- a/docs/zh-cn/user/demos/token-authorization.md
+++ b/docs/zh-cn/user/demos/token-authorization.md
@@ -29,16 +29,3 @@
 <!--固定token令牌,相当于密码-->
 <dubbo:service interface="com.foo.BarService" token="123456" />
 ```
-
-还可在协议级别设置:
-
-```xml
-<!--随机token令牌,使用UUID生成-->
-<dubbo:protocol name="dubbo" token="true" />
-```
-或
-
-```xml
-<!--固定token令牌,相当于密码-->
-<dubbo:protocol name="dubbo" token="123456" />
-```

Reply via email to