Never mind found the solution. As per 
http://wiki.jboss.org/wiki/Wiki.jsp?page=HowDoISecureTheJMXConnection

the Context.SECURITY_PRINCIPAL & Context.SECURITY_CREDENTIALS are propagated.

so adding these to my properties helps:

   props.put(Context.SECURITY_PRINCIPAL, username);
                                  props.put(Context.SECURITY_CREDENTIALS, 
passwd);

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3916551#3916551

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3916551


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to