INTRODUCTION
The spring-configuration directory is a "convention-over-configuration" option
for CAS deployers. It allows you to drop a Spring XML configuration file into
this directory and have CAS automatically find it (after the typical application
restart). It eliminates the need for you to register that file in the web.xml
ADVANTAGES
By automatically breaking the configuration into smaller "bite-sized" pieces
you can easily override small components of CAS without worrying about merging
huge pieces of configurations files together later.
The configuration-over-convention option also allows you to add new configuration
options without editing existing configuration files.
This should make tracking changes and maintaining local modifications easier.
GOTCHAS AND THINGS TO WATCH OUT FOR
If you name a local bean and an existing bean the same thing, there will be a major
collision. Deployment will fail. The sky will fall! (okay that last part isn't
true). Spring will be merging all of these files together so every bean must
have unique names. The only way around this is if you override the file completely.
i.e. override the ticketRegistry.xml allows you to re-use the "ticketRegistry"
id.
In addition, if there is a typographical/XML parsing error in a file, the
application will not deploy.
没有合适的资源?快使用搜索试试~ 我知道了~
CAS-4.0.3服务端登录页添加验证码的Demo

共225个文件
jar:60个
properties:57个
jsp:50个


这是我的博文http://blog.csdn.net/jadyer/article/details/46916169中的完整代码
资源推荐
资源详情
资源评论













收起资源包目录





































































































共 225 条
- 1
- 2
- 3
玄玉
- 粉丝: 798
- 资源: 23

上传资源 快速赚钱
我的内容管理 收起
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助

会员权益专享
安全验证
文档复制为VIP权益,开通VIP直接复制

- 1
- 2
- 3
- 4
前往页