I am currently working at JBoss EAP 5.1 and I have implemented a webservice consumer (jbossws) which needs to use two-way (or mutual) SSL when connecting to the provider. And it works fine. The only fine that I don't like is the setup of SSL keystores and truststores which is done via system properties (javax.net.ssl.keyStore, javax.net.ssl.keyStorePassword, javax.net.ssl.trustStore, javax.net.ssl.trustStorePassword).
According to http://community.jboss.org/wiki/JBossWS-SecureTransport this is the only way to setup the keystores. But I would really to setup the SSL keystores per endpoint instead of globally. Can this be done in Jboss EAP 5.1 ? Just of curiosity - is it possible in AS 7 ?