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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content