之前在升级网站的时候,runserver遇到了Authentication plugin 'caching_sha2_password' cannot be loaded的报错。百度过后知道是因为MySQL8采用了caching_sha2_password的加密方式,需要改回旧的mysql_nati ...
分类:
数据库 时间:
2019-10-26 20:57:56
阅读次数:
147
在springboot中启用了@SpringBootApplication注解,就能启用spring内建注解。包含@AutoWired。 @AutoWired可标记到 属性 setter 构造器 FooFormatter 1、属性 2、setter 3、构造器 如果依赖的对象没有被注入,如 就会抛出 ...
分类:
其他好文 时间:
2019-10-26 20:38:16
阅读次数:
100
一、华为防火墙设备的几种管理方式介绍:由于在对防火墙设备配置管理方式时,涉及到了AAA这个概念,索性就将AAA的相关介绍简单写一下。AAA是验证(Authentication)、授权(Authorization)和记账(Accounting)三个部分组成,是一个能够处理用户访问请求的服务器程序,主要目的是管理用户访问网络服务器,为具有访问权限的用户提供服务。其中:验证:哪些用户可以访问网络服务器。
分类:
其他好文 时间:
2019-10-26 10:25:49
阅读次数:
1167
拥有原来的密码 下登陆进入mysql use mysql; update user set authentication_string=passworD("新密码") where user='root'; flush privileges; eixt; 重新输入新的密码即可 ...
分类:
数据库 时间:
2019-10-25 19:55:21
阅读次数:
94
运行springboot项目报错: *************************** APPLICATION FAILED TO START *************************** Description: Field userMapper in com.whohim.spri ...
分类:
移动开发 时间:
2019-10-25 09:43:07
阅读次数:
4091
三大认证组件 认证Authentication 可以在配置文件中配置全局默认的认证方案 也可以在每个视图中通过设置authentication_classess属性来设置 认证失败会有两种可能的返回值: 401 Unauthorized 未认证 403 Permission Denied 权限被禁止 ...
分类:
其他好文 时间:
2019-10-25 00:07:05
阅读次数:
100
来源:https://www.cnblogs.com/RainingNight/p/cookie-authentication-in-asp-net-core.html 由于HTTP协议是无状态的,但对于认证来说,必然要通过一种机制来保存用户状态,而最常用,也最简单的就是Cookie了,它由浏览器自 ...
分类:
Web程序 时间:
2019-10-24 13:22:25
阅读次数:
98
来源:https://www.cnblogs.com/RainingNight/p/introduce-basic-authentication-in-asp-net-core.html 在ASP.NET 4.X 中,我们最常用的是Forms认证,它既可以用于局域网环境,也可用于互联网环境,有着非常 ...
分类:
Web程序 时间:
2019-10-24 09:17:53
阅读次数:
92
mysql 无法连接提示 Authentication plugin 'caching_sha2_password' cannot be loaded 可能是密码没有设置或者,密码设置类型不符,可参考如下步骤解决 1 查看当前账户,和密码 或者是否设置了authentication_string 2 ...
分类:
数据库 时间:
2019-10-23 22:24:31
阅读次数:
116
Step1:交换机配置aaa信息 enable password cisco!username zhangsan password 0 Passw0rdaaa new-model //一定要敲!!aaa authentication login default lineaaa authenticat ...
分类:
系统相关 时间:
2019-10-23 09:49:40
阅读次数:
128