Backend API. Server-side code: this runs in a Codename One backend, not in the app on the device.
public static final class SecurityMockMvcRequestPostProcessors.UserRequestPostProcessor
- Object
- SecurityMockMvcRequestPostProcessors.UserRequestPostProcessor
ImplementsRequestPostProcessor
Methods
Inherited methods
Method details
roles
public SecurityMockMvcRequestPostProcessors.UserRequestPostProcessor roles(String... roles)The user’s roles, each granted as
ROLE_ 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
public SecurityMockMvcRequestPostProcessors.UserRequestPostProcessor password(String password)postProcessRequest
public MockRequestBuilder postProcessRequest(MockRequestBuilder request)The request to send:
request changed, usually.