Examples

In the following example, the Operator role is associated to user user1, the Submitter role is associated to all users belonging to group1, and the Configurator role is associated to all users authenticated by the server:
<server>
         <enterpriseApplication id="SchedulerEAR">
         <application-bnd>
         <security-role id="adminRole" name="Administrator">
         <user access-id="${user.twsuser.id}" name="${user.twsuser.id}" />
         <run-as userid="${user.twsuser.id}" password="${user.twsuser.password}"/>
                                         
        </security-role>
        <security-role id="operatorRole" name="Operator">
        <user name=?user1?/>
                                        
        </security-role>
        <security-role id="submitterRole" name="Submitter">
        <group name=?group1?/>
                                        
        </security-role>
        <security-role id="configuratorRole" name="Configurator">                                  
        <special-subject type="ALL_AUTHENTICATED_USERS"/>
        </security-role>
        </application-bnd>
        </enterpriseApplication>