Add @Configuration to ServerHttpSecurityConfiguration

Fixes: gh-5635
This commit is contained in:
Rob Winch 2018-08-03 09:37:03 -05:00
parent 3d1185df3b
commit 4e8f2a3ee4
1 changed files with 2 additions and 0 deletions

View File

@ -22,6 +22,7 @@ import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.ApplicationContext;
import org.springframework.context.ApplicationContextAware;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Scope;
import org.springframework.context.expression.BeanFactoryResolver;
import org.springframework.core.ReactiveAdapterRegistry;
@ -39,6 +40,7 @@ import org.springframework.web.reactive.result.method.annotation.ArgumentResolve
* @author Rob Winch
* @since 5.0
*/
@Configuration
class ServerHttpSecurityConfiguration implements WebFluxConfigurer {
private static final String BEAN_NAME_PREFIX = "org.springframework.security.config.annotation.web.reactive.HttpSecurityConfiguration.";
private static final String HTTPSECURITY_BEAN_NAME = BEAN_NAME_PREFIX + "httpSecurity";