WSS4J
  1. WSS4J
  2. WSS-295

org.apache.ws.security.saml.ext.bean.AttributeBean attributeValues is not correct

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.6
    • Fix Version/s: 1.6.2
    • Component/s: WSS4J Core, WSS4J Handlers
    • Labels:
    • Environment:
      Eclipse, Maven, Tomcat, Glassfish

      Description

      org.apache.ws.security.saml.ext.bean.AttributeBean has the attributeValues defined as below:
      private List<String> attributeValues;
      AttributeStatement can have an attribute, whose value may not be strng.
      As per the SAML2Core specification Attribute Value is defined as below:
      <element name="AttributeValue" type="anyType" nillable="true" />
      Hence the dataType of attributeValues needs to be changed from String to XMLObject.

      1. Saml2ComponentBuilder.java
        28 kB
        Srinivasa Kukatla
      2. AttributeBean.java
        5 kB
        Srinivasa Kukatla

        Activity

        Hide
        Srinivasa Kukatla added a comment -

        Updated createAttribute methods in Saml2ComponentBuilder

        Show
        Srinivasa Kukatla added a comment - Updated createAttribute methods in Saml2ComponentBuilder
        Hide
        Srinivasa Kukatla added a comment -

        Please find the attached AttributeBean.java source file.

        Show
        Srinivasa Kukatla added a comment - Please find the attached AttributeBean.java source file.

          People

          • Assignee:
            Colm O hEigeartaigh
            Reporter:
            Srinivasa Kukatla
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development