Skip to content

Demo webapps to test OAuth support (client and server) in CAS version 3.5.x (x >= 1)

Notifications You must be signed in to change notification settings

casinthecloud/cas-oauth-demo-3.5.x

Repository files navigation

What is this project ?

This project cas-oauth-demo-3.5.x has been created to test the OAuth support in CAS server version 3.5.x with x >= 1. It’s composed of two modules :
- the cas-oauth-client-demo-3.5.x module is a CAS server which uses the OAuth client mode : it acts as a client to delegate authentication to Facebook, Twitter… : https://wiki.jasig.org/display/CASUM/OAuth+client+support+for+CAS+server+version+%3E%3D+3.5.1
- the cas-oauth-server-demo-3.5.x module is a CAS server which uses the OAuth server mode : it plays the role of an OAuth server : https://wiki.jasig.org/display/CASUM/OAuth+server+support.

Quick start & test

To start quickly, build the project :

cd cas-oauth-demo-3.5.x
mvn clean install
and start the two web applications with jetty :
cd cas-oauth-client-demo-3.5.x
mvn jetty:run

To test,
- call the http://localhost:8080/cas url and click on “Authenticate with …” (at CAS server in OAuth client mode)
- authenticate at your favorite OAuth provider (Facebook, Twitter…) or at the OAuth wrapped CAS server (same password as login, url : http://localhost:8080/cas2)
- be redirected to the first CAS server, being successfully authenticated.

Manual deployment

You can also deploy manually these two web applications in your favorite web applications server :
- cas-oauth-client-demo-3.5.x on http://localhost:8080/cas
- cas-oauth-server-demo-3.5.x on http://localhost:8080/cas2

About

Demo webapps to test OAuth support (client and server) in CAS version 3.5.x (x >= 1)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages