Skip to content

Commit

Permalink
WebSecurity
Browse files Browse the repository at this point in the history
  • Loading branch information
vdiskg committed Dec 6, 2023
1 parent cb48902 commit 7bcc979
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
import org.springframework.boot.web.servlet.FilterRegistrationBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Profile;
import org.springframework.core.annotation.Order;
import org.springframework.security.config.annotation.web.builders.HttpSecurity;
import org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter;
Expand Down Expand Up @@ -53,6 +54,7 @@ public FilterRegistrationBean<AdminServiceAuthenticationFilter> adminServiceAuth
* for apollo-assembly
*/
@Order(99)
@Profile("auth")
@Configuration
static class AdminServiceSecurityConfigurer extends WebSecurityConfigurerAdapter {

Check warning on line 59 in apollo-adminservice/src/main/java/com/ctrip/framework/apollo/adminservice/AdminServiceAutoConfiguration.java

View check run for this annotation

Codecov / codecov/patch

apollo-adminservice/src/main/java/com/ctrip/framework/apollo/adminservice/AdminServiceAutoConfiguration.java#L59

Added line #L59 was not covered by tests

Expand Down

0 comments on commit 7bcc979

Please sign in to comment.