spring Security下,X-Frame-Options默认为DENY,非Spring Security环境下,X-Frame-Options的默认大多也是DENY: DENY:浏览器拒绝当前页面加载任何Frame页面 SAMEORIGIN:frame页面的地址只能为同源域名下的页面 ALL ...
分类:
编程语言 时间:
2020-07-02 19:51:30
阅读次数:
81
Spring中的@Transactional注解支持9个属性的设置,这里只讲解其中使用较多的三个属性:readOnly、propagation、isolation。其中propagation属性用来枚举事务的传播行为,isolation用来设置事务隔离级别,readOnly进行读写事务控制, 参数名 ...
分类:
编程语言 时间:
2020-07-02 19:46:37
阅读次数:
57
Spring MVC 提供了一种机制,可以构造和编码URI -- 使用UriComponentsBuilder和UriComponents。 功能相当于 urlencode()函数,对url进行编码, 但同时还支持变量替换。 UriComponents uriComponents = UriComp ...
分类:
Web程序 时间:
2020-07-02 18:38:24
阅读次数:
119
Spring连接数据库的实现增删改查 数据库连接JDBC JDBC(Java Data Base Connectivity,Java数据库连接)是一种用于执行SQL语句的JavaAPI,可以为多种关系数据库提供统一访问,它由一组用Java语言编写的类和接口组成。JDBC为数据库开发人员提供了一个标准 ...
分类:
数据库 时间:
2020-07-02 18:31:06
阅读次数:
68
Linux shell脚本,按顺序批量启动多个jar包,批量启动spring cloud的jar包 一. 手动一个一个启动的方式: nohup java -jar eurekaserver.jar > ../logs/eurekaserver.log 2>&1 & nohup java -jar c ...
分类:
编程语言 时间:
2020-07-02 16:52:39
阅读次数:
185
方法1 使用 @SpringBootApplication 注解,用 exclude 属性进行排除指定的类: @SpringBootApplication(exclude = {DataSourceAutoConfiguration.class}) public class Application ...
分类:
编程语言 时间:
2020-07-02 16:24:30
阅读次数:
166
https://blog.rsisecurity.com/understanding-the-cryptocurrency-security-standard-ccss/ Cryptocurrency has become wildly popular in the past few years. ...
分类:
Web程序 时间:
2020-07-02 13:37:53
阅读次数:
81
https://www.redteamsecure.com/compliance/cryptocurrency-security/ The CryptoCurrency Security Standard (CCSS) is a set of requirements designed to gov ...
分类:
其他好文 时间:
2020-07-02 13:34:38
阅读次数:
64
https://blog.rsisecurity.com/how-to-achieve-cryptocurrency-security-standard-ccss-compliance/ Without a doubt, Bitcoin, cryptocurrency, and the blockc ...
分类:
Web程序 时间:
2020-07-02 13:33:09
阅读次数:
92
IOC控制反转,DI依赖注入 1.1IOC是什么 Ioc --Inversion of Control 既控制反转,不是什么技术,是一种设计思想。在java开发中,Ioc意味着将你设计好的对象交给容器控制,而不是传统的在你的对象内部直接控制。理解好Ioc的关键是要明确“谁控制谁,控制什么,为何是反转 ...
分类:
编程语言 时间:
2020-07-02 12:00:48
阅读次数:
79