# 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](http://download.oracle.com/javase/6/docs/api/java/util/Properties.html#load%28java.io.Reader%29) 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>
```