PropertiesLoginModule
This login module is the one configured by default. It uses a properties text file to load the users, passwords and roles from. This file uses the properties file format. The format of the properties are as follows, each line defining a user, its password and the associated roles: user=password[,role][,role]...
<jaas:config name="karaf">
<jaas:module className=
"org.apache.karaf.jaas.modules.properties.PropertiesLoginModule"
flags="required">
users = $[karaf.base]/etc/users.properties
</jaas:module>
</jaas:config>