Description
An user define a "custom" login module, for instance, in the blueprint descriptor of its own bundle:
<jaas:config name="karaf " rank="1">
<jaas:module className="org.apache.karaf.jaas.modules.jdbc.JDBCLoginModule" flags="required">
datasource = osgi:javax.sql.DataSource/(osgi.jndi.service.name=jdbc/karafdb)
query.password = SELECT PASSWORD FROM USERS WHERE USERNAME=?
query.role = SELECT ROLE FROM ROLES WHERE USERNAME=?
</jaas:module>
</jaas:config>
with a default Karaf instance (using Felix OSGi framework), the jaas:realms command shows the default PropertiesLoginModule and the user one.
However, if the user switch to Equinox OSGi framework, only the default PropertiesLoginModule is seen, not the user one when performing jaas:realms.