cost 284 ms
LDAP:错误代码 49 - 80090308:LdapErr:DSID-0C09044E,注释:AcceptSecurityContext 错误,数据 52e,v2580(第一次使用 ldap) - LDAP: error code 49 - 80090308: LdapErr: DSID-0C09044E, comment: AcceptSecurityContext error, data 52e, v2580 (first time using ldap)

我在 spring 上遇到 ldap 问题,我知道那个错误是什么意思,但我知道我在连接配置中做错了什么这是我的应用程序。属性: 密码和用户名都很好,但也许我的基础是假的? 谁能帮我吗? 这是我尝试做的 我只是尝试连接到活动目录并发现它是如何工作的 ...

spring 安全 5.7 - 没有 WebSecurityConfigurerAdapter 的多重身份验证提供程序 - spring security 5.7 - multiple authentication provider without WebSecurityConfigurerAdapter

我正在使用 spring 安全 5.7 并且不推荐使用 WebSecurityConfigurerAdapter。 我想使用多个身份验证提供程序(Ldap 和 Dao),但 ldap 提供程序不起作用,spring 安全性只需调用 DaoAuthenticationProvider。 当删除 Dao ...

Spring 安全性中的 Ldap AD 身份验证 - Ldap AD Authentication in Spring Security

我的应用程序中有一个登录页面,我想根据 Ldap AD 验证输入的用户名/密码。 我正在考虑创建绑定并获取上下文。 如果绑定成功,则表示用户已通过身份验证。 在 Java 我已经实现了这样的: 上面的代码非常适合我。 我想使用 spring 安全性在 spring 引导应用程序中实现相同的功能。 我 ...

Spring 安全性 LDAP 身份验证应该只验证一个用户 - Spring Security LDAP Authentication should authenticate only one user

我希望我的 rest api 仅限于特定用户(超级用户)。 我正在使用 Spring 安全性,如果我提供超级用户/密码,下面的代码可以正常工作,它只检查密码的正确性。 即使我给了一些带有正确密码的随机用户名,它也会说身份验证成功。 如何验证作为 BasicAuth 的一部分给出的用户名是否与“Sup ...

如何在 spring-security 5.7 中配置 ldap,同时保留基本表单登录 - How to configure ldap in spring-security 5.7 while retaining basic form login

我正在尝试将我的 webSecurity 配置为使用 ldap 和基本身份验证 (jdbc) 以及新的基于组件的安全配置(无 WebSecurityConfigurerAdapter),但我无法让它同时使用这两者。 所需的结果是 spring 第一次尝试 ldap,如果它没有找到(或者现在只是失败就 ...

Spring security Ldap 身份验证异常:不是 DirContext 的实例 - Spring security Ldap authentication Exception : Not an instance of DirContext

我正在尝试使用 Spring Security 连接到 Ldap 服务器(由公司托管,没有太多关于它的信息),我有这个 bean: 但我得到了这个错误: 引起:org.springframework.ldap.NotContextException:不是DirContext的实例; ...

Java Spring - Active Directory - 如何获取 AD 用户详细信息(电话号码、全名、邮件、地址、描述)? - Java Spring - Active Directory- How can I Get AD User Details (telNumber, full name, mail , address, description)?

在我的大学项目中,我想从 AD 服务器获取用户信息,例如电话号码、邮件、身份验证后的全名。 所以我使用默认的 spring 安全登录页面,在身份验证后,我通过身份验证 object 获得了 dn 和权限。我想知道如何获取广告用户的详细信息。 我想获取他的电话号码以发送带有 API 的消息。这部分已 ...

springboot with LDAP Auth 搜索未找到结果,base: '' - Springboot with LDAP Auth No results found for search, base: ''

我正在尝试将我的 SpringBoot 应用程序连接到 ldap 服务器。 (未嵌入)我尝试连接时的问题是: 我不明白为什么 base '' 是空的,因为我在属性中指定了它。我不知道这是否是唯一的问题,如果可以的话请告诉我。 谢谢! 端点 Web安全配置 OpenLdapAuthentica ...

使用文本文件动态配置 LDAP 服务器属性 - Dynamically configure LDAP server Properties using text file

我目前使用 LDAP 使用 Spring 安全性和 XML 配置。 我需要关于如何将 URL、端口、manager-dn 和密码等属性放入外部文件的建议。 我的意思是,我们需要将其放在外部,因为我们的其他团队(实施团队)需要将这些属性值更改为 go live 而不更改战争/二进制文件中的任何内容。 ...

如何使用 Spring Security 中的绑定身份验证机制从任何 ldap 服务器(嵌入式服务器除外)对 ldap 用户进行身份验证 - How to authenticate a ldap user from any ldap server(except embedded server) using bind authentication mechanism in spring security

我想在我公司的现有 spring boot 项目中实现 ldap 身份验证,因此我尝试首先实现一个示例 spring boot 应用程序,其中我将从我公司的 ldap 服务器中验证一个 ldap 用户。 如果它工作正常,那么我将在我现有的项目中实现相同的代码,我只想使用 ldap 绑定身份验证机制来 ...

LdapAuthenticationProvider::authenticate 在一次调用错误密码后锁定帐户 - LdapAuthenticationProvider::authenticate locks account after a single call with wrong password

这是/曾经是 java 问题,请参阅在多个 LDAP 服务器上重试失败的身份验证会导致用户被阻止当 LDAP URL 包含的 LDAP 服务器超过允许的最大 Bad-Pwd-Count 时,在对 LdapAuthenticationProvider::authenticate (spring-sec ...

Active Directory LDAP 使用 Spring Boot 和 Java 进行身份验证 - Active Directory LDAP Authentication using Spring Boot and Java

我正在尝试通过组织 ldap 服务器进行身份验证。 当我输入凭据时,我遇到了这个错误。 有人可以帮忙吗? LDAP处理过程中出现未分类异常; 嵌套异常是 javax.naming.NamingException: [LDAP: error code 1 - 000004DC: LdapErr: D ...

Spring Security ProviderNotFoundException when user authentication failed - Spring Security ProviderNotFoundException when user authentication fails

我已经设置了一个 LDAP 自定义身份验证提供程序,类似于此处的示例 - https://www.baeldung.com/spring-security-authentication-provider 有一个登录 Controller 来处理登录错误并检查用户是否在批准的列表中。 Contro ...

LDAP 是以明文还是编码文本存储用户密码? - Does LDAP store user password in clear text or as encoded text?

我正在阅读这篇 spring LDAP 集成文章: https://spring.io/guides/gs/authenticating-ldap/ 本文包含一个示例 LDIF 文件,其中密码以明文形式显示。 但是这个用户密码是加密的 所以只是想知道,这是否可以在 LDAP 服务器上配置。 为什么 ...


 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM