[jboss-dev-forums] [JBoss AS 7 Development] - Local ejb calls are always 'anonymous' even with JAAS login before the invocation

Michael Gronau do-not-reply at jboss.com
Mon Jun 25 09:33:15 EDT 2012


Michael Gronau [https://community.jboss.org/people/Michael_Gronau] created the discussion

"Local ejb calls are always 'anonymous' even with JAAS login before the invocation"

To view the discussion, visit: https://community.jboss.org/message/743976#743976

--------------------------------------------------------------
Hello,
I'm investigating in a litte problem with JBoss 7.2.x. I have some kind of timer service running as a mbean which calls a local ejb. Therefore the service performs a JAAS login with a custom login module and then calls the ejb. But as far as I can see the username in the ejb's session context is always 'anonymous' because the SimpleSecurityManager only creates a correct security context, when the call to the ejb comes from a remote client. Is this a bug?

With best regards,

Michael
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/743976#743976]

Start a new discussion in JBoss AS 7 Development at Community
[https://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/20120625/b51f3d49/attachment.html 


More information about the jboss-dev-forums mailing list