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

Not possible to either add or remove mechanism-configurations of SASL Authentication

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.1.0.DR11
    • 7.1.0.DR10
    • Web Console
    • None
    • Hide
      • start EAP in standalone mode with Elytron subsystem enabled
      • create sasl-authentication-factory
      • using web console navigate Configuration: Subsystems > Subsystem: Security - Elytron > Settings: Factory > SASL Authentication
      • select created sasl-authentication-factory and switch to Mechanism Configurations tab
      • try to add new configurationg
      Show
      start EAP in standalone mode with Elytron subsystem enabled create sasl-authentication-factory using web console navigate Configuration: Subsystems > Subsystem: Security - Elytron > Settings: Factory > SASL Authentication select created sasl-authentication-factory and switch to Mechanism Configurations tab try to add new configurationg

    Description

      Not possible to add the configuration since

      Unexpected HTTP response: 500
      
      Request
      {
          "operation" => "list-add",
          "address" => [
              ("subsystem" => "elytron"),
              ("http-authentication-factory" => "test")
          ],
          "name" => "mechanism-configurations",
          "value" => {
              "mechanism-name" => "test",
              "host-name" => "test"
          }
      }
      
      Response
      
      Internal Server Error
      {
          "outcome" => "failed",
          "rolled-back" => true
      }
      

      If user add the configuration using CLI and then tries to remove it using console it's again not possible due to

      Request
      {
          "operation" => "list-remove",
          "address" => [
              ("subsystem" => "elytron"),
              ("http-authentication-factory" => "test")
          ],
          "name" => "mechanism-configurations",
          "value" => {
              "mechanism-name" => "test",
              "host-name" => "test"
          }
      }
      
      Response
      
      Internal Server Error
      {
          "outcome" => "failed",
          "rolled-back" => true
      }
      

      Both these errors are caused by console using http-authentication-factory instead of sasl-authentication-factory

      Attachments

        Issue Links

          Activity

            People

              hpehl@redhat.com Harald Pehl
              pjelinek@redhat.com Pavel Jelinek
              Pavel Jelinek Pavel Jelinek
              Pavel Jelinek Pavel Jelinek
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: