Spring Security 在 Java类中的配置 在 Spring Security 中使用 Java配置,可以轻松配置 Spring Security 而无需使用 XML 。 在Spring 3.1中,Java 类配置已添加到了 Spring 框架中,并在Spring 3.2中扩展到了Spr ...
分类:
编程语言 时间:
2020-05-04 00:25:42
阅读次数:
75
Spring Security项目搭建 Spring-Security由spring提供的安全框架,基于url实现,这一点和shiro类似,在ssm项目中配置比较繁琐,一般它用在springboot和springcloud项目中 1. 准备一个web项目 添加测试接口 并测试项目没有问题后添加mav ...
分类:
编程语言 时间:
2020-05-03 20:49:40
阅读次数:
82
spring security 简介 spring security 的核心功能主要包括: 认证 (你是谁)授权 (你能干什么)攻击防护 (防止伪造身份)其核心就是一组过滤器链,项目启动后将会自动配置。最核心的就是 Basic Authentication Filter 用来认证用户的身份,一个在s ...
分类:
编程语言 时间:
2020-05-03 20:25:28
阅读次数:
64
修改/etc/security/limits.conf文件 * soft nofile 85536 * soft nproc 85536 * hard nofile 85536 * hard nproc 85536 * - nofile 85536 elasticsearch sfot nofile ...
分类:
其他好文 时间:
2020-05-03 18:35:23
阅读次数:
151
git stash save git stash list git stash show git stash apply stash@{0} //0为序号, git stash pop stash@{0} git stash drop stash@{0} :丢弃stash@{$num}存储,从列表中 ...
分类:
其他好文 时间:
2020-05-03 16:50:32
阅读次数:
49
首先第一步 在官方下载layDate文件。layUI官网:http://layer.layui.com/ https://www.layui.com/laydate/ 引入layData.js <script src="../js/public/laydate.js"></script> 要显示的时 ...
分类:
其他好文 时间:
2020-05-03 16:38:22
阅读次数:
167
一:IDEA创建Maven项目时,一直加载(loading archetype list....)1.解决方案是更改IDEA设置: 打开:Setting Build Tools → Maven → Importing 或者(Configure Project Defaults Settings Bu ...
分类:
其他好文 时间:
2020-05-03 01:25:00
阅读次数:
88
修改web.config文件,添加以下配置: <system.webServer> <security> <requestFiltering> <requestLimits maxAllowedContentLength="2147483648" /> </requestFiltering> </s ...
分类:
Web程序 时间:
2020-05-03 01:18:07
阅读次数:
92
WSL下的Ubuntu 18.04LTS配置软件源和系统更新 设置系统语言为中文 分别执行完上面的命令,关闭窗口,然后重新启动Ubuntu即可切换为中文。 更换软件源 1. 切换root用户 2. 备份当前软件源 3. 编辑软件源管理文件 下面是阿里云和网易云的镜像地址,任选其一粘贴至 保存退出即可 ...
分类:
系统相关 时间:
2020-05-02 18:45:09
阅读次数:
114
手动实现apply、call、bind 每个 对象都存在 、`call() bind() this`对象的值,以扩充函数赖以运行的作用域。 apply : 必选,在 函数运行时使用的 值, 可能不是该方法看到的实际值,如果这个函数处于非严格模式下,则指定为 或`undefined`时会自动替换为指向 ...
分类:
移动开发 时间:
2020-05-01 18:45:18
阅读次数:
80