windows-security 相关问题


bean“mvcHandlerMappingIntrospectorRequestTransformer”无法注册。具有该名称的 bean 已被定义并覆盖 i

环境:Spring Boot 3.2.1、JDK 21、GraalVM、Spring Native、Spring Security。错误 微软Windows [版本10.0.22631.2861] (c) 微软公司。版权所有。 。 ____ ...


将 Spring Security 5 迁移到 Spring Security 6 HttpSecurity 问题

Spring Security 6 中以下代码应该替代什么? http .authorizeRequests() .requestMatchers("/hub/**").access("hasPermission('SOME_LAYER', '')")...


如何使用spring security 6为AuthenticationManager的参数2定义bean?

我是 Spring Security 6 的新手。当我尝试配置安全性时,出现此错误: ************************** 应用程序无法启动 ************************** 描述:


authorization_code 授权类型的 unsupported_grant_type 错误:Spring Security OAuth2

我正在尝试使用 Spring Security 通过 OpenID Connect 实现 OAuth2 授权服务器。 为此,我使用带有刷新令牌和 JWT 的授权代码流程。这是我的配置...


无法提取响应:在 springn oauth2client 代码中找不到适合响应类型的 HttpMessageConverter

我正在尝试实现 spring security oauth2client。 我使用 springboot 3。我也实现了 spring security oauth2 授权服务器。 当我启动客户端应用程序时,我得到


Spring Security 6 POST 请求未经permitAll()授权

我正在使用 Spring Boot 3、Spring Security 6。我的安全配置无法正常工作。我有 2 条路径,任何请求都应该被允许,而对于其他所有请求,都需要进行身份验证...


ASP.Net 表单 - Content-Security-Policy 随机数值不适用于内联脚本

net 空 webform 项目并添加 1 个按钮、1 个内联脚本(按钮中使用的 1 个函数)并为 Content-Security-Policy 设置声明 1 个元标记。 我的意图是想在我的...


Duo Security Admin API 用户请求在 Java 中使用失败

