ICode9

精准搜索请尝试: 精确搜索
  • MySQL8.0修改密码问题2021-03-17 17:05:07

    MySQL5.7和之前的用户修改密码方式: mysql -uroot -e "Set password=password(‘123’);" mysql -uroot -p123.com -e "use mysql;update user set authentication_string=password('456') where user='root';" update mysql.user set authenticati

  • SpringCloud中利用OAuth2实现客户端单设备登录2021-03-10 16:01:06

    在OAuth2生成Token的地方,源码里面会判断Token是否已经存在,如果存在且未过期直接返回旧的Token,如果不存在或已过期,则重新生成一个新的Token 这里做一个改动:不管旧Token是否过期,都重新生成一个新的Token,保证在新客户端登录后,旧客户端上保存的Token立即失效   具体实现: 1、重新实现D

  • EAP type and method2021-03-08 18:03:46

    EAP type 和method https://www.vocal.com/secure-communication/eap-types/TypeDescriptionReference0 Reserved RFC 3748 1 Identify RFC 3748 2 Notification RFC 3748 3 NAK (Response Only) RFC 3748 4 MD5-Challenge RFC 3748 5 OTP, One Time Password RFC 2289RFC 3748

  • spring security (史上最全)2021-03-05 20:04:00

    文章很长,建议收藏起来,慢慢读! 疯狂创客圈为小伙伴奉上以下珍贵的学习资源: 疯狂创客圈 经典图书 : 《Netty Zookeeper Redis 高并发实战》 面试必备 + 大厂必备 + 涨薪必备 疯狂创客圈 经典图书 : 《SpringCloud、Nginx高并发核心编程》 面试必备 + 大厂必备 + 涨薪必

  • Spring Security 核心组件?2021-03-04 11:35:42

    SecurityContext SecurityContext是安全的上下文,所有的数据都是保存到SecurityContext中。 可以通过SecurityContext获取的对象有: Authentication SecurityContextHolder SecurityContextHolder用来获取SecurityContext中保存的数据的工具。通过使用静态方法获取SecurityContext的

  • SQL Server Management Studio(SSMS) 连接SQL Server 数据库2021-03-03 21:01:04

    1.安装SQL Server Management Studio(SSMS)  省略 2.连接 Server name: 127.0.0.1,2433   (serverip,port) server和port之间是逗号 Authentication:选择SQL Server Authentication Login: user id Password: password  3.以前连接都存在这儿

  • 20.3. Authentication Methods2021-02-25 18:30:37

    20.3 认证方法 PostgreSQL提供多种认证方式: Trust认证:完全相信,不设防; Password密码认证:需要用户发送密码; GSSAPI认证:基于GSSAPI认证库。 SSPI认证:windows下的GSSAPI; Ident认证:依赖客户端的认证协议(RFC 1413). Peer认证:依赖于操作系统工具来识别本地连接另一端的进程。不支

  • [.Net/SignalR] 如何为SignalR 的Client Side添加Header和AccessToken, 以及如何为Server 的SignalR添加Auth2021-02-18 11:01:27

        Ref: SignalR - authenticating with access token  (讲解了如何在Javascript中添加其他字段)   Authentication and authorization in ASP.NET Core SignalR

  • 「Nginx」- 配置基本认证(Basic Authentication) @202102172021-02-17 22:58:56

    问题描述 配置 Nginx 基础认证(Basic Authentication),实现在访问站点时提示用户进行基础认证。 解决方法 第一步、添加用户 // 创建新的 .htpasswd 文件 # htpasswd -c /etc/apache2/.htpasswd "tom" New password: Re-type new password: Adding password for user tom // 追

  • Spring Security 授权过程2021-02-13 22:33:13

    过滤器FilterSecurityInterceptor是一个请求处理过程中安全机制过滤器链中最后一个filter,它执行真正的HTTP资源安全控制,我们直接找到doFilter()方法。 FilterInvocation你可以看成带有HttpServletRequest,HttpServletResponse,FilterChain属性的类,也就是过滤器上下文对象。 pu

  • 代码中自定义通过163邮箱发送邮件时提示smtplib.SMTPAuthenticationError: (535, b‘Error: authentication failed‘)2021-02-11 17:32:38

    代码中自定义通过163邮箱发送邮件时提示(登录失败的提示)smtplib.SMTPAuthenticationError: (535, b’Error: authentication failed’) 解决方法: 163邮箱通过其他方式调用登录时,密码需要输入授权码。这个授权码是怎么来的呢?授权码需要在163邮箱中进行设置,步骤如下: 1)登录163邮

  • spring security+oauth2的认证中心2021-02-08 16:30:29

    认证中心功能主要包括:1.发放token                                      2.验证token                                      3.提供第三方登录 登出的页面 SpringSecurityConfig 与前文的配置相同 主要提供认证与授权功能 @EnableWebS

  • SpringSecurity 用户名和密码的校验过程及自定义密码验证2021-02-06 11:59:50

    1、源码执行过程 1.执行 AuthenticationManager 认证方法 authenticate(UsernamePasswordAuthenticationToken) 2.ProviderManager 实现了 authenticate(UsernamePasswordAuthenticationToken) 3.ProviderManager 是通过自身管理的n个AuthenticationProvider认证提供者去进行认

  • oauth2+spring security前后端调用流程2021-02-01 09:31:39

    端口号说明: 6001:网关 8001:业务服务端口 注 401:没有携带token(需要跳转)     402:认证失败,无效或过期token(需要跳转)     403:权限不足 不能访问接口(将信息显示前天) 登录所需接口 1登录接口(因为没有指定认证后跳转的路径 此接口不能单独使用) http://localhost:6001/authenti

  • 【新手小白必备】AAA原理及配置2021-01-27 16:00:41

    【温馨提示】需要资料或者需要进群交流划到最底部 AAA原理及配置 一、背景 AAA是Authentication(认证)、Authorization(授权)、Accounting(记账)的简称,它提供了认证、授权和计费三种安全功能,AAA可以通过多种协议来实现,比如RADIUS 二、应用场景 AAA应用场景 AAA认证提供对用户进

  • Jmeter:Authentication credentials were not provided2021-01-25 11:04:24

    Jmeter:Authentication credentials were not provided 上次在使用Jmeter对手机app进行录制后,使用查看结果树对脚本进行回放,出现了{“detail”:“Authentication credentials were not provided.”}的问题 上次的链接地址:https://blog.csdn.net/Test20201990/article/details/

  • PortSwigger Academy | Authentication : 身份认证2021-01-14 22:01:53

    文章目录 1 什么是身份验证?1.1 身份验证和授权有什么区别? 2 身份验证漏洞是如何产生的?3 易受攻击的身份验证有何影响?4 身份验证机制中的漏洞 ↓4.1 第三方身份验证机制中的漏洞4.2 防止对您自己的身份验证机制的攻击 ↓ 1 基于密码的登录中的漏洞1.1 暴力破解1.1.1 暴力破

  • Session vs Token Based Authentication2021-01-11 21:34:20

    HTTP is stateless. All the requests are stateless. However, there are situations where we would like our states to be remembered. For example, in a on-line shop, after we put bananas in a shopping cart, we don’t want our bananas to disappear when we go to

  • 18.核心2020-12-29 17:01:36

    UserDetails => Spring Security基础接口,包含某个用户的账号,密码,权限,状态(是否锁定)等信息。只有getter方法。 Authentication => 认证对象,认证开始时创建,认证成功后存储于SecurityContext principal => 用户信息对象,是一个Object,通常可转为UserDetails

  • 考题篇(6.4) 05 ❀ 企业防火墙 ❀ 飞塔 (Fortinet) 网络安全架构师 NSE72020-12-22 12:32:13

     An LDAP user cannot authenticate against a FortiGate device. Examine the real time debug output shown in the exhibit when the user attempted the authentication; then answer the question below.  〖LDAP用户无法根据FortiGate设备进行身份验证。当用户尝试身份

  • .net core 集成jwtBearer认证后,服务器接收时修改request header中Authorization这个key的名称2020-12-11 15:33:40

    由于客户服务器拦截了request header中的Authorization参数,导致无法正常授权访问。 找了半天目前只有这种方法可以变相解决 AddJwtBearer->OnMessageReceived方法中做简单修改,就可以接收到前台传递的Authorization2这个key了 public static void Configure(IServiceCollection se

  • AOP的适用范围2020-12-07 12:30:44

    Authentication 权限 Caching缓存 Context passing内容传递 Error handling 错误处理 Lazy loading 延时加载 Debugging 调试 logging, tracing, profiling and monitoring 记录跟踪 优化 校准 Performance optimization性能优化 Persistence 持久化 Resource pooling资源池 Sy

  • SpringBoot集成Spring Security(2)——密码校验2020-11-23 09:57:04

    一、前言         在上一篇《SpringBoot集成Spring Security(1)——登录认证》中已经做了Spring Security的基本入门,可以登录和做角色校验,这其中有一点比较好奇的就是密码校对这块。 二、简要分析         下面通过源码简单的来了解下Spring Security的密码校

  • mysql8.0 Authentication plugin 'caching_sha2_password' cannot be loaded2020-10-18 03:04:47

    错误码:2058 原因:新版MySQL改了密码验证组件,部分第三方的连接工具(例如SQLyog)仍然使用旧版验证组件,所以要用命令把默认的新版替换成旧版。   #修改加密规则alter user 'root'@'localhost' identified by '你的密码' password expire never; #更新用户密码alter user 'root'@'localh

  • Spring Security 入门(一):认证和原理分析2020-10-08 23:00:25

    Spring Security是一种基于Spring AOP和Servlet Filter的安全框架,其核心是一组过滤器链,实现 Web 请求和方法调用级别的用户鉴权和权限控制。本文将会介绍该安全框架的身份认证和退出登录的基本用法,并对其相关源码进行分析。 表单认证 Spring Security提供了两种认证方式:HttpBasic

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

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

ICode9版权所有