-
Notifications
You must be signed in to change notification settings - Fork 6k
Migrate LDAP integration tests groovy->java #7691
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
Migrate LDAP integration tests groovy->java #7691
Conversation
@ghostd Please sign the Contributor License Agreement! Click here to manually synchronize the status of this Pull Request. See the FAQ for frequently asked questions. |
@ghostd Thank you for signing the Contributor License Agreement! |
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.
Thanks for the PR @ghostd!
Please add the license header to all of the new tests classes. For more information on the header see https://github.com/spring-projects/spring-security/blob/master/CONTRIBUTING.md#add-apache-license-header-to-all-new-classes
66c5a50
to
2c7b118
Compare
Hi @eleftherias I fixed it Regards |
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.
Thanks for the PR @ghostd!
I've left some comments inline.
In summary, we should not need the base class LdapBaseSpring
.
I have referenced some commits with examples on how to migrate without using the base class.
...ig/annotation/authentication/ldap/LdapAuthenticationProviderBuilderSecurityBuilderTests.java
Outdated
Show resolved
Hide resolved
...ecurity/config/annotation/authentication/ldap/LdapAuthenticationProviderConfigurerTests.java
Outdated
Show resolved
Hide resolved
.../java/org/springframework/security/config/annotation/authentication/ldap/LdapBaseSpring.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.
Thanks for the updates @ghostd.
I have left some more comments inline.
...ecurity/config/annotation/authentication/ldap/LdapAuthenticationProviderConfigurerTests.java
Outdated
Show resolved
Hide resolved
...security/config/annotation/authentication/ldap/NamespaceLdapAuthenticationProviderTests.java
Outdated
Show resolved
Hide resolved
...security/config/annotation/authentication/ldap/NamespaceLdapAuthenticationProviderTests.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.
Thanks @ghostd. I have left some more comments.
...security/config/annotation/authentication/ldap/NamespaceLdapAuthenticationProviderTests.java
Show resolved
Hide resolved
...ig/annotation/authentication/ldap/LdapAuthenticationProviderBuilderSecurityBuilderTests.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.
Thank you @ghostd!
I have some additional comments inline.
...est/java/org/springframework/security/config/ldap/LdapProviderBeanDefinitionParserTests.java
Show resolved
Hide resolved
...ig/annotation/authentication/ldap/LdapAuthenticationProviderBuilderSecurityBuilderTests.java
Show resolved
Hide resolved
9a8ff17
to
db6e656
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.
@ghostd I have left one comment about the indentation, and after that we will be able to merge this PR.
...ecurity/config/annotation/authentication/ldap/LdapAuthenticationProviderConfigurerTests.java
Show resolved
Hide resolved
db6e656
to
299ccf9
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.
@ghostd I apologize, I don't think my last comment was clear about the indentation.
I have left another comment clarifying.
...ecurity/config/annotation/authentication/ldap/LdapAuthenticationProviderConfigurerTests.java
Show resolved
Hide resolved
This commit also removes BaseSpringSpec Issue: spring-projectsgh-4939
299ccf9
to
f458e30
Compare
Thanks for all your effort on this @ghostd! It is now merged into master. |
This commit also removes BaseSpringSpec
Issue: gh-4939