实例介绍
使用struts2+spring+cas实现的单点登录功能,里面包括cas-server3.5.2项目一个,cas-client3.2.1 web项目两个,数据库脚本,请按照里面的说明文档进行部署,希望你们也能配置成功。
【实例截图】
【核心代码】
e0dc2bcf-c840-4a77-bcd5-0f65ae23c881
└── struts2+spring+cas单点登录
├── cas
│ ├── css
│ │ ├── cas.css
│ │ ├── default-mobile-custom.css
│ │ ├── fss-framework-1.1.2.css
│ │ ├── fss-mobile-iphone-layout.css
│ │ ├── ie_cas.css
│ │ ├── images
│ │ │ └── iphone
│ │ │ ├── backbutton_mask.png
│ │ │ ├── button_bg_insetShadow.png
│ │ │ ├── listmenu_arrow.png
│ │ │ ├── listmenu_loader.gif
│ │ │ ├── listmenu_loader.png
│ │ │ ├── navbar_back_button_insetShadow.png
│ │ │ └── navbar_normal_button_insetShadow.png
│ │ └── services
│ │ ├── cas.css
│ │ ├── ieFix.css
│ │ └── services.css
│ ├── favicon.ico
│ ├── images
│ │ ├── confirm.gif
│ │ ├── error.gif
│ │ ├── green.gif
│ │ ├── info.gif
│ │ ├── ja-sig-logo.gif
│ │ ├── key-point_bl.gif
│ │ ├── key-point_br.gif
│ │ ├── key-point_tl.gif
│ │ ├── key-point_tr.gif
│ │ ├── red.gif
│ │ ├── services
│ │ │ ├── add_service.gif
│ │ │ ├── alert2.gif
│ │ │ ├── delete_service.gif
│ │ │ ├── edit_service.gif
│ │ │ ├── error.gif
│ │ │ ├── false.gif
│ │ │ ├── info.gif
│ │ │ ├── info_icon_small.gif
│ │ │ ├── success.gif
│ │ │ └── true.gif
│ │ └── Thumbs.db
│ ├── index.jsp
│ ├── js
│ │ ├── cas.js
│ │ ├── MyInfusion.js
│ │ └── services.js
│ ├── META-INF
│ │ ├── INDEX.LIST
│ │ ├── MANIFEST.MF
│ │ └── maven
│ │ └── org.jasig.cas
│ │ └── cas-server-uber-webapp
│ │ ├── pom.properties
│ │ └── pom.xml
│ ├── themes
│ │ └── default
│ │ └── cas.css
│ ├── WEB-INF
│ │ ├── cas.properties
│ │ ├── cas-servlet.xml
│ │ ├── classes
│ │ │ ├── builddef.lst
│ │ │ ├── cas-theme-default.properties
│ │ │ ├── default_views.properties
│ │ │ ├── log4j.xml
│ │ │ ├── messages_ar.properties
│ │ │ ├── messages_ca.properties
│ │ │ ├── messages_cs.properties
│ │ │ ├── messages_de.properties
│ │ │ ├── messages_en.properties
│ │ │ ├── messages_es.properties
│ │ │ ├── messages_fa.properties
│ │ │ ├── messages_fr.properties
│ │ │ ├── messages_hr.properties
│ │ │ ├── messages_it.properties
│ │ │ ├── messages_ja.properties
│ │ │ ├── messages_mk.properties
│ │ │ ├── messages_nl.properties
│ │ │ ├── messages_pl.properties
│ │ │ ├── messages_pt_BR.properties
│ │ │ ├── messages_pt_PT.properties
│ │ │ ├── messages_ru.properties
│ │ │ ├── messages_sl.properties
│ │ │ ├── messages_sv.properties
│ │ │ ├── messages_tr.properties
│ │ │ ├── messages_ur.properties
│ │ │ ├── messages_zh_CN.properties
│ │ │ ├── messages_zh_TW.properties
│ │ │ ├── META-INF
│ │ │ │ └── persistence.xml
│ │ │ ├── org
│ │ │ │ └── jasig
│ │ │ │ └── cas
│ │ │ │ ├── util
│ │ │ │ │ └── AutowiringSchedulerFactoryBean.class
│ │ │ │ └── web
│ │ │ │ ├── flow
│ │ │ │ │ ├── GatewayServicesManagementCheck.class
│ │ │ │ │ └── ServiceAuthorizationCheck.class
│ │ │ │ └── FlowExecutionExceptionResolver.class
│ │ │ └── protocol_views.properties
│ │ ├── deployerConfigContext.xml
│ │ ├── deployerConfigContext.xml.bak
│ │ ├── lib
│ │ │ └── mysql-connector-java-5.1.7-bin.jar
│ │ ├── login-webflow.xml
│ │ ├── restlet-servlet.xml
│ │ ├── spring-configuration
│ │ │ ├── applicationContext.xml
│ │ │ ├── argumentExtractorsConfiguration.xml
│ │ │ ├── auditTrailContext.xml
│ │ │ ├── filters.xml
│ │ │ ├── log4jConfiguration.xml
│ │ │ ├── propertyFileConfigurer.xml
│ │ │ ├── README.txt
│ │ │ ├── securityContext.xml
│ │ │ ├── ticketExpirationPolicies.xml
│ │ │ ├── ticketGrantingTicketCookieGenerator.xml
│ │ │ ├── ticketRegistry.xml
│ │ │ ├── uniqueIdGenerators.xml
│ │ │ └── warnCookieGenerator.xml
│ │ ├── unused-spring-configuration
│ │ │ ├── clearpass-configuration.xml
│ │ │ ├── lppe-configuration.xml
│ │ │ └── mbeans.xml
│ │ ├── view
│ │ │ ├── jsp
│ │ │ │ ├── authorizationFailure.jsp
│ │ │ │ ├── brokenContext.jsp
│ │ │ │ ├── default
│ │ │ │ │ └── ui
│ │ │ │ │ ├── casAccountDisabledView.jsp
│ │ │ │ │ ├── casAccountLockedView.jsp
│ │ │ │ │ ├── casBadHoursView.jsp
│ │ │ │ │ ├── casBadWorkstationView.jsp
│ │ │ │ │ ├── casConfirmView.jsp
│ │ │ │ │ ├── casExpiredPassView.jsp
│ │ │ │ │ ├── casGenericSuccess.jsp
│ │ │ │ │ ├── casLoginView.jsp
│ │ │ │ │ ├── casLogoutView.jsp
│ │ │ │ │ ├── casMustChangePassView.jsp
│ │ │ │ │ ├── casWarnPassView.jsp
│ │ │ │ │ ├── includes
│ │ │ │ │ │ ├── bottom.jsp
│ │ │ │ │ │ └── top.jsp
│ │ │ │ │ ├── serviceErrorSsoView.jsp
│ │ │ │ │ └── serviceErrorView.jsp
│ │ │ │ ├── errors.jsp
│ │ │ │ ├── protocol
│ │ │ │ │ ├── 2.0
│ │ │ │ │ │ ├── casProxyFailureView.jsp
│ │ │ │ │ │ ├── casProxySuccessView.jsp
│ │ │ │ │ │ ├── casServiceValidationFailure.jsp
│ │ │ │ │ │ ├── casServiceValidationSuccess.jsp
│ │ │ │ │ │ └── casServiceValidationSuccess.jsp.bak
│ │ │ │ │ ├── casPostResponseView.jsp
│ │ │ │ │ ├── clearPass
│ │ │ │ │ │ ├── clearPassFailure.jsp
│ │ │ │ │ │ └── clearPassSuccess.jsp
│ │ │ │ │ ├── oauth
│ │ │ │ │ │ └── confirm.jsp
│ │ │ │ │ └── openid
│ │ │ │ │ ├── casOpenIdAssociationFailureView.jsp
│ │ │ │ │ ├── casOpenIdAssociationSuccessView.jsp
│ │ │ │ │ ├── casOpenIdServiceFailureView.jsp
│ │ │ │ │ ├── casOpenIdServiceSuccessView.jsp
│ │ │ │ │ └── user.jsp
│ │ │ │ └── services
│ │ │ │ ├── add.jsp
│ │ │ │ ├── includes
│ │ │ │ │ ├── bottom.jsp
│ │ │ │ │ └── top.jsp
│ │ │ │ ├── logout.jsp
│ │ │ │ ├── manage.jsp
│ │ │ │ └── viewStatistics.jsp
│ │ │ └── views.xml
│ │ ├── web.xml
│ │ └── web.xml.bak
│ └── web.xml
├── CasClient
│ ├── src
│ │ ├── com
│ │ │ ├── BaseAction.java
│ │ │ ├── cloudrender
│ │ │ │ └── interceptor
│ │ │ │ └── LoginInterceptor.java
│ │ │ └── TestAction.java
│ │ ├── log4j.properties
│ │ ├── spring-appContext.xml
│ │ ├── struts.properties
│ │ ├── struts.xml
│ │ └── user.xml
│ └── WebRoot
│ ├── href.jsp
│ ├── index.jsp
│ ├── META-INF
│ │ └── MANIFEST.MF
│ ├── test.jsp
│ └── WEB-INF
│ ├── classes
│ │ ├── com
│ │ │ ├── BaseAction.class
│ │ │ ├── cloudrender
│ │ │ │ └── interceptor
│ │ │ │ └── LoginInterceptor.class
│ │ │ └── TestAction.class
│ │ ├── log4j.properties
│ │ ├── spring-appContext.xml
│ │ ├── struts.properties
│ │ ├── struts.xml
│ │ └── user.xml
│ └── web.xml
├── CasClient2
│ ├── src
│ │ ├── com
│ │ │ ├── BaseAction.java
│ │ │ ├── cloudrender
│ │ │ │ └── interceptor
│ │ │ │ └── LoginInterceptor.java
│ │ │ └── TestAction.java
│ │ ├── log4j.properties
│ │ ├── spring-appContext.xml
│ │ ├── struts.properties
│ │ ├── struts.xml
│ │ └── user.xml
│ └── WebRoot
│ ├── href.jsp
│ ├── index.jsp
│ ├── META-INF
│ │ └── MANIFEST.MF
│ ├── test.jsp
│ └── WEB-INF
│ ├── classes
│ │ ├── com
│ │ │ ├── BaseAction.class
│ │ │ ├── cloudrender
│ │ │ │ └── interceptor
│ │ │ │ └── LoginInterceptor.class
│ │ │ └── TestAction.class
│ │ ├── log4j.properties
│ │ ├── spring-appContext.xml
│ │ ├── struts.properties
│ │ ├── struts.xml
│ │ └── user.xml
│ ├── lib
│ │ ├── annotations-api-6.0.29.jar
│ │ ├── ant.jar
│ │ ├── antlr-2.7.6.jar
│ │ ├── aspectjrt.jar
│ │ ├── aspectjweaver.jar
│ │ ├── cas-client-core-3.2.1.jar
│ │ ├── cas-client-integration-atlassian-3.2.1.jar
│ │ ├── cas-client-integration-jboss-3.2.1.jar
│ │ ├── cas-client-integration-tomcat-common-3.2.1.jar
│ │ ├── cas-client-integration-tomcat-v6-3.2.1.jar
│ │ ├── cas-client-integration-tomcat-v7-3.2.1.jar
│ │ ├── cas-client-support-distributed-ehcache-3.2.1.jar
│ │ ├── cas-client-support-distributed-memcached-3.2.1.jar
│ │ ├── catalina-6.0.29.jar
│ │ ├── cglib-nodep-2.1_3.jar
│ │ ├── common-annotations.jar
│ │ ├── commons-beanutils-1.8.3.jar
│ │ ├── commons-codec-1.4.jar
│ │ ├── commons-codec-1.6.jar
│ │ ├── commons-collections-3.1.jar
│ │ ├── commons-collections-3.2.jar
│ │ ├── commons-dbcp.jar
│ │ ├── commons-fileupload-1.2.2.jar
│ │ ├── commons-httpclient-3.0.1.jar
│ │ ├── commons-io-2.0.1.jar
│ │ ├── commons-lang3-3.1.jar
│ │ ├── commons-logging-1.1.jar
│ │ ├── commons-logging-api-1.1.jar
│ │ ├── commons-net-3.2.jar
│ │ ├── commons-pool.jar
│ │ ├── commons-validator-1.3.1.jar
│ │ ├── com.springsource.com.mchange.v2.c3p0-0.9.1.2.jar
│ │ ├── com.springsource.javax.inject-1.0.0.jar
│ │ ├── com.springsource.net.sf.cglib-2.2.0.jar
│ │ ├── com.springsource.org.aopalliance-1.0.0.jar
│ │ ├── dom4j-1.6.1.jar
│ │ ├── dwr.jar
│ │ ├── ehcache-core-2.2.0.jar
│ │ ├── ezmorph-1.0.6.jar
│ │ ├── freemarker-2.3.19.jar
│ │ ├── ftp4j-1.7.2.jar
│ │ ├── gson-1.6.jar
│ │ ├── hessian-4.0.7.jar
│ │ ├── javassist-3.11.0.GA.jar
│ │ ├── java-unrar-0.3.jar
│ │ ├── jaxen-1.1-beta-6.jar
│ │ ├── jedis-2.1.0.jar
│ │ ├── json-lib-2.4-jdk15.jar
│ │ ├── juli-6.0.29.jar
│ │ ├── kaptcha-2.3.2.jar
│ │ ├── log4j-1.2.17.jar
│ │ ├── morph-1.1.1.jar
│ │ ├── morph-sandbox-1.1.1.jar
│ │ ├── mybatis-3.2.2.jar
│ │ ├── mybatis-spring-1.2.0.jar
│ │ ├── mysql-connector-java-5.1.7-bin.jar
│ │ ├── ognl-3.0.6.jar
│ │ ├── pushlet.jar
│ │ ├── servlet-api-2.3.jar
│ │ ├── servlet-api-6.0.29.jar
│ │ ├── spring-aop-3.2.2.RELEASE.jar
│ │ ├── spring-aspects-3.2.2.RELEASE.jar
│ │ ├── spring-beans-3.2.2.RELEASE.jar
│ │ ├── spring-context-3.2.2.RELEASE.jar
│ │ ├── spring-core-3.2.2.RELEASE.jar
│ │ ├── spring-expression-3.2.2.RELEASE.jar
│ │ ├── spring-instrument-3.2.2.RELEASE.jar
│ │ ├── spring-jdbc-3.2.2.RELEASE.jar
│ │ ├── spring-jms-3.2.2.RELEASE.jar
│ │ ├── spring-orm-3.2.2.RELEASE.jar
│ │ ├── spring-oxm-3.2.2.RELEASE.jar
│ │ ├── spring-test-3.2.2.RELEASE.jar
│ │ ├── spring-tx-3.2.2.RELEASE.jar
│ │ ├── spring-web-3.2.2.RELEASE.jar
│ │ ├── spring.web.servlet-3.0.5.RELEASE.jar
│ │ ├── struts2-core-2.3.12.jar
│ │ ├── struts2-spring-plugin-2.3.12.jar
│ │ ├── tomcat-annotations-api-7.0.8.jar
│ │ ├── tomcat-api-7.0.8.jar
│ │ ├── tomcat-catalina-7.0.8.jar
│ │ ├── tomcat-juli-7.0.8.jar
│ │ ├── tomcat-servlet-api-7.0.8.jar
│ │ ├── tomcat-util-7.0.8.jar
│ │ ├── xmlsec-1.3.0.jar
│ │ └── xwork-core-2.3.12.jar
│ └── web.xml
├── context.xml
├── server.xml
├── user_table.sql
└── 说明.txt
64 directories, 275 files
标签:
相关软件
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明
网友评论
我要评论