Interface AuthenticationRequestPostProcessor<T extends org.springframework.security.core.Authentication>
- Type Parameters:
T- concreteAuthenticationtype to build and configure in test security context
- All Superinterfaces:
com.c4_soft.springaddons.security.oauth2.AuthenticationBuilder<T>,org.springframework.test.web.servlet.request.RequestPostProcessor
- All Known Implementing Classes:
KeycloakAuthRequestPostProcessor,MockAuthenticationRequestPostProcessor,OidcIdAuthenticationTokenRequestPostProcessor
public interface AuthenticationRequestPostProcessor<T extends org.springframework.security.core.Authentication>
extends org.springframework.test.web.servlet.request.RequestPostProcessor, com.c4_soft.springaddons.security.oauth2.AuthenticationBuilder<T>
Redundant code for
Authentication MockMvc request post-processors- Author:
- Jérôme Wacongne <ch4mp#64;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.AuthenticationBuilder
build
-
Method Details
-
postProcessRequest
default org.springframework.mock.web.MockHttpServletRequest postProcessRequest(org.springframework.mock.web.MockHttpServletRequest request) - Specified by:
postProcessRequestin interfaceorg.springframework.test.web.servlet.request.RequestPostProcessor
-