Brian:

Add the following to orion/config/principals.xml:

<principals>
        <groups>
                <group name="gold_customer">
                        <description>gold_customer</description>
                        <permission name="rmi:login" />
                        <permission name="com.evermind.server.rmi.RMIPermission" />
                </group>
                <group name="customer">
                        <description>customer</description>
                        <permission name="rmi:login" />
                        <permission name="com.evermind.server.rmi.RMIPermission" />
                </group>
        </groups>
        <users>
                <user username="kkalvar" password="kkalvar">
                        <group-membership group="gold_customer" />
                </user>
                <user username="j2ee" password="j2ee">
                        <group-membership group="gold_customer" />
                </user>
        </users>
</principals>


Note:  When you add a new user it will automatically place the correct
"group-membership" in the user tag, if they're added to the database already
you'll have to do it manually.  Works good!


Kirk S. Kalvar


Reply via email to