authorities method

UserRequestPostProcessor authorities(
  1. List<String> authorities
)

Sets the authorities by their full names (SCOPE_read), replacing the roles.

Implementation

UserRequestPostProcessor authorities(List<String> authorities) {
  _authorities = AuthorityUtils.createAuthorityList(authorities);
  return this;
}