ICode9

精准搜索请尝试: 精确搜索
  • windows平台下的oracle ORA-01031的解决方法2020-09-28 09:33:15

    今天下午遇到一个很怪异的问题,在windows平台下sqlplus / as sysdba登陆数据库,提示权限不足,   当时就纳闷了,sys用户登陆数据库还能权限不足,问题出现了,就开始寻找解决方法呗 首先查看$ORACLE_HOME/network/admin/sqlnet.ora中SQLNET.AUTHENTICATION_SERVICES项的配置信息, 网上的大

  • Spring Security认证流程分析--练气后期2020-08-22 14:31:52

    写在前面 在前一篇文章中,我们介绍了如何配置spring security的自定义认证页面,以及前后端分离场景下如何获取spring security的CSRF Token。在这一篇文章中我们将来分析一下spring security的认证流程。 提示:我使用的spring security的版本是5.3.4.RELEASE。如果读者使用的不是和我

  • 【MySql8.0安装时Authentication Method默认选中第一项后Navicat等工具连接不上问题处理】2020-08-20 18:32:34

    开始中找到MySql8.0 Command Line Client 打开后分别执行以下命令   // 修改加密规则ALTER USER 'root'@'localhost' IDENTIFIED BY 'password' PASSWORD EXPIRE NEVER; // 更新一下用户的密码 ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_nativ

  • Authentication and authorization (three)2020-08-16 13:00:40

    前言 在写三上是在一的基础上写的,所以有没有看过二是没得关系的,在一中介绍了认证与授权,但是没有去介绍拿到证书后怎样去验证授权。 概念性东西:在这套机制中,把这个权限认证呢,称作为policy。这个policy是怎么样的过程呢? 就像我前面说的,证书也认证了,policy做的是检查你的证书中是否符

  • 2.3.2.6 Packet Tracer - Configuring PAP and CHAP Authentication2020-06-23 10:36:36

                                                                        前文就不写这么多了,看过程好吗 目标   第1部分:查看路由配置 第2部分:将PPP配置为封装方法 第3部分:配置PPP身份验证 背景 在本练习中,您将练习在串行链路上配置PPP封装

  • mysql 8.0+忘记root密码-linux2020-06-16 22:08:25

    1.vim /etc/my.cnf 在[mysqld]最后加上如下语句并保存退出 2.重启mysql服务 : service mysqld restart 3.免密码登陆: mysql -u root -p password校验直接回车 select host, user, authentication_string, plugin from user; use mysql;选择数据库 update user set authentica

  • ORA-28040: No matching authentication protocol2020-05-29 13:08:02

    java.sql.SQLException: ORA-28040: No matching authentication protocol ORA-28040:没有匹配的身份验证协议     事情是这样的,之前项目连接的数据库是oracle9i,驱动用的ojdbc6,后来换成oracle12.1.0.2.0版本的数据库,项目也能正常连接上数据库,最后又换成oracle12.2.0.1版本的数

  • mysql Authentication plugin 'caching_sha2_password' is not supported问题处理2020-05-25 19:08:14

    使用mysql8.0版本,登录失败,提示 Authentication plugin 'caching_sha2_password' is not supported。 原因是在MySQL 8.0以后,默认的密码加密方式是caching_sha2_password而不是mysql_native_password。 解决方法: 1.登录mysql数据库 mysql -u root -p 2.更新身份认证方式 ALTER US

  • spring security 的jwt认证以及原理解析2020-05-15 17:03:48

    1.我们需要建立一个token的生产解析管理器,用于生成token,获取Authentication,验证token格式,以及从请求中获取token; 2.因为我们使用token进行权限控制等,所以我们需要重写一个基于token认证的过滤器,截取请求中的token首先对其进行一个redis查询存在后并对其解析(解密-需要正常

  • 内网安全三:利用AD + NPS实现有线的802.1x准入认证功能2020-05-09 15:51:55

    实现环境   GNS3桥接两台虚拟机,一台win server 2008,一台win 7 拓扑:   预先配置   服务器(这里以win2008为例)预先安装好服务,如AD、DNS、DHCP等:      在服务器上创建账号user1   DHCP上创建好对应网段的地址池    PC入域   在AD上创建4个用户组      服务器

  • MySQL重置密码2020-04-30 23:58:23

    一、环境 OS:CentOS 7 (x86_64) MySQL:8.0.20-1.el7 (mysql-community-server.x86_64) 二、密码重置 1.修改配置文件/etc/my.cnf,把下图这行的注释“#"去掉,或者直接添加上“skip-grant-tables”: 2.启动mysql: 3.更改密码   输入mysql进入mysql控制台;   输入下面代码重置root用

  • MySQL 连接出现 Authentication plugin 'caching_sha2_password' cannot be loaded2020-04-30 17:07:45

    在使用Navicat Premium 12连接MySQL数据库时会出现Authentication plugin 'caching_sha2_password' cannot be loaded的错误。 出现这个原因是mysql8 之前的版本中加密规则是mysql_native_password,而在mysql8之后,加密规则是caching_sha2_password, 解决问题方法有两种,一种是升

  • ubuntu解决xshell不能直接连接root用户的方法2020-04-22 23:02:55

    vi /etc/ssh/sshd_config   # Authentication: LoginGraceTime 120#PermitRootLogin without-passwordPermitRootLogin yesStrictModes yes     service ssh restart   如果使用普通用户登录的话,操作的时候注意提权,使用sudo  

  • Spark 往Kudu中写入时 cannot import authentication data from a different user: old='', new='2020-04-20 17:55:32

       首先在/etc/init.d中关闭kudu-master和kudu-tserver    进入kudu配置文件,/etc/kudu/conf,修改master.gflagfile文件,添加如下配置 --rpc_authentication=disabled --rpc_encryption=disabled --trusted_subnets=0.0.0.0/0  分别指禁用RPC授权、禁用RPC加密、信任所有远

  • SpringSecurity的自定义用户密码验证2020-04-11 16:00:53

    我的用户密码前台输入后,需要和用户名关联进行加密比较,所以重写了AuthenticationProvider的实现类进行处理;   @Component public class MyAuthenticationProvider implements AuthenticationProvider { @Autowired private ISysUserService iSysUserService; @Autow

  • Postman请求Https接口与认证2020-04-07 22:56:24

    单向证书认证 无需任何处理,只需要把http://更换为https://。 双向证书认证 1. 关闭SSL证书校验 File->Setting->General,关闭“SSL certificate verification” 2. 添加客户端证书 Setting->Certificates CRT file为客户端密钥库的公钥,KEY file为客户端密钥库的私钥,Passphrase为私

  • [翻译] 探究 Asp.net core 中间件 JWT bearer authentication 背后的技术2020-04-03 14:03:27

    本文译自: https://andrewlock.net/a-look-behind-the-jwt-bearer-authentication-middleware-in-asp-net-core/ 本篇已收录至 asp.net core 随笔系列 这篇文章是 asp.net core authentication 和 authorisation 系列中的一篇. 在第一篇中我们了解了关于 authentication 和 autho

  • Linux用户密码过期 FAILED to authorize user with PAM (Authentication token is no longer valid; new one req)2020-04-01 11:58:29

    执行crontab [root@FMPVZABBIX mysql_backup]# tail -f /var/log/cron Jul 16 14:12:01 FMPVZABBIX crond[13308]: (root) PAM ERROR (Authentication token is no longer valid; new one required) Jul 16 14:12:01 FMPVZABBIX crond[13308]: (root) FAILED to authorize user

  • AspNetCore3.1_Secutiry源码解析_1_目录2020-03-17 23:55:03

    文章目录 AspNetCore3.1_Secutiry源码解析_1_目录 AspNetCore3.1_Secutiry源码解析_2_Authentication_核心项目 AspNetCore3.1_Secutiry源码解析_3_Authentication_Cookies AspNetCore3.1_Secutiry源码解析_4_Authentication_JwtBear AspNetCore3.1_Secutiry源码解析_5_Authentic

  • 一问带你区分清楚Authentication,Authorization以及Cookie、Session、Token2020-03-12 11:59:04

      1. 认证 (Authentication) 和授权 (Authorization)的区别是什么?   这是一个绝大多数人都会混淆的问题。首先先从读音上来认识这两个名词,很多人都会把它俩的读音搞混,所以我建议你先先去查一查这两个单词到底该怎么读,他们的具体含义是什么。 说简单点就是: 认证 (Authenticati

  • RK3308上解决SSH提示“Password authentication failed”的问题2020-03-08 18:41:19

    最近在使用buildroot为RK3308制作相关固件,系统制作好以后,使用secureCRT通过SSH登录,总是提示密码验证失败,可以确定的是sshd服务应打开,登录用户和密码也没有问题,可是ssh死活登录不上,最后百度了N次,发现是配置文件的问题,在这里记录一下: 1、通过测试可以得知,通过buildroot配置编译安

  • redis认证问题--(error) NOAUTH Authentication required.2020-03-03 13:39:01

    今天操作redis时突然出现: (error) NOAUTH Authentication required. 上网查了查,原来是认证问题,只需要输入: auth “yourpassword” 注意:密码要用引号,不然会出现(error) ERR invalid password 我在验证时就没注意密码用引号,后来又是一顿查找。哈哈~~~ 做个记录,加强一下记忆。

  • SpringSecurity认证流程2020-02-26 21:54:38

    UsernamePasswordAuthenticationFilter 先看主要负责认证的过滤器UsernamePasswordAuthenticationFilter,有删减,注意注释。 public class UsernamePasswordAuthenticationFilter extends AbstractAuthenticationProcessingFilter { public static final String SPRING_SECURIT

  • Navicat连接Mysql报错:Client does not support authentication protocol requested by server;2020-02-24 22:00:53

    一、Navicat 在生产环境中操作MySQL数据库还是推荐使用命令行工具mysql,但在我们自己开发测试时,可以使用可视化工具Navicat,以图形界面的形式操作MySQL数据库。 官网下载:https://www.navicat.com/en/products/navicat-for-mysql 网盘下载:https://pan.baidu.com/s/1bpo5mqj   Navica

  • 007-解决Navicat报错1251-Client does not support authentication protocol requested by server;consider upg2020-01-30 12:56:33

    报错:  解决方法: 输入select host,user,plugin,authentication_string from mysql.user;  看用户信息 更改加密方式,重置密码:(原加密方式为:alter user 'root'@'localhost' identified by  '123';) alter user 'root'@'localhost' identified by  &#

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有