Security Domain - JBoss

Add to WEB-INF/jboss-web.xml:

  • <jboss-web>
  • <security-domain>java:/jaas/MyPolicy</security-domain>


Desired to gain proficiency on JBOSS?

Explore the blog post on JBOSS training to become a pro in JBOSS.

Default security domain is other, which authenticates against the properties files

Security domains declared in conf/login-config.xml are relative to java:/jaas/ JNDI context

For indepth understanding on JBoss click on: