文件名称:cas-shiro-demo
文件大小:20KB
文件格式:ZIP
更新时间:2016-07-10 14:11:53
cas shiro sso
此为转载,1分意思一下! What is this project ? This project cas-shiro-demo has been created to test the CAS support for Shiro library, i.e. the shiro-cas library. It’s composed of two modules : - the cas-shiro-demo-app module is a demo web application which uses the CAS Shiro support library with protected area requiring CAS authentication : http://shiro.apache.org/cas.html - the cas-shiro-demo-server module is a CAS server configured with remember-me feature. Quick start & test To start quickly, build the project : cas-shiro-demo mvn clean install and start the two web applications with jetty : cd cas-shiro-demo-app mvn jetty:run To test, - call the http://localhost:8080/app/user/index.jsp url by clicking on the user/index link - be sent to CAS server and log in (the password is equal to the login) - be redirected back to the application, authenticated. Manual deployment You can also deploy manually these two web applications in your favorite web applications server : - cas-shiro-demo-app on http://localhost:8080/app - cas-shiro-demo-server on http://localhost:8080/cas
【文件预览】:
cas-shiro-demo-master
----cas-shiro-demo-app()
--------src()
--------pom.xml(2KB)
--------.gitignore(57B)
----README.textile(1KB)
----cas-shiro-demo-server()
--------src()
--------pom.xml(1KB)
--------.gitignore(57B)
----pom.xml(1KB)
----.gitignore(57B)