Hi All,
I have a
servlet which in turn access the
EJB and executes a method in the EJB. The method is given permission only for the user belonging to the role "employee".
User logins to my application using servlet.Now i want to assign role to that user so that he should be able to call the method in EJB. How do i do this.
Also after assigning the "employee" role to the user in my servlet/client layer how does it get propagated to the EJB layer. Can i do this implicitly using any of the container provided services ? if yes how do i do this