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&...]