Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 1.19 KB

README.textile

File metadata and controls

22 lines (16 loc) · 1.19 KB

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