JBoss Community

login pricipal is changing to anonymous in EJBContext (JBOSS7.1 beta)

created by Ganesh Saithala in JBoss AS 7 Development - View the full discussion

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

Reply to this message by going to Community

Start a new discussion in JBoss AS 7 Development at Community