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

jaas:manage selects wrong configuration

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3.1
    • Fix Version/s: 2.3.2, 2.4.0, 3.0.0
    • Component/s: karaf
    • Labels:
      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

          Activity

            People

            • Assignee:
              jbonofre Jean-Baptiste Onofré
              Reporter:
              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