Skip to content

Instantly share code, notes, and snippets.

@bryantp
Created July 20, 2016 16:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bryantp/9af813aa3f0d82f41ac305dcde815168 to your computer and use it in GitHub Desktop.
Save bryantp/9af813aa3f0d82f41ac305dcde815168 to your computer and use it in GitHub Desktop.
@RequestMapping("/")
@PreAuthorize("#oauth2.hasScope('project.retrieveItems')")
public List<ItemDto> retrieveAll(OAuth2Authentication token) {
... Code here to retrieve Identity Zone and use it to filter results.
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment