Getting log message JBWEB001038 after defining <security-role> in EAP

Solution Unverified - Updated -

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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.