[jboss-dev-forums] [JBoss AS 7 Development] - login pricipal is changing to anonymous in EJBContext (JBOSS7.1 beta)
Ganesh Saithala
do-not-reply at jboss.com
Thu Dec 15 18:32:24 EST 2011
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&containerType=14&container=2225]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20111215/5e6a10c0/attachment.html
More information about the jboss-dev-forums
mailing list