Class AssertionIDReference


  • @SupportedAll
    public class AssertionIDReference
    extends Object
    AssertionIDReference element makes reference to a SAML assertion.
    • Field Detail

      • assertionID

        protected String assertionID
    • Constructor Detail

      • AssertionIDReference

        public AssertionIDReference​(Element element)
                             throws SAMLException
        Constructs an AssertionIDReference element from an existing XML block.
        Parameters:
        element - representing a DOM tree element.
        Throws:
        SAMLException - if there is an error in the sender or in the element definition.
      • AssertionIDReference

        public AssertionIDReference()
        Default constructor
      • AssertionIDReference

        public AssertionIDReference​(String id)
        Constructs of AssertionIDReference.
        Parameters:
        id - A String representing an existing assertion id.
    • Method Detail

      • getAssertionIDReference

        public String getAssertionIDReference()
        Returns a String representing the Assertion id.
        Returns:
        A string representation of the assertion id.
      • toString

        public String toString()
        Translates the AssertionID to an XML String,
        Overrides:
        toString in class Object
        Returns:
        A String representing the AssertionID
      • toString

        public String toString​(boolean includeNS,
                               boolean declareNS)
        Returns a String representation of the AssertionIDReference element.
        Parameters:
        includeNS - Determines whether or not the namespace qualifier is prepended to the Element when converted
        declareNS - Determines whether or not the namespace is declared within the Element.
        Returns:
        A string representation of the <saml:AssertionIDReference> element.