Hi,
Iam facing problem with EJBContext login principal changing to anonymous and due to this applicaiton login is failing. I have attached sample application showing the problem Iam facing.
1) It contains SessionBean and function to return EJBContext principal (TestEJB)
2) Remote EJB client sets'up login context with username "admin" and password as "admin", resolves SessionBean , and gets the EJBContext principal and it's getting principal as anonymous (TestRemoteEJB)
3) I have tried the same with servlet and same problem is there (TestWeb)
Can you please suggest what Iam doing wrong and a way to fix the problem.
Regards,
Ganesh