Harry Bugging created KARAF-2365:
------------------------------------
Summary: jaas:manage selects wrong configuration
Key: KARAF-2365
URL: https://issues.apache.org/jira/browse/KARAF-2365
Project: Karaf
Issue Type: Bug
Components: karaf-shell
Affects Versions: 2.3.1
Reporter: Harry Bugging
Priority: Minor
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 karaf
org.apache.karaf.jaas.modules.publickey.PublickeyLoginModule
3 myrealm
org.apache.karaf.jaas.modules.properties.PropertiesLoginModule
4 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
}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira