spring-ldap Questions

4

Solved

WebSecurityConfigurerAdapter: @Component @EnableWebSecurity public class SecurityConfiguration extends WebSecurityConfigurerAdapter { @Override protected void configure(HttpSecurity httpSecurity)...
Elspeth asked 2/8, 2022 at 5:29

4

Solved

I'm using java ldap to access active directory, more specifically spring ldap. a group search by objectGUID yields no results when the filter is encoded as specified in rfc2254. this is the guid in...

7

I am trying to use Spring LDAP in one of my Spring Boot projects but I am getting an 'Address already in use' error when running multiple tests. I have cloned locally the sample project here: http...
Scrummage asked 14/11, 2017 at 17:28

2

Solved

I'm new to ldap and I was trying what I thought was a trivial example to test the spring ldap module with an ldap instance that someone had already setup for testing. Details about the ldap instan...
Heeled asked 15/5, 2014 at 22:47

4

Solved

Had this kind of problem with main java module. rg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ldapContextSource' defined in class path resource [org/sprin...
Reparation asked 14/12, 2019 at 23:13

3

I'm using spring-ldap-core-2.3.1.RELEASE.jar over JDK 1.8 & Tomcat 8.0 to access AD information through LdapTemplate. The attributes such as title,department & company are not being returne...
Interpretative asked 25/7, 2017 at 6:31

3

I'm trying to get all entries on an LDAP server using Spring LDAP (version 2.3.2). Within my code, I make use of PagedResultsDirContextProcessor to paginate through all the result. This works fine ...
Gora asked 1/6, 2018 at 20:17

2

Solved

I am using Spring Data LDAP to get user data from an LDAP server. My file structure looks like this: main java com.test.ldap Application.java Person.java PersonRepository.java resources ap...
Downer asked 11/4, 2018 at 17:44

2

Solved

We are using Spring Security Ldap Library (v4.0.4) to fetch a list of users from our client's Active Directory (ldap://domain:389) and to authenticate them to sign in to our web application. Micro...
Consueloconsuetude asked 27/2, 2020 at 18:48

2

I use Spring LDAP authentication via: auth .ldapAuthentication() .userSearchFilter("userPrincipalName={0}") .contextSource() .managerDn(ldapAuthenticationConfig.getManagerDn()) .managerPasswo...
Housewares asked 28/2, 2017 at 19:41

3

Solved

Hi I am new to Spring and Java, I am trying to implement a Gateway authentication server as described in this tutorial https://spring.io/guides/tutorials/spring-security-and-angular-js/ I got ever...
Affair asked 23/9, 2015 at 23:30

3

Solved

I've configured the Spring Boot Security as per: https://spring.io/guides/gs/securing-web/ I am able to login using my credentials perfectly. However, I need to add a checking that the AD user mus...
Musket asked 12/7, 2016 at 2:57

2

In our Spring Boot app we have are using spring-security-ldap to authenticate users that can access our app. We don't see any issues functionally with authentication, however when we hit the /authe...
Spelaean asked 24/10, 2017 at 17:46

2

What customization's are required in order to secure a Reactive Spring Boot application with LDAP? The examples I've seen so far are based on Spring MVC and the example for securing a WebFlux only ...
Megaera asked 24/5, 2018 at 10:19

4

Solved

I am trying to construct a LdapTemplate object of using spring data. public class LDAPTemplate { public static void main(String[] args) { LdapContextSource lcs = new LdapContextSource(); lcs...
Phlegmatic asked 16/3, 2014 at 10:55

3

I have a project for LDAP authentication with REST service. My LDAP configuration have Salted SHA (SSHA) password hash method. In Spring's LDAP authentication best practice guide supporting SHA met...
Combustor asked 2/7, 2017 at 13:39

2

Solved

For a Spring Boot application, I successfully configured a Spring LdapTemplate using annotations, including the LdapContextSource dependency with @Values from application.properties. (Woot! I could...
Agreement asked 26/8, 2014 at 21:22

4

Solved

I am not able to authenticate a user using LDAP. I have got following details: URL=ldap://10.10.10.10:389 LDAP BASE:DC=lab2,DC=ins LDAP Bind Account: CN=Ldap Bind,OU=Service Accounts,OU=TECH,DC=...
Openandshut asked 28/8, 2012 at 16:52

0

Hello i have been trying to configure spring to have it return JWT token if user/pass is authenticated to LDAP Server; Consider the use case below ; On the above diagram, i have configured WebSe...
Melena asked 2/9, 2018 at 6:23

1

I've started used in my project spring ActiveDirectoryLdapAuthenticationProvider together with another one that works with DB in order authenticate users. The main issue that I've concerned relate...
Heedful asked 26/2, 2015 at 16:41

2

Solved

I am trying to setup embedded ldap for unit test with Spring Ldap. But I need to use a custom schema for custom objectClasses/attributes definitions. How can I configure it with Spring Ldap test (L...
Gaseous asked 17/12, 2014 at 17:8

1

I want to get a list of a users attributes by querying on their ID from an LDAP repository structured like below dn: uid=E000001 ,ou=People,o=Company,o=Internal cn: BOB DOLE statusid: active membe...
Bowles asked 7/8, 2017 at 12:21

3

Just like in title, I want that only users of spec. Here is my authentication code: public void configureGlobal(AuthenticationManagerBuilder auth) throws Exception { auth.ldapAuthentication().us...
Desiderate asked 2/6, 2017 at 11:13

1

I'm using SpringLDAP API within spring based webapp to query ActiveDirectory that is hosted on Windows Server 2012. Following are my environment details :- Java 1.8.0_101, apache-tomcat-8.0.36, Spr...
Blacking asked 16/11, 2017 at 14:25

1

Solved

I'm trying to get all the users from my LDAP server, doing the search from the base, this is my code: public LdapTemplate ldapTemplate() { LdapContextSource ctxSrc = new LdapContextSource(); ctx...
Buckskin asked 27/3, 2017 at 8:22

© 2022 - 2024 — McMap. All rights reserved.