When you send the message, you could attach the Authentication to the message by calling: message.setObjectProperty("authentication", SecurityContextHolder.getContext().getAuthentication());
Then on the receiving end you just get it back... Authentication auth = (Authentication) message.getObjectProperty("authentication"); //add null checking... SecurityContextHolder.getContext().setAuthentication(auth); On 3/13/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Greetings: > > I'm using Acegi and Spring 1.2 in our application. I am currently using > HTTP Invoker Authentication propagation to push credentials to the > service layer for web services calls. I'd like to use a similar > facility to pass credentials with my JMS messages so I might secure the > asynchronous operations in a similarly transparent manner. > > Does a declarative propagation methodology exist for Acegi and JMS? Is > this something that is possible? > > -jason > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Home: http://acegisecurity.org > Acegisecurity-developer mailing list > Acegisecurity-developer@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Home: http://acegisecurity.org Acegisecurity-developer mailing list Acegisecurity-developer@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer