3 Replies Latest reply on Oct 26, 2012 10:07 AM by michel777

    Differences between PropertiesMgmtSecurityRealm and ManagementRealm

    lauradp

      Hello everybody,

      I'd like to know the differences between PropertiesMgmtSecurityRealm and ManagementRealm.

      I'd like to access jBpm Console using the ManagementRealm in order to access jBpm Console  and JBoss Manegement console using the same user.

       

      Can anyone help me?

       

      Laura

        • 1. Re: Differences between PropertiesMgmtSecurityRealm and ManagementRealm
          michel777

          Hello Laura

          It's seems that ManagementRealm replaces PropertiesMgmtSecurityRealm as shown in this link

          https://github.com/jboss-switchyard/release/pull/105/files

          • 2. Re: Differences between PropertiesMgmtSecurityRealm and ManagementRealm
            lauradp

            You mean that I can use this configuration?

             

            <management>

                    <security-realms>

                        <security-realm name="ManagementRealm">

                            <authentication>

                                <properties path="mgmt-users.properties" relative-to="jboss.server.config.dir"/>

                            </authentication>

                        </security-realm>

                        <security-realm name="ApplicationRealm">

                            <authentication>

                                <properties path="application-users.properties" relative-to="jboss.server.config.dir"/>

                            </authentication>

                        </security-realm>

                    </security-realms>

                    <management-interfaces>

                        <native-interface security-realm="ManagementRealm">

                            <socket-binding native="management-native"/>

                        </native-interface>

                        <http-interface security-realm="ManagementRealm">

                            <socket-binding http="management-http"/>

                        </http-interface>

                    </management-interfaces>

                </management>

            • 3. Re: Differences between PropertiesMgmtSecurityRealm and ManagementRealm
              michel777

              It's the default configuration in JBoss AS7.1.1Final and if a user is defined in mgmt-users.properties (cf add-user.sh) then that works fine.