Class FSAuthnResponseEnvelope


  • @Deprecated
    public class FSAuthnResponseEnvelope
    extends Object
    Deprecated.
    since 12.0.0
    This class defines methods for setting and retrieving attributes and elements associated with a Liberty Response .
    • Constructor Detail

      • FSAuthnResponseEnvelope

        public FSAuthnResponseEnvelope()
        Deprecated.
        Default Constructor.
      • FSAuthnResponseEnvelope

        public FSAuthnResponseEnvelope​(FSAuthnResponse authnResponse)
        Deprecated.
        Constructor create FSAuthnResponseEnvelope object.
        Parameters:
        authnResponse - the FSAuthnResponse object.
      • FSAuthnResponseEnvelope

        public FSAuthnResponseEnvelope​(Element root)
                                throws FSMsgException,
                                       SAMLException
        Deprecated.
        Constructor create FSAuthnResponseEnvelope object.
        Parameters:
        root - the Document element .
        Throws:
        FSMsgException - if there is an error creating the object.
        SAMLException - if there is an error creating the object.
    • Method Detail

      • getMinorVersion

        public int getMinorVersion()
        Deprecated.
        Returns the value of MinorVersion attribute.
        Returns:
        the value of MinorVersion attribute.
        See Also:
        setMinorVersion(int)
      • setMinorVersion

        public void setMinorVersion​(int minorVersion)
        Deprecated.
        Sets the value of MinorVersion attribute.
        Parameters:
        minorVersion - the MinorVersion attribute.
      • getOtherElements

        public List getOtherElements()
        Deprecated.
        Returns a list of elements.
        Returns:
        list of elements.
        See Also:
        setOtherElements(List)
      • setOtherElements

        public void setOtherElements​(List otherElement)
        Deprecated.
        Sets a list of elements.
        Parameters:
        otherElement - a list of elements.
        See Also:
        getOtherElements()
      • setAuthnResponse

        public void setAuthnResponse​(FSAuthnResponse authnResponse)
        Deprecated.
        Sets the FSAuthnResponse object.
        Parameters:
        authnResponse - the FSAuthnResponse object.
        See Also:
        getAuthnResponse()
      • getAssertionConsumerServiceURL

        public String getAssertionConsumerServiceURL()
        Deprecated.
        Returns the Assertion Consumer Service URL.
        Returns:
        the Assertion Consumer Service URL.
        See Also:
        setAssertionConsumerServiceURL(String)
      • setAssertionConsumerServiceURL

        public void setAssertionConsumerServiceURL​(String assertionConsumerUrl)
        Deprecated.
        Sets the Assertion Consumer Service URL.
        Parameters:
        assertionConsumerUrl - the Assertion Consumer Service Identifier.
        See Also:
        getAssertionConsumerServiceURL()
      • parseXML

        public static FSAuthnResponseEnvelope parseXML​(String xml)
                                                throws FSMsgException
        Deprecated.
        Returns the FSAuthnResponseEnvelope object.
        Parameters:
        xml - the XML string to create this object from
        Returns:
        FSAuthnResponseEnvelope object.
        Throws:
        FSMsgException - if there is error creating the object.
      • toXMLString

        public String toXMLString()
                           throws FSMsgException
        Deprecated.
        Returns XML document String for this object based on the Response Schema.
        Returns:
        XML String representing the Response
        Throws:
        FSMsgException - if there is an error.
      • toXMLString

        public String toXMLString​(boolean includeNS,
                                  boolean declareNS)
                           throws FSMsgException
        Deprecated.
        Creates a String representation of the Response object.
        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 containing the valid XML for this element.
        Throws:
        FSMsgException - if there is an error.
      • toXMLString

        public String toXMLString​(boolean includeNS,
                                  boolean declareNS,
                                  boolean includeHeader)
                           throws FSMsgException
        Deprecated.
        Creates a String representation of the Response object.
        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.
        includeHeader - Determines whether the output include the xml declaration header.
        Returns:
        a string containing the valid XML for this object.
        Throws:
        FSMsgException - if there is an error.
      • toBASE64EncodedString

        public String toBASE64EncodedString()
                                     throws FSMsgException
        Deprecated.
        Returns a Base64 Encoded String.
        Returns:
        a Base64 Encoded String.
        Throws:
        FSMsgException - if there is an error encoding the string.
      • parseBASE64EncodedString

        public static FSAuthnResponseEnvelope parseBASE64EncodedString​(String encodedReq)
                                                                throws FSMsgException
        Deprecated.
        Returns FSAuthnResponseEnvelope object. The object is creating by parsing the Base64 encoded XML string.
        Parameters:
        encodedReq - the Based64 encoded XML string.
        Throws:
        FSMsgException - if there is an error creating FSAuthnResponseEnvelope object.