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
You liked the article?
Like : 0
Vote for difficulty
Current difficulty (Avg): Medium
1/4
TekSlate is the best online training provider in delivering world-class IT skills to individuals and corporates from all parts of the globe. We are proven experts in accumulating every need of an IT skills upgrade aspirant and have delivered excellent services. We aim to bring you all the essentials to learn and master new technologies in the market with our articles, blogs, and videos. Build your career success with us, enhancing most in-demand skills in the market.
Stay Updated
Get stories of change makers and innovators from the startup ecosystem in your inbox