isCOBOL WebClient : Configuring Users : Reading users from a property file
Reading users from a property file
In order to configure users via property file, set the Security Module Name field to "org.webswing.security.modules.property.PropertySecurityModule".
A new section named Security Module Config appears. This section includes only one field named File, that allows you to provide the location of the property file (by default a file named user.properties is searched in the WebClient working directory).
Each line in that file defines a user. The syntax is:
user.<username>=<password>[,role1][,role2]
For example:
user.admin=admin,admin
user.support=support,support
user.user=user