1 Star 0 Fork 0

jeff.stone/cas-client

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
sample-web.xml 2.34 KB
一键复制 编辑 原始数据 按行查看 历史
Nathan Kopp 提交于 2010-01-07 22:54 . IDM-380
<filter>
<filter-name>CAS Filter</filter-name>
<filter-class>edu.yale.its.tp.cas.client.filter.CASFilter</filter-class>
<!-- use CASValidateFilter instead of CASFilter if you only want to check for the presence of a "ticket" without redirecting
note that this is different from gateway mode -->
<init-param>
<param-name>url-pattern-exclude</param-name>
<param-value>/services.*</param-value>
</init-param>
<init-param>
<param-name>edu.yale.its.tp.cas.client.filter.loginUrl</param-name>
<param-value>https://signin.mygcx.org/cas/login</param-value>
</init-param>
<init-param>
<param-name>edu.yale.its.tp.cas.client.filter.validateUrl</param-name>
<param-value>https://signin.mygcx.org/cas/serviceValidate</param-value>
</init-param>
<init-param>
<param-name>edu.yale.its.tp.cas.client.filter.wrapRequest</param-name>
<param-value>true</param-value>
</init-param>
<init-param>
<param-name>edu.yale.its.tp.cas.client.filter.logoutCallbackUrl</param-name>
<param-value>http://my-server/appliation/logout</param-value>
</init-param>
<!--
<init-param>
<param-name>edu.yale.its.tp.cas.client.filter.renew</param-name>
<param-value>false</param-value>
</init-param>
<init-param>
<param-name>edu.yale.its.tp.cas.client.filter.gateway</param-name>
<param-value>false</param-value>
</init-param>
<init-param>
<param-name>edu.yale.its.tp.cas.client.filter.authorizedProxy</param-name>
<param-value>https://www.ccci.org</param-value>
</init-param>
<init-param>
<param-name>edu.yale.its.tp.cas.client.filter.proxyCallbackUrl</param-name>
<param-value>http://my-server/appliation/proxycallback</param-value>
</init-param>
<init-param>
<param-name>edu.yale.its.tp.cas.client.filter.serviceUrl</param-name>
<param-value>http://my-server.com/appliation/frontpage.html</param-value>
</init-param>
<init-param>
<param-name>edu.yale.its.tp.cas.client.filter.serverName</param-name>
<param-value>my-server.com</param-value>
</init-param>
-->
</filter>
<filter-mapping>
<filter-name>CAS Filter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/jeffstone/cas-client.git
git@gitee.com:jeffstone/cas-client.git
jeffstone
cas-client
cas-client
master

搜索帮助