Ganesh Saithala [
http://community.jboss.org/people/ganeshment] created the discussion
"login pricipal is changing to anonymous in EJBContext (JBOSS7.1 beta)"
To view the discussion, visit:
http://community.jboss.org/message/641870#641870
--------------------------------------------------------------
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
[
http://community.jboss.org/message/641870#641870]
Start a new discussion in JBoss AS 7 Development at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]