Skip to content

casinthecloud/cas-openid-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is this project ?

This project cas-openid-demo has been created to test the OpenId support in CAS. It’s composed of two modules :
- the cas-openid-client-demo module is the OpenId consumer : it’s a web app where the user can fill its OpenId identifier to be authenticated at the OpenId provider (it’s based on Spring MVC and uses the opendid4Java library)
- the cas-openid-server-demo module is the OpenId provider : it’s a CAS server customized with OpenId support : https://wiki.jasig.org/display/CASUM/OpenID.

Quick start & test

To start quickly, build the project :

cd cas-openid-demo
mvn clean package
and start the two web applications with jetty :
cd cas-openid-client-demo
mvn jetty:run

To test,
- call the http://localhost:8080/demoo url (at consumer)
- fill the form with http://localhost:8080/cas/openid/leleuj (replace leleuj by your username) and click the “Confirm” button (at consumer)
- authenticate at CAS server ( username / username, the password is equal to the login) (at provider)
- be redirected to the original web app where the text “Successfull authentication” is displayed ! (at consumer)

Manual deployment

You can also deploy manually these two web applications in your favorite web applications server :
- cas-openid-client-demo on http://localhost:8080/demoo
- cas-openid-server-demo on http://localhost:8080/cas

About

Demo web app to test OpenId support in CAS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages