Interface Advice

All Superinterfaces:
XmlSerializable

@SupportedAll public interface Advice extends XmlSerializable
The Advice contains any additional information that the SAML authority wishes to provide. This information may be ignored by applications without affecting either the semantics or the validity of the assertion. An Advice contains a mixture of zero or more Assertion, EncryptedAssertion, AssertionIDRef, and AssertionURIRef.
  • Method Details

    • getAssertions

      List<Assertion> getAssertions()
      Returns a list of Assertion
      Returns:
      a list of Assertion
    • setAssertions

      void setAssertions(List<Assertion> assertions) throws com.sun.identity.saml2.common.SAML2Exception
      Sets a list of Assertion
      Parameters:
      assertions - a list of Assertion
      Throws:
      com.sun.identity.saml2.common.SAML2Exception - if the object is immutable
    • getAssertionIDRefs

      List<AssertionIDRef> getAssertionIDRefs()
      Returns a list of AssertionIDRef
      Returns:
      a list of AssertionIDRef
    • setAssertionIDRefs

      void setAssertionIDRefs(List<AssertionIDRef> idRefs) throws com.sun.identity.saml2.common.SAML2Exception
      Sets a list of AssertionIDRef
      Parameters:
      idRefs - a list of AssertionIDRef
      Throws:
      com.sun.identity.saml2.common.SAML2Exception - if the object is immutable
    • getAssertionURIRefs

      List getAssertionURIRefs()
      Returns a list of AssertionURIRef
      Returns:
      a list of AssertionURIRef
    • setAssertionURIRefs

      void setAssertionURIRefs(List uriRefs) throws com.sun.identity.saml2.common.SAML2Exception
      Sets a list of AssertionURIRef
      Parameters:
      uriRefs - a list of AssertionURIRef
      Throws:
      com.sun.identity.saml2.common.SAML2Exception - if the object is immutable
    • getEncryptedAssertions

      List<EncryptedAssertion> getEncryptedAssertions()
      Returns a list of EncryptedAssertion
      Returns:
      a list of EncryptedAssertion
    • setEncryptedAssertions

      void setEncryptedAssertions(List<EncryptedAssertion> encryptedAssertions) throws com.sun.identity.saml2.common.SAML2Exception
      Sets a list of EncryptedAssertion
      Parameters:
      encryptedAssertions - a list of EncryptedAssertion
      Throws:
      com.sun.identity.saml2.common.SAML2Exception - if the object is immutable
    • getAdditionalInfo

      List getAdditionalInfo()
      Returns a list of additional information
      Returns:
      a list of additional information
    • setAdditionalInfo

      void setAdditionalInfo(List info) throws com.sun.identity.saml2.common.SAML2Exception
      Sets a list of additional information
      Parameters:
      info - a list of additional information
      Throws:
      com.sun.identity.saml2.common.SAML2Exception - if the object is immutable
    • makeImmutable

      void makeImmutable()
      Makes the object immutable
    • isMutable

      boolean isMutable()
      Returns true if the object is mutable
      Returns:
      true if the object is mutable