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
Issue-1840: Improve password encoding support for LDAP #1909
Conversation
...test/java/org/carlspring/strongbox/configuration/StrongboxDelegatingPasswordEncoderTest.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please, re-format your changes (only) according to our coding convention. Could you please also check the "Code Review And Pre-Merge Checklist", as explained in your pull request?
Thank you! :)
...src/main/java/org/carlspring/strongbox/configuration/StrongboxDelegatingPasswordEncoder.java
Outdated
Show resolved
Hide resolved
...test/java/org/carlspring/strongbox/configuration/StrongboxDelegatingPasswordEncoderTest.java
Outdated
Show resolved
Hide resolved
...src/main/java/org/carlspring/strongbox/configuration/StrongboxDelegatingPasswordEncoder.java
Outdated
Show resolved
Hide resolved
91ff1ef
to
dbed811
Compare
...src/main/java/org/carlspring/strongbox/configuration/StrongboxDelegatingPasswordEncoder.java
Outdated
Show resolved
Hide resolved
95eaf18
to
33f3c68
Compare
...src/main/java/org/carlspring/strongbox/configuration/StrongboxDelegatingPasswordEncoder.java
Outdated
Show resolved
Hide resolved
...test/java/org/carlspring/strongbox/configuration/StrongboxDelegatingPasswordEncoderTest.java
Outdated
Show resolved
Hide resolved
...va/org/carlspring/strongbox/authentication/api/impl/ldap/LdapAuthenticationProviderTest.java
Outdated
Show resolved
Hide resolved
...ntication-providers/strongbox-ldap-authentication-provider/src/test/resources/strongbox.ldif
Outdated
Show resolved
Hide resolved
...src/main/java/org/carlspring/strongbox/configuration/StrongboxDelegatingPasswordEncoder.java
Outdated
Show resolved
Hide resolved
5f56f04
to
fc5d0d2
Compare
...src/main/java/org/carlspring/strongbox/configuration/StrongboxDelegatingPasswordEncoder.java
Outdated
Show resolved
Hide resolved
...src/main/java/org/carlspring/strongbox/configuration/StrongboxDelegatingPasswordEncoder.java
Outdated
Show resolved
Hide resolved
...src/main/java/org/carlspring/strongbox/configuration/StrongboxDelegatingPasswordEncoder.java
Outdated
Show resolved
Hide resolved
...src/main/java/org/carlspring/strongbox/configuration/StrongboxDelegatingPasswordEncoder.java
Outdated
Show resolved
Hide resolved
...src/main/java/org/carlspring/strongbox/configuration/StrongboxDelegatingPasswordEncoder.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@madhukarbharti thanks for the PR, it looks very good! Just few minor comments, please proceed with it so we could merge.
0c47532
to
31765d9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@madhukarbharti thanks for the changes. There is few more comments, could you please proceed with it as well?
...-api/src/main/java/org/carlspring/strongbox/configuration/Base64PasswordEncoderDelegate.java
Outdated
Show resolved
Hide resolved
...-api/src/main/java/org/carlspring/strongbox/configuration/Base64PasswordEncoderDelegate.java
Outdated
Show resolved
Hide resolved
.../src/test/java/org/carlspring/strongbox/configuration/Base64PasswordEncoderDelegateTest.java
Outdated
Show resolved
Hide resolved
...box-security-api/src/main/java/org/carlspring/strongbox/configuration/WebSecurityConfig.java
Outdated
Show resolved
Hide resolved
...va/org/carlspring/strongbox/authentication/api/impl/ldap/LdapAuthenticationProviderTest.java
Outdated
Show resolved
Hide resolved
31765d9
to
b24731d
Compare
@madhukarbharti thanks for your hard working on this task! there is some new clarifications of how we could proceed with LDAP password decode, could you please have a look? |
Hi, Please, be advised of the upcoming changes by @mknutsen79 in strongbox/strongbox-parent#113 and #1908 . You will have to rebase. |
b24731d
to
22a5d88
Compare
...g/carlspring/strongbox/authentication/api/impl/ldap/LdapAuthenticationBase64EncodedTest.java
Outdated
Show resolved
Hide resolved
...va/org/carlspring/strongbox/authentication/api/impl/ldap/LdapAuthenticationProviderTest.java
Outdated
Show resolved
Hide resolved
...va/org/carlspring/strongbox/authentication/api/impl/ldap/LdapAuthenticationProviderTest.java
Outdated
Show resolved
Hide resolved
...va/org/carlspring/strongbox/authentication/api/impl/ldap/LdapAuthenticationProviderTest.java
Outdated
Show resolved
Hide resolved
...va/org/carlspring/strongbox/authentication/api/impl/ldap/LdapAuthenticationProviderTest.java
Outdated
Show resolved
Hide resolved
...va/org/carlspring/strongbox/authentication/api/impl/ldap/LdapAuthenticationProviderTest.java
Outdated
Show resolved
Hide resolved
...er/src/test/resources/org/carlspring/strongbox/authentication/api/impl/ldap/labet.properties
Outdated
Show resolved
Hide resolved
...g/carlspring/strongbox/authentication/api/impl/ldap/LdapAuthenticationBase64EncodedTest.java
Outdated
Show resolved
Hide resolved
...g/carlspring/strongbox/authentication/api/impl/ldap/LdapAuthenticationBase64EncodedTest.java
Outdated
Show resolved
Hide resolved
...g/carlspring/strongbox/authentication/api/impl/ldap/LdapAuthenticationBase64EncodedTest.java
Outdated
Show resolved
Hide resolved
@steve-todorov Removed the @disabled annotations in the Nuget tests and updated PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@madhukarbharti @steve-todorov I think we should merge. Thanks!
@madhukarbharti could you please squash before merge. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@madhukarbharti thanks for your hard work on this!
// cc: @carlspring ICLA?
750de15
to
afcb729
Compare
- Addressed Review Comments - Apply suggestions from code review - Removed Disabled Nuget's Tests as remote link is working fine now.
afcb729
to
fd00428
Compare
@steve-todorov Squashed and Rebased |
strongbox-security/strongbox-authentication-providers/README.md
Outdated
Show resolved
Hide resolved
- Added LdapServerTestConfig. - Switched tests to use LdapServerTestConfig. - Added some info in the README's. - Separating base LDIF and additional LDIFs - Improving strongbox-authentication-providers README.md. - Improve test compatibility between UnboundID and OpenLDAP - Renaming configuration field.
fd00428
to
7f340d4
Compare
Congratulations @madhukarbharti! Thanks for your work on this again! :) |
Thank you very much for all your hard work and congratulations on your first pull request! :) |
Thank you so much @carlspring @sbespalov and @steve-todorov for all support and suggestions. It was really nice to work with you all. |
Pull Request Description
This pull request closes #1840
Acceptance Test
mvn clean install -Dintegration.tests
still works.mvn spring-boot:run
in thestrongbox-web-core
still starts up the application correctly.strongbox-distribution
from azip
ortar.gz
still works.strongbox-web-integration-tests
still run properly.Questions
Does this pull request break backward compatibility?
Does this pull request require other pull requests to be merged first?
Does this require an update of the documentation?
Code Review And Pre-Merge Checklist