Skip to main content

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>

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!