Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SEC-2664: ActiveDirectoryLdapAuthenticationProvider should wrap communication exceptions in InternalAuthenticationServiceException #8430

Closed
spring-projects-issues opened this issue Apr 24, 2020 · 5 comments
Assignees
Labels
in: ldap An issue in spring-security-ldap status: duplicate A duplicate of another issue type: backport An issue that is a backport of another issue to a maintenance branch type: bug A general bug type: jira An issue that was migrated from JIRA
Milestone

Comments

@spring-projects-issues
Copy link

Backport of gh-2884

@spring-projects-issues spring-projects-issues added in: ldap An issue in spring-security-ldap status: duplicate A duplicate of another issue type: backport An issue that is a backport of another issue to a maintenance branch type: bug A general bug type: jira An issue that was migrated from JIRA labels Apr 24, 2020
@spring-projects-issues spring-projects-issues added this to the 5.2.4 milestone Apr 24, 2020
@spring-projects-issues
Copy link
Author

Fixed via 93a1fc1

@FacuDN
Copy link

FacuDN commented Oct 30, 2020

Fixed via 93a1fc1

Hi sir, how can I download this version of the ActiveDirectory? Because my project has the old version without this connection exception fix (Im using Gradle).

Thank you very much!

@jzheaux
Copy link
Contributor

jzheaux commented Oct 30, 2020

Hi, @FacuDN. This was released in 5.2.4. You can specify the version you need in your Gradle file:

implementation "org.springframework.security:spring-security-ldap:${the.version.you.want}"

Or, if you are using Spring Boot to manage your dependencies, then you can make sure you're using the latest Spring Boot and then leave the version number off:

implementation "org.springframework.security:spring-security-ldap"

@FacuDN
Copy link

FacuDN commented Oct 30, 2020

:${the.version.you.want}

Thank you so much for the reply, sorry if im making rookie questions, i am relative new to Spring Boot.

The first approach is not downloading the dependecy even after refreshing the gradle project (implementation 'org.springframework.security:spring-security-ldap:${5.2.4}'. I also tried implementation 'org.springframework.security:spring-security-ldap:5.2.4').

And the second approach is downloading an older version (5.1.6).

Any suggestion?

@jzheaux
Copy link
Contributor

jzheaux commented Oct 30, 2020

Unfortunately, there are numerous things that could be going on, and this probably isn't the right forum to help you address each one of them.

I'd recommend posting your question on StackOverflow where there's a broad Gradle community that can help you address your question much better than we can. I'd recommend using the tags gradle and spring-boot in your question.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: ldap An issue in spring-security-ldap status: duplicate A duplicate of another issue type: backport An issue that is a backport of another issue to a maintenance branch type: bug A general bug type: jira An issue that was migrated from JIRA
Projects
None yet
Development

No branches or pull requests

4 participants