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

When first editing PicketLink Federation key store wrong string is saved for mandatory attributes where user doesn't enter value

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.0.0.ER7
    • 7.0.0.ER1
    • Web Console
    • None
    • Hide
      1. Enable PicketLink Federation subsystem
        1. /extension=org.wildfly.extension.picketlink:add(module=org.wildfly.extension.picketlink)
        2. /subsystem=picketlink-federation:add()
        3. reload
      2. Create Federation (let's say new_fed) and identity provider
      3. Using Web Console go to Configuration > Subsystems > PicketLink > select new_fed and click View > Key Store
      4. Click edit but don't enter any value
      5. Click save
      6. using CLI enter /subsystem=picketlink-federation/federation=new_fed/key-store=key-store:read-resource
        You get
        {
            "outcome" => "success",
            "result" => {
                "file" => "undefined",
                "password" => "undefined",
                "relative-to" => undefined,
                "sign-key-alias" => "undefined",
                "sign-key-password" => "undefined",
                "key" => undefined
            }
        }
        
      Show
      Enable PicketLink Federation subsystem /extension=org.wildfly.extension.picketlink:add(module=org.wildfly.extension.picketlink) /subsystem=picketlink-federation:add() reload Create Federation (let's say new_fed) and identity provider Using Web Console go to Configuration > Subsystems > PicketLink > select new_fed and click View > Key Store Click edit but don't enter any value Click save using CLI enter /subsystem=picketlink-federation/federation=new_fed/key-store=key-store:read-resource You get { "outcome" => "success" , "result" => { "file" => "undefined" , "password" => "undefined" , "relative-to" => undefined, "sign-key-alias" => "undefined" , "sign-key-password" => "undefined" , "key" => undefined } }

      Instead of some validation warning or error when user doesn't enter mandatory attribute values, the key-store is created with "undefined" strings as values of these attributes.

              thofman Tomas Hofman
              pjelinek@redhat.com Pavel Jelinek
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: