Class 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">
         <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"/>
    • Field Detail

      • assertionOrEncryptedAssertion

        protected List<Object> assertionOrEncryptedAssertion
    • Constructor Detail

      • ResponseType

        public ResponseType()
    • Method Detail

      • 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 JAXB object. This is why there is not a set method for the assertionOrEncryptedAssertion property.

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


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