Class ResponseType

java.lang.Object
eu.europa.esig.saml.jaxb.protocol.StatusResponseType
eu.europa.esig.saml.jaxb.protocol.ResponseType

public class ResponseType extends StatusResponseType

Java class for ResponseType complex type.

The following schema fragment specifies the expected content contained within this class.

<complexType name="ResponseType">
  <complexContent>
    <extension base="{urn:oasis:names:tc:SAML:2.0:protocol}StatusResponseType">
      <choice maxOccurs="unbounded" minOccurs="0">
        <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}Assertion"/>
        <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}EncryptedAssertion"/>
      </choice>
    </extension>
  </complexContent>
</complexType>
  • Field Details

    • assertionOrEncryptedAssertion

      protected List<Object> assertionOrEncryptedAssertion
  • Constructor Details

    • ResponseType

      public ResponseType()
  • Method Details

    • getAssertionOrEncryptedAssertion

      public List<Object> getAssertionOrEncryptedAssertion()
      Gets the value of the assertionOrEncryptedAssertion property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a set method for the assertionOrEncryptedAssertion property.

      For example, to add a new item, do as follows:

         getAssertionOrEncryptedAssertion().add(newItem);
      

      Objects of the following type(s) are allowed in the list AssertionType EncryptedElementType