|
|
@ -30,6 +30,7 @@ import org.springframework.boot.autoconfigure.AutoConfigurations;
|
|
|
|
import org.springframework.boot.autoconfigure.security.oauth2.resource.servlet.OAuth2ResourceServerAutoConfiguration;
|
|
|
|
import org.springframework.boot.autoconfigure.security.oauth2.resource.servlet.OAuth2ResourceServerAutoConfiguration;
|
|
|
|
import org.springframework.boot.autoconfigure.security.saml2.Saml2RelyingPartyAutoConfiguration;
|
|
|
|
import org.springframework.boot.autoconfigure.security.saml2.Saml2RelyingPartyAutoConfiguration;
|
|
|
|
import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration;
|
|
|
|
import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration;
|
|
|
|
|
|
|
|
import org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration;
|
|
|
|
import org.springframework.boot.test.context.FilteredClassLoader;
|
|
|
|
import org.springframework.boot.test.context.FilteredClassLoader;
|
|
|
|
import org.springframework.boot.test.context.assertj.AssertableWebApplicationContext;
|
|
|
|
import org.springframework.boot.test.context.assertj.AssertableWebApplicationContext;
|
|
|
|
import org.springframework.boot.test.context.runner.WebApplicationContextRunner;
|
|
|
|
import org.springframework.boot.test.context.runner.WebApplicationContextRunner;
|
|
|
@ -61,7 +62,7 @@ class ManagementWebSecurityAutoConfigurationTests {
|
|
|
|
private final WebApplicationContextRunner contextRunner = new WebApplicationContextRunner().withConfiguration(
|
|
|
|
private final WebApplicationContextRunner contextRunner = new WebApplicationContextRunner().withConfiguration(
|
|
|
|
AutoConfigurations.of(HealthContributorAutoConfiguration.class, HealthEndpointAutoConfiguration.class,
|
|
|
|
AutoConfigurations.of(HealthContributorAutoConfiguration.class, HealthEndpointAutoConfiguration.class,
|
|
|
|
InfoEndpointAutoConfiguration.class, EnvironmentEndpointAutoConfiguration.class,
|
|
|
|
InfoEndpointAutoConfiguration.class, EnvironmentEndpointAutoConfiguration.class,
|
|
|
|
EndpointAutoConfiguration.class, WebEndpointAutoConfiguration.class,
|
|
|
|
EndpointAutoConfiguration.class, WebMvcAutoConfiguration.class, WebEndpointAutoConfiguration.class,
|
|
|
|
SecurityAutoConfiguration.class, ManagementWebSecurityAutoConfiguration.class));
|
|
|
|
SecurityAutoConfiguration.class, ManagementWebSecurityAutoConfiguration.class));
|
|
|
|
|
|
|
|
|
|
|
|
@Test
|
|
|
|
@Test
|
|
|
|