Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-2365

jaas:manage selects wrong configuration

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.3.1
    • 2.3.2, 2.4.0, 3.0.0
    • karaf
    • None

    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
      

      Attachments

        1. jaas_manage_index.patch
          6 kB
          Harry Bugging

        Activity

          People

            jbonofre Jean-Baptiste Onofré
            bugging.harry Harry Bugging
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified