Can any body give me idea how to do RBAC with the help of EJB framework? I am new i开发者_开发百科n Java, so I need details description about EJB and RBAC.
There is JAAS.
EJB itself wont help you with your need for RBAC.
The JAAS framework suggested by atamanroman will provide authentication and authorization but not an RBAC implementation.
What you need is a Java implementation of RBAC.
I have implemented and extended my own (for academic purposes) so I'm not too familiar with them but I believe you may be interested in Apache Shiro.
精彩评论