Giter Site home page Giter Site logo

elegant-shiro-boot's Introduction

elegant-shiro-boot

演示SpringBoot优雅整合Shiro,以及3种实现访问、权限控制的方式

##如何运行 最好使用IDEA导入工程来运行,方便。 如果不想导入工程,则需要在命令行导航到项目目录,执行gradle bootRun来运行demo1、demo2、demo3。如:

D:\elegant-shiro-boot>cd demo1
D:\elegant-shiro-boot\demo1>gradle bootRun

项目运行后,可使用postman来发送请求,做测试。

demo*项目都设置了context-path: /api/v1,所以控制器的请求都应该加上前缀/api/v1,如:

/api/v1/user/login
/api/v1/t1/hello

elegant-shiro-boot's People

Contributors

caibaohong avatar

Watchers

James Cloos 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.