Class SecurityMockMvcRequestPostProcessors.CsrfRequestPostProcessor

java.lang.Object
com.codename1.backend.test.SecurityMockMvcRequestPostProcessors.CsrfRequestPostProcessor
All Implemented Interfaces:
RequestPostProcessor
Enclosing class:
SecurityMockMvcRequestPostProcessors

public static final class SecurityMockMvcRequestPostProcessors.CsrfRequestPostProcessor extends Object implements RequestPostProcessor

SecurityMockMvcRequestPostProcessors.csrf(), to refine.

The chain is told what token to expect for this one request, so no page has to be fetched first. The names are the defaults -- the _csrf parameter and the X-CSRF-TOKEN header -- whichever repository the chain uses.