0 Replies Latest reply on May 27, 2012 10:15 AM by kiavash shidani

    Using @RolesAllowed while invoking EJB From a Remote Server Instance

    kiavash shidani Newbie

      I have a Remote JBoss 7.1.1 as client server that invokes EJBs from another Jboss 7.1.1 as Destination Server.


      I use JASS and I need to have @RolesAllowed in my EJBs in destination Server, so principle and it's roles should be passed to "Destination Server". I couldn't find any document related to Jboss 7.1.1 for doing that!!!


      Please note that as described in https://docs.jboss.org/author/display/AS71/EJB+invocations+from+a+remote+server+instance I should set the user in "remote-outbound-connection" in standalone-full.xml file of client server but I want to pass the logged in principle in client server  to remote EJB in destination server.