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

allow empty values for Elytron security identity attributes

XMLWordPrintable

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

      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"

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

                Created:
                Updated:
                Resolved: