﻿{"id":119,"date":"2013-09-02T14:27:40","date_gmt":"2013-09-02T06:27:40","guid":{"rendered":"http:\/\/blog.sway.com.cn\/?p=119"},"modified":"2013-09-02T14:27:40","modified_gmt":"2013-09-02T06:27:40","slug":"cas%e7%99%bb%e5%bd%95%e6%88%90%e5%8a%9f%e5%90%8e%e8%bf%94%e5%9b%9e%e4%bf%a1%e6%81%af%e5%8c%85%e5%90%ab%e4%b8%ad%e6%96%87%e6%97%b6%e6%97%a0%e6%b3%95%e6%ad%a3%e5%b8%b8%e7%99%bb%e5%bd%95%e7%9a%84","status":"publish","type":"post","link":"http:\/\/blog.sway.com.cn\/?p=119","title":{"rendered":"CAS\u767b\u5f55\u6210\u529f\u540e,\u8fd4\u56de\u4fe1\u606f\u5305\u542b\u4e2d\u6587\u65f6\u65e0\u6cd5\u6b63\u5e38\u767b\u5f55\u7684\u89e3\u51b3\u529e\u6cd5."},"content":{"rendered":"<p><a href=\"http:\/\/blog.sway.com.cn\/wp-content\/uploads\/2013\/09\/345.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-120\" alt=\"345\" src=\"http:\/\/blog.sway.com.cn\/wp-content\/uploads\/2013\/09\/345-300x147.jpg\" width=\"300\" height=\"147\" srcset=\"http:\/\/blog.sway.com.cn\/wp-content\/uploads\/2013\/09\/345-300x147.jpg 300w, http:\/\/blog.sway.com.cn\/wp-content\/uploads\/2013\/09\/345.jpg 910w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>\u5728\u5ba2\u6237\u7aef\u7684web.xml\u4e2d\u627e\u5230\u5982\u4e0b\u4ee3\u7801\u6bb5\u5e76\u4e14\u52a0\u5165\u9ad8\u4eae\u90e8\u5206\u4ee3\u7801:<\/p>\n<pre class=\"lang:java mark:14-19 decode:true\">&lt;filter&gt;\r\n\t&lt;filter-name&gt;CAS Validation Filter&lt;\/filter-name&gt;\r\n\t&lt;filter-class&gt;\r\n\t\torg.jasig.cas.client.validation.Cas20ProxyReceivingTicketValidationFilter\r\n\t&lt;\/filter-class&gt;\r\n\t&lt;init-param&gt;\r\n\t\t&lt;param-name&gt;casServerUrlPrefix&lt;\/param-name&gt;\r\n\t\t&lt;param-value&gt;http:\/\/localhost:8080\/txyin\/cas&lt;\/param-value&gt;\r\n\t&lt;\/init-param&gt;\r\n\t&lt;init-param&gt;\r\n\t\t&lt;param-name&gt;serverName&lt;\/param-name&gt;\r\n\t\t&lt;param-value&gt;http:\/\/localhost:8080\/&lt;\/param-value&gt;\r\n\t&lt;\/init-param&gt;\r\n\t&lt;!-- \u9632\u83b7\u53d6\u53c2\u6570\u4e2d\u6587\u4e71\u7801[\u5f00\u59cb] --&gt;  \r\n\t&lt;init-param&gt;  \r\n\t\t&lt;param-name&gt;encoding&lt;\/param-name&gt;  \r\n\t\t&lt;param-value&gt;UTF-8&lt;\/param-value&gt;  \r\n\t&lt;\/init-param&gt;\r\n\t&lt;!-- \u9632\u83b7\u53d6\u53c2\u6570\u4e2d\u6587\u4e71\u7801[\u7ed3\u675f] --&gt;  \r\n&lt;\/filter&gt;<\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728\u5ba2\u6237\u7aef\u7684web.xml\u4e2d\u627e\u5230\u5982\u4e0b\u4ee3\u7801\u6bb5\u5e76\u4e14\u52a0\u5165\u9ad8\u4eae\u90e8\u5206\u4ee3\u7801: &lt;filter&gt; &lt;filt [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-119","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"http:\/\/blog.sway.com.cn\/index.php?rest_route=\/wp\/v2\/posts\/119","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/blog.sway.com.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.sway.com.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.sway.com.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.sway.com.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=119"}],"version-history":[{"count":1,"href":"http:\/\/blog.sway.com.cn\/index.php?rest_route=\/wp\/v2\/posts\/119\/revisions"}],"predecessor-version":[{"id":121,"href":"http:\/\/blog.sway.com.cn\/index.php?rest_route=\/wp\/v2\/posts\/119\/revisions\/121"}],"wp:attachment":[{"href":"http:\/\/blog.sway.com.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=119"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.sway.com.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=119"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.sway.com.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=119"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}