Security Domain - JBoss

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

<jboss-web>

<security-domain>java:/jaas/MyPolicy</security-domain>

</jboss-web>

To enrich your career and become a JBoss professional, visit Tekslate, the global online training platform:" JBoss Training". This course will help you achieve excellence in this field.

The 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 an in-depth understanding on JBoss click on: