Git Product home page Git Product logo

spring-security-base-2019-5-7-2-26-58-753's Introduction

Spring Boot starter测试题

练习描述

WebSecurityConfig.java文件中补充代码,使登录功能可以正常使用。
具体步骤:
1. 在下面完成代码,需要有"USER"权限的用户可以访问到 /user/** 的文件
2. 登录成功后,跳转到user.html页面
3. 登出成功后,跳转到login.html页面

环境描述

  • java8
  • Intellij-IDEA

如何开始

  • 命令启动项目:
./gradlew bootRun
  • 补全代码后登录
    用户名:admin
    密码:admin
    登录成功后会显示欢迎USER权限用户登录的字样。

  • 成功后,截图即可。

spring-security-base-2019-5-7-2-26-58-753's People

Contributors

linwenjun 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.