GithubHelp home page GithubHelp logo

maksimu / cas-oauth-demo-3.5.x Goto Github PK

View Code? Open in Web Editor NEW

This project forked from casinthecloud/cas-oauth-demo-3.5.x

0.0 3.0 0.0 88 KB

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

cas-oauth-demo-3.5.x's Introduction

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

cas-oauth-demo-3.5.x's People

Contributors

leleuj avatar songchao168 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.