Code Monkey home page Code Monkey logo

casdemo's Introduction

SSO-with-CAS-example

参考https://github.com/piotrekfus91/SSO-with-CAS-example修改, 里面使用的是波兰语, 感谢piotrekfus91

app user使用InMemoryUserDetailsManager以简化, 减去ldap的配置. 并且支持logout登出后跳转回当前服务

SSO implementation using CAS (as server) and Spring MVC (as clients).

To check it in action, you have to have a certified tomcat (sample certificate you can find in main directory - the name of the service is "localhost"). http://www.mkyong.com/tomcat/how-to-configure-tomcat-to-support-ssl-or-https/

Add to your hosts file entry which points to 127.0.0.1 and name "tomcat".

Build and run application. Checkout: https://localhost:8443/app1/home https://localhost:8443/app2/home https://localhost:8443/cas/

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.