Description
jaas:manage --index 1 always selects the first AppConfigurationEntry of the last realm.
Example:
karaf@root> realms
Index Realm Module Class
1 karaf org.apache.karaf.jaas.modules.properties.PropertiesLoginModule
2 ldap_realm org.apache.karaf.jaas.modules.ldap.LDAPLoginModule
karaf@root> manage --index 1
karaf@root> pending
JAAS Realm ldap_realm/JAAS Login Module org.apache.karaf.jaas.modules.ldap.LDAPLoginModule
No JAAS pending modification