Reputation: 27221
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
Upvotes: 0
Views: 1532
Reputation: 27221
My understanding is that you need to configure 4 files:
In this you specify many of the security things
See: http://wiki.metawerx.net/wiki/Web.xml
As Peter mentioned here you specify the security domain
This is needed to put any m-beans used into.
This is used to store the login-modual referenced by the security domain.
This page gives an awesome description of how to set up client-cert. It is extremely straight forward to follow.
Upvotes: 0
Reputation: 91871
@Peter Torok got the SecurityDomain annotation.
The WebContext replaces configuration in the jboss.xml in the EJB jar around deploying an EJB as a web service. However, that annotation is difficult if not impossible to fully express in xml. You can see this issue for more details.
Upvotes: 0
Reputation: 116266
@SecurityDomain
is equivalent to <security-domain>
in the META-INF/jboss.xml
file:
<jboss>
<security-domain>java:/jaas/other</security-domain>
</jboss>
See this page for more details.
For the other question, I found this page - hope I could help :-)
Upvotes: 2