我正在使用 Duo Security Admin API。但是当我使用下面的代码调用 api 时,它显示: 获取用户请求因 HTTP 失败(响应代码:401) 这是我的java代码: 无效用户(){ // 双广告...


如何在Spring Security中检查每个请求的用户状态

我正在使用 spring security 并实现了 UserDetailsService ,它完美地处理了我的用户登录过程。 问题是这样的: 是否有一种标准方法可以从数据库中检查用户状态


创建名为“springSecurityFilterChain”的 bean 时出错

我一直在关注Spring Security Reference,我只添加了这些类: @配置 @EnableWebMvcSecurity 公共类 WebSecurityConfig 扩展 WebSecurityConfigurerAdapter { @


使用python的mechanize自动网站登录

我正在尝试自动登录一个网站,该网站的登录表单具有以下 HTML 代码(摘录): 我正在尝试自动登录一个网站,其登录表单具有以下 HTML 代码(摘录): <tr> <td width="60%"> <input type="text" name="username" class="required black_text" maxlength="50" value="" /> </td> <td> <input type="password" name="password" id="password" class="required black_text" maxlength="50" value="" /> </td> <td colspan="2" align="center"> <input type="image" src="gifs/login.jpg" name="Login2" value="Login" alt="Login" title="Login"/> </td> </tr> 我正在使用python的mechanize模块进行网页浏览。以下是代码: br.select_form(predicate=self.__form_with_fields("username", "password")) br['username'] = self.config['COMMON.USER'] br['password'] = self.config['COMMON.PASSWORD'] try: request = br.click(name='Login2', type='image') response = mechanize.urlopen(request) print response.read() except IOError, err: logger = logging.getLogger(__name__) logger.error(str(err)) logger.debug(response.info()) print str(err) sys.exit(1) def __form_with_fields(self, *fields): """ Generator of form predicate functions. """ def __pred(form): for field_name in fields: try: form.find_control(field_name) except ControlNotFoundError, err: logger = logging.getLogger(__name__) logger.error(str(err)) return False return True return __pred 不知道我做错了什么...... 谢谢 该网站有可能在登录期间使用java脚本进行回发。我记得很清楚,对于 ASP .Net 站点,您需要获取隐藏表单字段,例如 VIEWSTATE 和 EVENTTARGET 并将它们发布到新 Page 。 您为什么不发送问题网站的链接?之后就变得相对容易弄清楚了 尝试使用 Selenium 和 PhantomJS from selenium import PhantomJS import platform if platform.system() == 'Windows': # .exe for Windows PhantomJS_path = './phantomjs.exe' else: PhantomJS_path = './phantomjs' service_args = [ # Proxy (optional) '--proxy=<>', '--proxy-type=http', '--ignore-ssl-errors=true', '--web-security=false' ] browser = PhantomJS(PhantomJS_path, service_args=service_args) browser.set_window_size(1280, 720) # Window size for screenshot (optional) login_url = "<url_here>" # Credentials Username = "<insert>" Password = "<insert>" # Login browser.get(login_url) browser.save_screenshot('login.png') print browser.current_url browser.find_element_by_id("<username field id>").send_keys(Username) browser.find_element_by_id("<password field id>").send_keys(Password) browser.find_element_by_id("<login button id>").click() print (browser.current_url) browser.get(scrape_url) print browser.page_source browser.quit() ''' python 和 pycharm 设置路径变量 点维辛检查 包管理器 python 如何安装新版本 python最新版本 - python 3.7.2 用户环境变量 蟒蛇 pyton 中的命令行 '''


Spring Security 循环依赖

我的 SecurityConfiguration 和 CustomAuthenticationFilter 之间存在循环依赖关系。我认为 AuthenticationManager 是问题所在,我无法解决它。 安全配置 @


Spring security 6.2 JSESSIONID 未返回

我正在使用 Kotlin 创建一个 Spring Boot 应用程序。我已经将 WebSecurity 配置为: @配置 类安全配置{ @Autowired Lateinit var dataSource: 数据源 @值(...


/admin/v1/users 在 DUO Security Admin API 中给出 40103

我正在尝试使用它显示的 /admin/v1/users 创建 { “代码”:40103, "message":"请求凭证中的签名无效", “统计”:“失败” } 哈...


SSAS/Power BI 行级安全性

我一直在使用 radacad 创建的一些非常有用的文章(例如 https://radacad.com/dynamic-row-level-security-with-manager-level-access-in-power-bi),使我能够添加一些行级安全...


Spring Security 6 中 BCryptPasswordEncoder 注册和登录密码不匹配

这个问题我找了好久都没有解决,看了很多东西,还是不明白。 一般来说,我有一个用户注册表单(Thymeleaf),其中的数据传输到...


Websockets 和 Spring Boot Security 的错误 401

我正在使用 Spring Boot 3.1.0,我正在尝试在我的应用程序中实现一些 websockets。我正在按照互联网上的教程来实现它们并生成一些统一的测试以确保......


Spring Boot api 在多次成功的 200 响应后给出 403

我有一个 Spring Boot 应用程序,它使用 spring security 作为依赖项。我正在将 Spring boot 版本从 2.7.16 迁移到 3.2.1。在 2.7.16 版本中一切正常。但在 3.2.1 中,其余 API 都...


如何修复“在索引 0 处找到带有非文字参数的 fs.readFile”?

我正在尝试在 TypeScript 项目中添加 eslint-plugin-security。然而,对于这些代码 从 'fs' 导入 { Promise as fsp }; 从 'fs' 导入 fs; 从“路径”导入路径; 常量索引=等待...


在 Springdoc 中自动生成基于 Swagger 注释的描述

基本上我的问题与这个相同,但是针对Springdoc(而不是Springfox)。 简而言之,我有一个 Spring-boot 应用程序,并且我正在使用 spring-security @PreAuthorize 注释来保护我的一些......


配置 SAML2:绕过“InResponseTo”验证,同时保留 OpenSaml4AuthenticationProvider 中的默认设置

我有一个在 Nginx 和 Spring Security 后面运行的 Java 后端应用程序用于 SSO。我的后端应用程序缺乏记住 cookie 会话的机制,因为 SSO 请求可能由...发起


为什么最新的WDK默认不支持Windows 7?

我下载了针对 Windows 7 的驱动程序(在“.vcxproj”中有选项“TargetVersion”==“Windows 7”)。我还安装了 Visual Studio 2022 Community、最新的 SDK 和...


为什么 CORS 配置为允许任何访问,登录时仍然出现 401 Unauthorized 错误?

经过几天的尝试解决以下问题后,我对以下问题感到不知所措。 我构建这个项目的上下文是 React/Axios/Spring Boot 3/Spring Security 6。 我收到 401 CORS unauthor...


如何在 ARM64 系统上原生构建适用于 ARM64 的 Windows 11 设备驱动程序?

如何在 ARM64 系统上原生构建适用于 ARM64 的 Windows 11 设备驱动程序? 使用: ARM64 虚拟机上的 Windows 11 21H2(主机:MacBook M1) 视觉工作室17.5.2 Windows 驱动程序套件 10.0.226...


Windows XP 中是否可以显示“输入符号”?

我想在 Windows XP 中显示 Enter 键的符号。有没有显示该符号的组合键?


为什么在Windows环境下Apache IoTDB中运行`pip install`后出现`failed to build thrift`错误?

pip install apache-iotdb工具不支持Windows环境吗?在Windows中运行pip install apache-iotdb==0.13.0.post1后,出现错误消息:Failed to build thrift, ERROR: Could ...


如何在 C for Windows 中正确链接到库

我目前正在尝试 Windows 的 C 编程。我有 Windows 11,我在 VS Code 上编码,并且我已经安装了 MinGW 并将其正确添加到 PATH 中。问题是我无法链接我的 p...


我们需要高级帐户才能将 pritunl VPN 与 Windows Active Directory 集成吗?

我们需要高级帐户才能将 pritunl VPN 与 Windows Active Directory 集成吗? 我无法将我的免费 pritunl 与 Windows AD 集成, 我在 pritunl 中找不到任何选项...


如何通过 Azure 门户查找虚拟机上的 Windows 版本

如何通过 Azure 门户查找我的虚拟机上运行的 Windows 版本? 我们有大约 60 个带有虚拟机的资源组,我们计划升级所有 Windows 服务器...


Matlab 2021 和 2023 交叉兼容性 [已关闭]

我在两台电脑上工作;一台 Windows 10 笔记本电脑和一台 Windows 7 工作站。 我在工作站上使用 MATLAB 2021a(因为它是与 Windows 7 兼容的最新版本)并且希望...


Srvnet 服务未在 Windows 容器中启动

我需要在Windows容器上启动文件共享服务 我的一个应用程序想要通过 //主机名或 ip 地址/C$/C/windows 访问容器内的文件夹,如下所示 我怎样才能做到呢


ToolStripItem(Windows 窗体)图像未完全呈现

我在设置 ToolStripItem(Windows 窗体)的图像时遇到一个奇怪的问题。 当我设置这样的图像时: ToolStripMenuItem oItem = new ToolStripMenuItem(); oItem.Text = Qit.WindowsStrings.


MariaDB 10.11 Windows 备份身份验证插件“auth_gssapi_client”无法加载

在 Windows 上安装了 MariaDB 10.11。尝试使用进行备份 $ mariabackup --backup --target-dir=F:/backup --user=root --password= https://mariadb.com/kb/en/full-backup-and-restore-with-mariabackup/


`R CMD 检查 --as-cran` 在 Windows 上找不到 `diff`

我在 Windows 上检查我的包裹时收到以下注释: > R CMD 检查 --as-cran mypkg_0.1.tar.gz (...) * 检查从“mypkg-Ex.Rout”到“mypkg-Ex.Rout.save”的差异...好的 留言...


WireGuard 的“禁用驱动程序签名强制执行”在 Windows 7 上是强制的还是某些本地错误?

我尝试在 Windows 7 SP 1(32 位)上使用 WireGuard,但隧道激活给我提供了以下跟踪信息和错误消息: 2024-01-04 16:44:45.812: [TUN] [V_VPN] 启动 WireGuard/0.5.3 (Windows...


Windows 平台不支持 System.Directory Services

我对软件开发和这个网站都很陌生。 我的问题是关于 Windows 上的 System.DirectoryServices 开发。 我启动了一个普通的 Visual Studio 2019 c# .net 5.0 项目,并且


Windows 上的 httpd.conf:找不到 API 模型结构 `php8_module`

我正在尝试按照这些指南在 Windows 上安装 PHP、Apache 和 MySQL。有时,系统会提示我编辑 httpd.conf 以指向我的 PHP 安装。 apache 目录和...


如何在react中获取Windows当前登录用户

我想知道哪个 Windows 身份验证登录用户使用我的网站,我该怎么做? 在.net中我使用了代码行 System.Threading.Thread.CurrentPrincipal.Identity.Name 我该怎么做


Windows 中的 UTF-8

如何在 C Windows 程序中将代码页设置为 UTF-8? 我有一个使用 fopen 打开文件的第三方库。我可以使用 wcstombs 将 Unicode 文件名转换为当前代码页,


如何在Windows上完全卸载VS Code?

在Windows 10上完全卸载Visual Studio Code及其扩展(包括所有配置等)的方法是什么? 我尝试卸载并安装,但它记住了之前的设置...


如何在 Windows 64 位上使用 Anaconda 安装 ImageMagick?

我下载了适用于 Windows 64 位的 ImageMagick 文件 ImageMagick-7.0.4-4-Q16-x64-dll.exe (链接)并安装了它。 我正在使用 Anaconda,但出现以下错误: C:\Anaconda2\lib\site-packages\


Windows 7 无法创建 SSL/TLS 安全通道。”} System.Net.WebException

我正在运行 Windows 7 64 位专业版并尝试编写 RSS Feed 阅读器 这是错误消息 - $Exception {“请求被中止:无法创建 SSL/TLS 安全通道。”} System.Net。


无法从 Windows 上的 Jupyter Notebook 中的虚拟环境访问库

我遇到一个问题,在 Windows 上运行 Jupyter Notebook 时无法从虚拟环境访问库。尽管激活了虚拟环境并安装了所需的


启动 GridDB 服务时出现问题

我在系统上启动 GridDB 服务时遇到困难。我在 Windows 11 电脑上使用适用于 Linux 的 Windows 子系统。当尝试使用以下方式启动服务时: sudo systemctl ...


Spring Integration SMB 在 Linux(CentOS 7) 上无效

我使用Spring Integration SMB将本地文件上传到Windows共享文件夹,在本地windows环境和idea中可以正常运行,但是当我将应用程序打成jar包时......


Windows操作系统主进程出现JavaScript错误

我正在开发一个 Electron.js 项目。当运行yarn electro-builder build 时,它会创建.exe 文件。 当我在 Windows 上安装该应用程序时,它会抛出一个错误


在 Windows Zip Installer 中哪里可以找到 Artifactory 6.10.0?

我必须将 Artifactory 从 5.8.2 升级到 6.1.0 或任何 6.x。然后升级到 7.x,但我找不到虚拟机的 Windows zip(我在 JFrog 页面中查找,但就是找不到...


在 Windows 10 中使用 vscode 进行四开

渲染时,弹出错误:未找到四开本安装 但是当我将 quarto 与 cli 一起使用时:quarto render myfile.qmd,成功 环境: 操作系统:Windows 10 专业版 四开——版本:1.0.37 vscode


在 Windows 主机上运行时,CreateProcessAsUser 失败并出现 Win32ErrorCode 1058:true?

我正在使用 Ansible 自动化平台。我正在尝试使用变为:true 在 Windows 主机上运行任务(特别是community.windows.win_credential),但失败并出现以下错误: { ...


.NET 6 连接到 Windows 会话切换

我正在将一个应用程序从 .NET Framework 迁移到 .NET 6。它在内部启动 Kestrel Web 服务器,并且旨在作为 Windows 服务运行 - 在使用 Topshelf li 实现的旧版本中...


© www.soinside.com 2019 - 2024. All rights reserved.