Just use OpenSAML2.0. They have lots of utility code and their mailing list is pretty active. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4174702#4174702 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4174702