Skip to content

Instantly share code, notes, and snippets.

@mbarkley
Created May 5, 2014 21:14
Show Gist options
  • Save mbarkley/118e6c7ae3552d86db6a to your computer and use it in GitHub Desktop.
Save mbarkley/118e6c7ae3552d86db6a to your computer and use it in GitHub Desktop.
An example of using Errai Security to secure an Errai Navigation page
@Page
@RestrictedAccess(roles = "admin")
public class AdminPage extends SimplePanel {
// Nothing to see here... move it along...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment