Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
176 views

I'm working with Spring LDAP and trying to reset a user's password via an LDAP connection. I’ve set up the connection successfully, but when I attempt to change a user's password, I encounter the ...
Rahul Pardeshi 's user avatar
0 votes
1 answer
783 views

I have a requirement of multiple security configurations in a Spring Boot 3.0 application where postman API calls need to do oauth and application authentication would be through ...
Sup19's user avatar
  • 102
0 votes
0 answers
178 views

How to set proxy server ip in LdapContextSource while authenticated using LdapTemplate.authenticate() Actually for security purposes we don't have direct access to AD server. So how to set proxy IP ...
Shaon Kanti Dhar's user avatar
0 votes
1 answer
419 views

Use-case: I have a Spring Boot application v2.7.x. For the security, i am trying to configure a SecurityFilterChain that will point to an authentication provider (LDAP) that is configured in WebLogic ...
jumping_monkey's user avatar
2 votes
0 answers
440 views

There are other similar posts here, but none of them have answers that worked for me. I have a spring boot application where I am trying to use LDAP authentication. When I input an invalid username, I ...
Kevin Lewis's user avatar
0 votes
1 answer
3k views

I'm getting this error when I'm trying to authenticate a user against forest domain. [Request processing failed; nested exception is org.springframework.ldap.AuthenticationException: [LDAP: error ...
wonk's user avatar
  • 23
1 vote
0 answers
57 views

@Override protected void configure(AuthenticationManagerBuilder authBuilder) throws Exception { if (ldap) { authBuilder.ldapAuthentication() ....
cNgamba's user avatar
  • 131
0 votes
1 answer
1k views

I'm in the process of developing a Spring Boot application that can be connected to an LDAP server for authentication and some (limited) query purposes. By now, authentication and my needed query ...
ilovestackoverflow's user avatar
0 votes
1 answer
5k views

i need help in Spring Security authentication with Ldap. I try lot of things found online but i'm going crazy on this. Basiclly i need to pass username and password to ldaps server this is my pom.xml ...
dannyRouge's user avatar
1 vote
1 answer
5k views

I have a Spring Boot Webapplication which is working with dao authentication like a charm. But i want to implement active directory authentication too. For testing purposes I've modified my ...
Sascha Heimann's user avatar
1 vote
1 answer
618 views

I am trying to create Sprint Boot, Spring Security 6, LDAP Server (external not embedded) based authentication application. When I spin up the app and provide the username (uid) and password on the ...
VenkatK's user avatar
  • 13
0 votes
0 answers
114 views

EDIT- The server currently hashes the incoming cleartext user password and compares that with the hash that is stored in the server. My problem is that my application is sending the password already ...
Gestalt's user avatar
  • 187
3 votes
0 answers
3k views

Following is a typical example of what I've found on the Internet for Authenticating to Active Directory using LDAP. package com.test; import org.springframework.security.config.annotation....
ThunderMead's user avatar
1 vote
1 answer
15k views

I am having problem with ldap on spring, I know what that error means but idk what i am doing wrong in the config of the connection this is my application.properties : spring.ldap.urls=ldap://*** ...
Ultiorra's user avatar
1 vote
1 answer
2k views

I am trying to write a query to extract the users from an LDAP group. I tried several queries to retrieve the users from a specific group but none of them seem to have worked until now. For example, ...
signalhouse's user avatar
1 vote
0 answers
439 views

I am getting bean creation exception when trying to run a Spring Boot application with Spring LDAP Security and Thymeleaf. The application runs when authenticating via username and password but throws ...
Sazi Mtandabuzo's user avatar
4 votes
2 answers
7k views

I'm using spring security 5.7 and WebSecurityConfigurerAdapter is deprecated. I want use multiple Authentication Provider(Ldap and Dao) but ldap provider not working and spring security just call ...
HNP's user avatar
  • 85
1 vote
1 answer
882 views

Before upgrading to Spring Boot 2.7.2 (Spring Security 5.7.2) the following LDAP authentication configuration worked. Ldap related application properties: spring.ldap.urls = ldaps://ldap-one:636, ...
Brice Roncace's user avatar
1 vote
1 answer
2k views

I have a login page in my application where I want to validate the entered username/password against Ldap AD. I am thinking of creating a bind and get a context. If bind is successful that means user ...
Manish's user avatar
  • 1,525
0 votes
1 answer
615 views

I want my rest api to be restricted only for a particular user (SuperUser). I am using Spring security the below code works fine if I give SuperUser/Password , it only checks for the correctness of ...
user2719441's user avatar
0 votes
0 answers
824 views

I have an application that uses LDAP Spring for authentication which works as expected. Now we are trying to support providing multiple URLs to authenticate on and I found that this is already ...
bggoxp's user avatar
  • 13
2 votes
1 answer
2k views

After upgrading to spring-ldap 2.4.0 from 2.0.2.RELEASE, we are experiencing this error when trying to find an existing ldap user. We haven't changed any code or configuration except for the .xsd ...
Alison Graham's user avatar
8 votes
1 answer
11k views

I'm trying to configure my webSecurity to use both ldap and basic authentication (jdbc) with the new component-based security configuration (no WebSecurityConfigurerAdapter) but I can't get it to use ...
Ralan's user avatar
  • 804
0 votes
1 answer
1k views

I'm trying to connect to a Ldap server (host by the company, don't have much info about it), using Spring Security, I have this bean: @Override public void configure(AuthenticationManagerBuilder auth)...
yoann let's user avatar
0 votes
1 answer
5k views

In my college project i would like to get user informations from an AD Server such as the telephone number, the mail, the full name after an authentication. So i use the default spring security login ...
Tokoro-San's user avatar
2 votes
1 answer
3k views

I need to retrieve user information based on the email of the user. I have see some subject discussing about this but i don't find one with ldapTemplate that respond to the problem. Actually a user ...
Kévin's user avatar
  • 577
-1 votes
1 answer
964 views

I'm trying to connect my SpringBoot app to the ldap server. (not embedded) The problem while i'm trying to connect is : try auth 2022-02-26 20:31:12.593 INFO 19692 --- [nio-8080-exec-2] o.s.ldap.core....
Kévin's user avatar
  • 577
-1 votes
1 answer
234 views

I currently working with LDAP using Spring Security with XML Configuration. I need advice about how can i put attributes like URL, port, manager-dn and password in external file. <ldap-server id=&...
Ayu Widi's user avatar
2 votes
1 answer
2k views

I am trying to use LDAP for spring authentication and authorization. Even though I am successfully authenticating users, I couldn't get roles from LDAP yet. dn: ou=Roles,dc=example,dc=org objectClass: ...
Dogukan Evcil's user avatar
1 vote
1 answer
3k views

I want to implement ldap authentication in an existing spring boot project for my company. So for that I am trying to implement one sample spring boot app first, in which I will authenticate a ldap ...
Abdul97j's user avatar
  • 155
0 votes
0 answers
2k views

Our Spring application deployed on Linux is failing with Acces Denied to issue a token. As the same code and setup works on other VM's I am speculating there could be an issue connecting to the LDAP ...
user3073180's user avatar
0 votes
1 answer
2k views

I need to create a SpringBoot service and provide an authentication service using LDAP. I followed this example and it works fine for me using an embedded local ldap server (as suggested into the ...
Safari's user avatar
  • 12k
2 votes
1 answer
1k views

This is/was a java issue see Retrying a failed authentication on multiple LDAP servers can lead to users blocked We have an issue with Active Directory/LDAP user accounts becoming locked after doing a ...
cmadsen's user avatar
  • 372
0 votes
1 answer
322 views

While I was doing research to implement LDAP Authentication using Spring Security, I saw that Group Search and User Search filters were usually implementing with {0}s. Such as: public void configure(...
alalackck's user avatar
  • 101
0 votes
1 answer
385 views

I need to fetch data from a LDAP using Java and SpringBoot. I managed to retrieve the OpenOTP data from the Ldap, but I found it's encrypted using wcrypt and I have no idea of how to decrypt it in ...
Mattew Eon's user avatar
  • 1,815
0 votes
0 answers
732 views

Our legacy application is deployed on Glassfish, and uses javax.security to manage authorization. The following code retrieves from LDAP the Active Director groups the user is a member of: try{ ...
user1052610's user avatar
  • 4,809
-1 votes
1 answer
160 views

@Override protected void configure(HttpSecurity http) throws Exception { http.csrf().and().headers().and().anonymous().disable() .formLogin().loginPage("/...
ankit giri's user avatar
1 vote
0 answers
1k views

I am currently implementing Active Directory Authentication over LDAPS into a Spring Boot Application. This means the AD Server uses SSL, now it seems like Spring Boot does not offer support for this. ...
Lars Erhardt's user avatar
0 votes
1 answer
2k views

I'm trying to authenticate with organization ldap server. When I enter the credentials I'm facing this error. Can someone help? Uncategorized exception occured during LDAP processing; nested exception ...
PBLead's user avatar
  • 3
1 vote
0 answers
1k views

I have a simple application that uses spring security to authenticate over LDAP. My Config is as follows http .csrf() .disable(); http ....
freecoderw's user avatar
0 votes
0 answers
181 views

I have to validate browser credentials against my LDAP. But Username/Password given in Browser has to be used to connect to LDAP, its not fixed userDN and password.After authentication, I get the ...
RAM NATHAN's user avatar
2 votes
1 answer
354 views

I'm sorry if it's a duplicate, but I've been really strugling with this topic. I need to filter search result of memberOf. I'm trying to map those results into Granted Authorities. I'm basing my ...
Fajeczny's user avatar
  • 429
0 votes
1 answer
424 views

I am using a org.springframework.security.ldap.authentication.LdapAuthenticationProvider.LdapAuthenticationProvider(LdapAuthenticator authenticator, LdapAuthoritiesPopulator authoritiesPopulator) to ...
Brian's user avatar
  • 616
0 votes
0 answers
2k views

I am trying to use LDAP authentication with spring sceurity. I followed the article https://spring.io/guides/gs/authenticating-ldap/ for implementation. I am getting error "[LDAP: error code 50 - ...
merla's user avatar
  • 749
3 votes
2 answers
7k views

I have setup a LDAP Custom Authentication provider similar to the example here - https://www.baeldung.com/spring-security-authentication-provider There is a Login Controller to handle login errors and ...
Shankar's user avatar
  • 2,895
0 votes
1 answer
944 views

All: I have a basic program for Ldap authentication which returns a "Principal User " package com.bpm.cbl.premium.controller; import java.security.Principal; import org.springframework....
Ramstack's user avatar
0 votes
1 answer
3k views

I am going through this spring LDAP integration article: https://spring.io/guides/gs/authenticating-ldap/ This article contains a sample LDIF file, where the passwords are presented in clear text. dn: ...
samshers's user avatar
  • 3,780
1 vote
1 answer
807 views

In my SpringBoot application, I want to authenticate my user again Enterprise AD and then Authorize (Grant Authorities) from an application-specific database table. Eg: User A authenticated from LDAP ...
PanwarS87's user avatar
  • 319
0 votes
1 answer
2k views

I am trying to use Spring Security to perform authentication and authorization in front of my REST controller, which is also secured with SSL. The code I have is mostly derived from the example at ...
Steve's user avatar
  • 1
1 vote
1 answer
2k views

I've managed to make my Spring project work with Security and LDAP, but only with an LDIF file. Now I'm trying to make it work by configuring it with an LDAP server, but I only get this far - I get no ...
Eddie's user avatar
  • 47

1
2 3 4 5 6