### Example user role configuration

To be able to test the Role Security Test Portlet one or more users should be assigned the role of `admin`, `manager` and/or `user`.

At this moment, only the default Tomcat MemoryRealm has been tested. For this realm, users and their roles are defined in tomcat/conf/tomcat-users.xml.

An example tomcat-users.xml for testing this portlet might look like:

        <?xml version='1.0' encoding='utf-8'?>
        <tomcat-users>
          <role rolename="user"/>
          <role rolename="manager"/>
          <role rolename="admin"/>
          <role rolename="tomcat"/>
          <user username="tomcat"  password="tomcat"  roles="tomcat"/>
          <user username="user"    password="user"    roles="user"/>
          <user username="manager" password="manager" roles="manager,user"/>
          <user username="admin"   password="admin"   roles="admin,manager,user"/>
        </tomcat-users>