Security: User Authentication

Roboconf is based on Apache Karaf.
Therefore, it reuses the security mechanisms available in Karaf.

Apache Karaf uses JAAS to manage realms.
A realm is a mechanism to authenticate users. It allows to associate a user and a password. Every realm knows about the roles associated with a given user. A realm relies on a data source. There are many possible data sources in Karaf, including LDAP registries, databases and even Apache Syncope.

# Log into Karaf
./client -u user -p password

# List realms
jaas:realm-list

In Roboconf 0.8, it displays…

Index | Realm Name | Login Module Class Name
-----------------------------------------------------------------------------------
1     | karaf      | org.apache.karaf.jaas.modules.properties.PropertiesLoginModule
2     | karaf      | org.apache.karaf.jaas.modules.publickey.PublickeyLoginModule
3     | karaf      | org.apache.karaf.jaas.modules.audit.FileAuditLoginModule
4     | karaf      | org.apache.karaf.jaas.modules.audit.LogAuditLoginModule
5     | karaf      | org.apache.karaf.jaas.modules.audit.EventAdminAuditLoginModule

The karaf realm comes with many login modules.

You may want to read these links for more information.
On Karaf’s web site:

On Roboconf’s web site: