Hi, I've defined a security role name 'Employees' in the descriptor file. like
This means only the client who is an employee can access the methods,i think. My question is: in the client codes, how can i claim myself to be an employee. would you give me some example codes?
posted 13 years ago
The client authenticates when she acquires the InitialContext reference to the application server's JNDI tree. Based on the principal identified during that authentication, the EJB container deduces whether the caller is in the appropriate role or not.