Class SecurityMockMvcRequestPostProcessors.UserRequestPostProcessor
java.lang.Object
com.codename1.backend.test.SecurityMockMvcRequestPostProcessors.UserRequestPostProcessor
- All Implemented Interfaces:
RequestPostProcessor
- Enclosing class:
SecurityMockMvcRequestPostProcessors
public static final class SecurityMockMvcRequestPostProcessors.UserRequestPostProcessor
extends Object
implements RequestPostProcessor
-
Method Summary
Modifier and TypeMethodDescriptionauthorities(String... authorities) The user's authorities, as they are written, in place of what was granted before.postProcessRequest(MockRequestBuilder request) The request to send:requestchanged, usually.The user's roles, each granted asROLE_and the name, in place of what was granted before.
-
Method Details
-
roles
The user's roles, each granted asROLE_and the name, in place of what was granted before. -
authorities
public SecurityMockMvcRequestPostProcessors.UserRequestPostProcessor authorities(String... authorities) The user's authorities, as they are written, in place of what was granted before. -
password
-
postProcessRequest
Description copied from interface:RequestPostProcessorThe request to send:requestchanged, usually.- Specified by:
postProcessRequestin interfaceRequestPostProcessor
-