I was just hoping that someone could point me to a reference that defines about what JBOSS annotations are equivalent to what xml tags. I am particularly interested in these tags:
@WebContext in org.jboss.ws.annotation.WebContext
and
@SecurityDomain in org.jboss.annotation.security.SecurityDomain
Summary
My understanding is that you need to configure 4 files:
web.xml
In this you specify many of the security things
See: http://wiki.metawerx.net/wiki/Web.xml
jboss-web.xml
As Peter mentioned here you specify the security domain
jboss-service.xml
This is needed to put any m-beans used into.
login-config.xml
This is used to store the login-modual referenced by the security domain.
Reference
This page gives an awesome description of how to set up client-cert. It is extremely straight forward to follow.
http://www.redhat.com/docs/manuals/jboss/jboss-eap-4.3/doc/Server_Configuration_Guide/html/Using_JBoss_Login_Modules-BaseCertLoginModule.html