Interface AuthenticationRequestPostProcessor<T extends org.springframework.security.core.Authentication>
- Type Parameters:
T- concreteAuthenticationtype to build and configure in test security context
- All Superinterfaces:
AuthenticationBuilder<T>,org.springframework.test.web.servlet.request.RequestPostProcessor
- All Known Implementing Classes:
MockAuthenticationRequestPostProcessor
public interface AuthenticationRequestPostProcessor<T extends org.springframework.security.core.Authentication>
extends org.springframework.test.web.servlet.request.RequestPostProcessor, AuthenticationBuilder<T>
Redundant code for
Authentication MockMvc request post-processors- Author:
- Jérôme Wacongne <ch4mp@c4-soft.com>
-
Method Summary
Modifier and TypeMethodDescriptiondefault org.springframework.mock.web.MockHttpServletRequestpostProcessRequest(org.springframework.mock.web.MockHttpServletRequest request) Methods inherited from interface com.c4_soft.springaddons.security.oauth2.test.AuthenticationBuilder
build
-
Method Details
-
postProcessRequest
default org.springframework.mock.web.MockHttpServletRequest postProcessRequest(@NonNull org.springframework.mock.web.MockHttpServletRequest request) - Specified by:
postProcessRequestin interfaceorg.springframework.test.web.servlet.request.RequestPostProcessor
-