How to authenticate management user using alternative properties file?

Solution Verified - Updated -

Issue

  • could you explain if it is possible to allow EAP to use an alternative mgmt-users.properties file as default on startup?

I have tried changing the path in the standalone.xml as follows:

<management>
       <security-realms>
            <security-realm name="ManagementRealm">
                <authentication>
                    <local default-user="$local" skip-group-loading="true"/>
                    <properties path=":/mgmt-users.properties"/>
                </authentication>
           ...
          </security-realm>

but this doesn't seem to pick up users in that alternate file.

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.x
    • 7.0

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