Giter Club home page Giter Club logo

shiro-jwt-sso's Introduction

服务器无状态 Shiro JWT 实现,基于 springboot ,无sql脚本负担,开箱即用。

该框架基于 张开涛《跟我学shiro》 第二十章 无服务shiro,大多数代码都没更改,直接移植到springboot 上。

我个人理解就是不需要 session,但不需要 session之后仍然需要验证的功能,根据无session认证的解决方案,使用 JWT;

JWT 需要自己实现或使用其他JWT标准的框架,大多数是基于 http header实现,之前接触过 KISSO,觉得放在 cookies里面一样安全,所以使用了这个框架。

《跟我学shiro》第二十章:http://jinnianshilongnian.iteye.com/blog/2041909

kisso: https://www.oschina.net/p/kisso

另外一个基于 Spring-security-jwt实现(本文参考例子):https://github.com/itweet/jwt-spring-security-demo

shiro-jwt-sso's People

Contributors

zengyufei avatar

Stargazers

Chen ZhuangLong avatar  avatar

Watchers

James Cloos avatar 张斌 avatar  avatar  avatar

Forkers

hikoyan 357ql

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.