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

  1. Object
  2. SecurityMockMvcRequestPostProcessors.UserRequestPostProcessor

ImplementsRequestPostProcessor

Methods

public SecurityMockMvcRequestPostProcessors.UserRequestPostProcessor roles(String... roles)The user’s roles, each granted as ROLE_ and the name, in place of what was granted before.
public SecurityMockMvcRequestPostProcessors.UserRequestPostProcessor authorities(String... authorities)The user’s authorities, as they are written, in place of what was granted before.
public SecurityMockMvcRequestPostProcessors.UserRequestPostProcessor password(String password)
public MockRequestBuilder postProcessRequest(MockRequestBuilder request)The request to send: request changed, usually.

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.