Uploaded image for project: 'HAL'
  1. HAL
  2. HAL-1267

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

XMLWordPrintable

    • 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

      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

            cmiranda@redhat.com Claudio Miranda
            pjelinek@redhat.com Pavel Jelinek
            Pavel Jelinek Pavel Jelinek
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: