- 博客(5)
- 收藏
- 关注
转载 JMS基本概念
摘要:The Java Message Service (JMS) API is a messaging standard that allows application components based on the Java Platform Enterprise Edition (Java EE) to create, send, receive, and read messages. It
2018-01-12 16:18:20 110
原创 mysql免安装版本配置
mysql版本:mysql-5.7.19-winx64,系统:win10 安装 首先将免安装的压缩包解压 在解压内的文件夹下新建一个my.ini文件用来配置mysql的一些基本信息 [mysql] # 设置mysql客户端默认字符集 default-character-set=utf8 [mysqld] #设置3306端口 port = 3306 # 设置mysql的安装
2018-01-11 10:52:39 233
原创 spring security4自定义登陆加验证码配置
最近做的项目中使用了spring security来管理权限,由于之前没有接触过所以在网上找了半天资料研究,打算记录下来。 security的版本使用的是4.2,相信网上很多文章都已经说明了3.x和4.x的区别,这里就不再说明了,下面说下准备工作。相关jar包,pom下载:<dependency> <groupId>org.springframework.security
2018-01-10 13:51:14 990
转载 JavaScript前端和Java后端的AES加密和解密
java端: package com.lin.utils; import java.math.BigInteger; import javax.crypto.Cipher; import javax.crypto.KeyGenerator; import javax.crypto.spec.SecretKeySpec; import org.apache.commons.codec.b
2018-01-09 17:09:52 1463
原创 Spring Security4配置CSRF问题记录
spring security4默认是开启csrf的,所以在登陆页面需要添加<input type="hidden" name="${_csrf.parameterName}" value="${_csrf.token}"/>如上,可以获取到csrf的token值,但是,一般情况下我们都会将登录页的安全配置为none,这样的话登录页面就不属于security的管理范围之内了,所以就会导致在登录页面无
2018-01-04 10:42:54 690
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人