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

Fix circular references on LdapAutoConfiguration #5055

Merged
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -195,14 +195,11 @@

private final LdapProperties properties;
private final Environment environment;
private final LdapTemplate ldapTemplate;

public SpringSecurityLDAPAuthAutoConfiguration(final LdapProperties properties,
final Environment environment,
final LdapTemplate ldapTemplate) {
final Environment environment) {

Check warning on line 200 in apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/spi/configuration/AuthConfiguration.java

View check run for this annotation

Codecov / codecov/patch

apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/spi/configuration/AuthConfiguration.java#L200

Added line #L200 was not covered by tests
this.properties = properties;
this.environment = environment;
this.ldapTemplate = ldapTemplate;
}

@Bean
Expand All @@ -225,7 +222,7 @@

@Bean
@ConditionalOnMissingBean(UserService.class)
public UserService springSecurityUserService() {
public UserService springSecurityUserService(LdapTemplate ldapTemplate) {
return new LdapUserService(ldapTemplate);
}

Expand Down
1 change: 1 addition & 0 deletions changes/changes-2.2.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ Apollo 2.2.0
* [Fix the issue that namespace content being cleared when identical content is pasted into the namespace](https://github.com/apolloconfig/apollo/pull/4922)
* [feat(openapi): allow user create app via openapi](https://github.com/apolloconfig/apollo/pull/4954)
* [Support grayscale feature for non-properties namespaces](https://github.com/apolloconfig/apollo/pull/4952)
* [Fix circular references on LdapAutoConfiguration](https://github.com/apolloconfig/apollo/pull/5055)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The 2.2.0 was released. Please add the change to the https://github.com/apolloconfig/apollo/blob/master/CHANGES.md

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The 2.2.0 was released. Please add the change to the https://github.com/apolloconfig/apollo/blob/master/CHANGES.md

added😃


------------------
All issues and pull requests are [here](https://github.com/apolloconfig/apollo/milestone/13?closed=1)
Loading