Google Site Search

Google
 

Wednesday, January 13, 2010

Tip:: Use of "Java:/jaas" prefix in security-domain element

As of JBoss AS 5.0.0, the security domain configuration in jboss.xml and jboss-web.xml can just be the name of the security domain and the "java:/jaas" prefix is optional.

So the following:
================
<jboss>
<security­domain>java:/jaas/test-domain</security­domain>
</jboss>
===========

can be simplified as:
================
<jboss>
<security­domain>test-domain</security­domain>
</jboss>
===========

If there are issues, tell us via user forums.

No comments: