Skip to content

Instantly share code, notes, and snippets.

@biemond
Created September 28, 2011 18:29
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 biemond/1248788 to your computer and use it in GitHub Desktop.
Save biemond/1248788 to your computer and use it in GitHub Desktop.
SecurityContext and ADF
// Security
SecurityContext secCntx = adfCtx.getSecurityContext();
String user = secCntx.getUserName();
String[] roles = secCntx.getUserRoles();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment