I think you do not want to runas the MBean. There should be context established when the
user authenticates via SMTP/POP/IMAP.
Use the users's realm.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962350#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...