[jboss-dev-forums] [JBoss AS 7 Development] - Re: EJB invocations from a remote client using JNDI: Invalid User

Alano de Campos do-not-reply at jboss.com
Fri Aug 31 10:27:23 EDT 2012


Alano de Campos [https://community.jboss.org/people/alanoc] created the discussion

"Re: EJB invocations from a remote client using JNDI: Invalid User"

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

--------------------------------------------------------------
ok, this is my scenario: I have two server applications (A and B), that communicate via JMS, both using JAAS for user authentication. EJBs for each system uses security JBOSS via @ RolesAllowed ("ROLE_ADMIN"), works just fine so far, I have seen the JASS set up right, and added the 'ApplicationRealm'.

The problem is in a third application, a client jar (swing application) that must communicate with the application B. In this third application, when I attempt to lookup remote EJB application B, the lookup to work but when I call a method that must use the EJB, the specified error occurs.

--------------------------------------------------------------

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

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/20120831/de7657bf/attachment.html 


More information about the jboss-dev-forums mailing list