You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Harry Bugging (JIRA)" <ji...@apache.org> on 2013/06/22 15:28:20 UTC
[jira] [Updated] (KARAF-2365) jaas:manage selects wrong
configuration
[ https://issues.apache.org/jira/browse/KARAF-2365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Harry Bugging updated KARAF-2365:
---------------------------------
Attachment: jaas_manage_index.patch
patch that resolves the issue, demonstrated by a unit test
> 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
> Attachments: jaas_manage_index.patch
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> 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