一、背景介绍 JDK8的加密策略存在限制版本和无限制版本,随着越来越多的第三方工具只支持 JDK8,业务环境中,发现有些方法会报异常: 1、使用AES加解密 java.security.InvalidKeyException: Illegal key size 2、安全性机制导致的访问https会报 ...
分类:
其他好文 时间:
2020-07-09 22:33:57
阅读次数:
91
HTTP/1.1 502 Fiddler - Connection Failed Date: Thu, 09 Jul 2020 10:31:22 GMT Content-Type: text/html; charset=UTF-8 Connection: close Cache-Control: n ...
分类:
Web程序 时间:
2020-07-09 19:38:47
阅读次数:
116
Hello and Welcome to the first part of an exciting series of blog posts where you will learn how to build an end-to-end full stack polling app similar ...
分类:
移动开发 时间:
2020-07-08 19:54:59
阅读次数:
69
摘自:https://www.phpyuan.com/235739.html 一、前言 安全增强型 Linux(Security-Enhanced Linux)简称 SELinux,它是一个 Linux 内核模块,也是 Linux 的一个安全子系统。 SELinux 主要由美国国家安全局开发。2.6 ...
分类:
系统相关 时间:
2020-07-08 13:06:40
阅读次数:
104
SpringBoot整合SpringSecurity 1. 认识SpringSecurity Spring Security 是针对Spring项目的安全框架,也是Spring Boot底层安全模块默认的技术选型,他可以实现强大的Web安全控制,对于安全控制,我们仅需要引入spring-boot-s ...
分类:
编程语言 时间:
2020-07-07 20:07:31
阅读次数:
56
package org.springframework.security.oauth2.common.util; import java.security.SecureRandom; import java.util.Random; /** * Utility that generates a ra ...
分类:
其他好文 时间:
2020-07-07 19:53:13
阅读次数:
46
提高汽车系统的安全性 Enhancing security in automotive systems 2015年,奥迪公司、宝马集团和戴姆勒公司共出资28亿欧元收购诺基亚吉泰公司。导航系统在自主驾驶时代的重要性再怎么强调也不为过。对于高度自动化甚至是自动驾驶,都需要精确的定位。为此,最重要的组成部 ...
分类:
其他好文 时间:
2020-07-07 09:52:11
阅读次数:
62
一、条件构造器Wrapper Mybatis Plus为我们提供了如下的一些条件构造器,我们可以利用它们实现查询条件、删除条件、更新条件的构造。 条件构造器用于给如下的Mapper方法传参,通常情况下: updateWrapper用于给update方法传条件参数 queryWrapper用于给del ...
分类:
其他好文 时间:
2020-07-07 09:35:54
阅读次数:
60
Active MQ 02 常用API 事务 session.commit(); session.rollback(); 用来提交/回滚事务 Purge 清理消息 签收模式 签收代表接收端的session已收到消息的一次确认,反馈给broker ActiveMQ支持自动签收与手动签收 Session. ...
分类:
其他好文 时间:
2020-07-06 13:04:38
阅读次数:
55
自定义认证过程 自定义认证的过程需要实现Spring Security提供的UserDetailService接口 ,源码如下: public interface UserDetailsService { UserDetails loadUserByUsername(String username) ...
分类:
编程语言 时间:
2020-07-06 01:28:18
阅读次数:
79