spring-security结合spring boot超简单的例子

上传者: m64729599 | 上传时间: 2019-12-21 20:17:00 | 文件大小: 147KB | 文件类型: zip
spring-security结合spring boot超简单的例子,仅仅只是验证登录,并且权限不同显示的内容也不同。非常适合新手入门

文件下载

资源详情

[{"title":"( 49 个子文件 147KB ) spring-security结合spring boot超简单的例子","children":[{"title":"Spring-security-test","children":[{"title":".project <span style='color:#111;'> 780B </span>","children":null,"spread":false},{"title":"mvnw.cmd <span style='color:#111;'> 4.88KB </span>","children":null,"spread":false},{"title":"mvnw <span style='color:#111;'> 6.32KB </span>","children":null,"spread":false},{"title":"src","children":[{"title":"test","children":[{"title":"java","children":[{"title":"com","children":[{"title":"mwc","children":[{"title":"test","children":[{"title":"Springsecuritytest","children":[{"title":"SpringSecurityTestApplicationTests.java <span style='color:#111;'> 360B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"main","children":[{"title":"resources","children":[{"title":"application.properties <span style='color:#111;'> 695B </span>","children":null,"spread":false},{"title":"templates","children":[{"title":"fail.html <span style='color:#111;'> 250B </span>","children":null,"spread":false},{"title":"login.html <span style='color:#111;'> 668B </span>","children":null,"spread":false},{"title":"success.html <span style='color:#111;'> 482B </span>","children":null,"spread":false}],"spread":true},{"title":"static","children":[{"title":"js","children":[{"title":"login.js <span style='color:#111;'> 465B </span>","children":null,"spread":false},{"title":"jquery.min.js <span style='color:#111;'> 84.66KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"java","children":[{"title":"com","children":[{"title":"mwc","children":[{"title":"test","children":[{"title":"Springsecuritytest","children":[{"title":"service","children":[{"title":"impl","children":[{"title":"UserServiceImpl.java <span style='color:#111;'> 687B </span>","children":null,"spread":false}],"spread":false},{"title":"UserService.java <span style='color:#111;'> 149B </span>","children":null,"spread":false}],"spread":true},{"title":"controller","children":[{"title":"UserController.java <span style='color:#111;'> 961B </span>","children":null,"spread":false}],"spread":false},{"title":"config","children":[{"title":"UserDetailService.java <span style='color:#111;'> 1.49KB </span>","children":null,"spread":false},{"title":"UserSercurityConfig.java <span style='color:#111;'> 2.12KB </span>","children":null,"spread":false}],"spread":false},{"title":"entity","children":[{"title":"User.java <span style='color:#111;'> 496B </span>","children":null,"spread":false}],"spread":false},{"title":"repository","children":[{"title":"UserRepository.java <span style='color:#111;'> 295B </span>","children":null,"spread":false}],"spread":false},{"title":"SpringSecurityTestApplication.java <span style='color:#111;'> 347B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"target","children":[{"title":"generated-test-sources","children":[{"title":"test-annotations","children":null,"spread":false}],"spread":true},{"title":"maven-status","children":[{"title":"maven-compiler-plugin","children":[{"title":"testCompile","children":[{"title":"default-testCompile","children":[{"title":"createdFiles.lst <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"inputFiles.lst <span style='color:#111;'> 124B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"compile","children":[{"title":"default-compile","children":[{"title":"createdFiles.lst <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"inputFiles.lst <span style='color:#111;'> 907B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"generated-sources","children":[{"title":"annotations","children":null,"spread":false}],"spread":true},{"title":"classes","children":[{"title":"application.properties <span style='color:#111;'> 695B </span>","children":null,"spread":false},{"title":"com","children":[{"title":"mwc","children":[{"title":"test","children":[{"title":"Springsecuritytest","children":[{"title":"service","children":[{"title":"UserService.class <span style='color:#111;'> 205B </span>","children":null,"spread":false},{"title":"impl","children":[{"title":"UserServiceImpl.class <span style='color:#111;'> 1.26KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"SpringSecurityTestApplication.class <span style='color:#111;'> 776B </span>","children":null,"spread":false},{"title":"controller","children":[{"title":"UserController.class <span style='color:#111;'> 973B </span>","children":null,"spread":false}],"spread":false},{"title":"config","children":[{"title":"UserSercurityConfig.class <span style='color:#111;'> 5.73KB </span>","children":null,"spread":false},{"title":"UserDetailService.class <span style='color:#111;'> 1.99KB </span>","children":null,"spread":false},{"title":"UserSercurityConfig$1.class <span style='color:#111;'> 1.06KB </span>","children":null,"spread":false}],"spread":false},{"title":"entity","children":[{"title":"User.class <span style='color:#111;'> 2.62KB </span>","children":null,"spread":false}],"spread":false},{"title":"repository","children":[{"title":"UserRepository.class <span style='color:#111;'> 465B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"META-INF","children":[{"title":"MANIFEST.MF <span style='color:#111;'> 367B </span>","children":null,"spread":false},{"title":"maven","children":[{"title":"com.mwc.test","children":[{"title":"Spring-security-test","children":[{"title":"pom.properties <span style='color:#111;'> 255B </span>","children":null,"spread":false},{"title":"pom.xml <span style='color:#111;'> 2.59KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":true},{"title":"templates","children":[{"title":"fail.html <span style='color:#111;'> 250B </span>","children":null,"spread":false},{"title":"login.html <span style='color:#111;'> 668B </span>","children":null,"spread":false},{"title":"success.html <span style='color:#111;'> 482B </span>","children":null,"spread":false}],"spread":true},{"title":"static","children":[{"title":"js","children":[{"title":"login.js <span style='color:#111;'> 465B </span>","children":null,"spread":false},{"title":"jquery.min.js <span style='color:#111;'> 84.66KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true},{"title":"test-classes","children":[{"title":"com","children":[{"title":"mwc","children":[{"title":"test","children":[{"title":"Springsecuritytest","children":[{"title":"SpringSecurityTestApplicationTests.class <span style='color:#111;'> 694B </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".settings","children":[{"title":"org.eclipse.m2e.core.prefs <span style='color:#111;'> 90B </span>","children":null,"spread":false},{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 243B </span>","children":null,"spread":false},{"title":"org.eclipse.core.resources.prefs <span style='color:#111;'> 155B </span>","children":null,"spread":false}],"spread":true},{"title":".mvn","children":[{"title":"wrapper","children":[{"title":"maven-wrapper.jar <span style='color:#111;'> 46.49KB </span>","children":null,"spread":false},{"title":"maven-wrapper.properties <span style='color:#111;'> 110B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"pom.xml <span style='color:#111;'> 2.59KB </span>","children":null,"spread":false},{"title":".classpath <span style='color:#111;'> 1.20KB </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 249B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

  • 从此不纠结技术 :
    给力 但是MD5加密那里出了问题 注掉就可以用了
    2018-05-30

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明