Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-9293

Methods 'replacing' and 'replacingSslContext' in AuthenticationContext work incorrectly

    XMLWordPrintable

Details

    Description

      According to their javadoc, these methods should replace the rule and configuration (or SSL context) at the given index with the given rule and configuration.

      In case when AuthenticationContext is defined with RuleNode - RuleA, RuleB, RuleC and RuleNode replacing method is called for index1 and RuleD, then:

      • correct behavior should be - new AuthenticationContext with rule ordered - RuleA, RuleD, RuleC is created
      • current behavior is - new AuthenticationContext with rule ordered - RuleD, RuleD, RuleB RuleC is created

      Behavior of these methods is correct only in case when they are called with index 0.

      Attachments

        Issue Links

          Activity

            People

              chaowan@redhat.com Chao Wang
              olukas Ondrej Lukas (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: