[6] Authorization
NOTE |
Starting with version 2020.0, mapping of administrators through Administrators.txt and AdministratorGroups.txt is no longer supported. The property access.administrator.groups should be used instead.
|
If the customer’s authentication method relied to the use of the Administrators.txt or AdministratorGroups.txt file, they can still do so by additionally using the tomcat-users.xml to replicate the usage of these administrator text files.
For example, in the tomcat-users.xml, they can assign groups from the administrator text files to specific users like this:
<user username="admin" password="admin" roles="role1,otherRole"/>
<user username="admin2" password="admin2" roles="role2"/>
Then in the Panopticon.propertiesfile, use the access.administrator.groups property to map the admins (i.e., admin and admin2) to the administrator groups by adding their roles:access.administrator.groups=role1,role2