Getting log message JBWEB001038 after defining <security-role> in EAP
Issue
- Getting rid of this message in the server log:
JBWEB001038 Security role name EXAMPLE_ROLE used in an <auth-constraint> without being defined in a <security-role>- Security roles are defined as follows:
<security-role>
<role-name>EXAMPLE-ROLEN</role-name>
<role-name>ANOTHER-ROLE</role-name>
</security-role>
Environment
- Red Hat JBoss Enterprise Application Platform (EAP) 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.