Git Product home page Git Product logo

shiro's Introduction

springboot shiro的配置

  本项目下载下来如下结构:shiro的配置在下图这里:

images
  除了添加上图的那部分以外,还需要引入一个shiro的依赖:

 <dependency>
            <groupId>org.apache.shiro</groupId>
            <artifactId>shiro-all</artifactId>
            <version>1.3.2</version>
 </dependency>

  总共shiro的配置就是上边这两个地方。

如果需要运行项目的话,可以按照下边的步骤来运行

   1、将项目引入到开发工具中之后配好maven
   2、将项目中的用户角色功能表mysql.sql 文件导入到你的mysql库中。
   3、找到项目中的resources文件夹下的application.properties文件中,修改项目中的数据库连接即可。
   4、启动后,账号密码分别为 admin admin1。
images
   5、如有问题,可以百度搜索 CSDN 凌大大博客,进入博客后,留下消息,我看到后会及时回复。

shiro's People

Contributors

lingshufeng avatar

Watchers

 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.