Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-4242

allow empty values for Elytron security identity attributes

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • 8.0.0.Beta1, 8.0.0.Final
    • None
    • Security
    • None

    Description

      Security identity in Elytron can have attributes associated with it. Right now, when adding attribute through CLI, values must have a minimum length of 1 character. However, it makes sense to allow empty value for an attribute (e.g., for the case where some information is optional so we may not have all the values)

      Eg, right now, when adding attribute with empty string for a value through CLI:

      /subsystem=elytron/filesystem-realm=exampleRealm:add-identity-attribute(identity=example, name=Address, value=[""])

      will result in the following error:

      "WFLYCTL0113: '' is an invalid value for parameter value. Values must have a minimum length of 1 characters"

      Attachments

        Activity

          People

            dvilkola@redhat.com Diana Krepinska
            dvilkola@redhat.com Diana Krepinska
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: