use of org.springframework.security.web.reactive.result.view.CsrfRequestDataValueProcessor in project spring-security by spring-projects.
the class EnableWebFluxSecurityTests method requestDataValueProcessor.
@Test
public void requestDataValueProcessor() {
this.spring.register(Config.class).autowire();
ConfigurableApplicationContext context = this.spring.getContext();
CsrfRequestDataValueProcessor rdvp = context.getBean(AbstractView.REQUEST_DATA_VALUE_PROCESSOR_BEAN_NAME, CsrfRequestDataValueProcessor.class);
assertThat(rdvp).isNotNull();
}
Aggregations