摘要: 上一节的时候,我们打开了springboot的端点,有一些数据是非常敏感的,比如/shutdown。 这一节,我们要给一些敏感信息加上权限控制。 spring boot本身的security模块就很好用,需要配置的东西很少,但是对于初学者而言,会有很多坑。 一、security配置 1.引入依赖 引 阅读全文
posted @ 2018-06-26 14:51 Mars.wang 阅读(555) 评论(0) 推荐(0) 编辑