karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harry Bugging (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (KARAF-2365) jaas:manage selects wrong configuration
Date Sat, 22 Jun 2013 13:28:20 GMT

     [ 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

Mime
View raw message