Multi Level Security via Roles
Posted
by Geertjan
on Oracle Blogs
See other posts from Oracle Blogs
or by Geertjan
Published on Fri, 24 Jun 2011 00:56:35 -0700
Indexed on
2011/06/24
8:27 UTC
Read the original article
Hit count: 200
/NetBeans IDE
I'm simulating a small scenario:
Users can be dragged into roles; roles can be dragged into role groups. When a drop is made into a role group, a new role is created (WindowManager.getDefault().setRole("")).
Then, when the user logs in, they log into a particular role. Depending on the role they log into, a different role group is assigned, which maps to a certain "role" in NetBeans Platform terms, i.e., the related level of security is applied and the related windows open.
© Oracle Blogs or respective owner